21 if (
auto EC = TypeDeserializer::deserializeAs<RecordT>(CVT, Record)) {
25 return Record.getOptions();
34 UdtOptions = getUdtOptions<ClassRecord>(std::move(CVT));
37 UdtOptions = getUdtOptions<EnumRecord>(std::move(CVT));
40 UdtOptions = getUdtOptions<UnionRecord>(std::move(CVT));
void discoverTypeIndices(ArrayRef< uint8_t > RecordData, SmallVectorImpl< TiReference > &Refs)
This class represents lattice values for constants.
bool isUdtForwardRef(CVType CVT)
Given an arbitrary codeview type, determine if it is an LF_STRUCTURE, LF_CLASS, LF_INTERFACE, LF_UNION, or LF_ENUM with the forward ref class option.
TypeIndex getModifiedType(const CVType &CVT)
Given a CVType which is assumed to be an LF_MODIFIER, return the TypeIndex of the type that the LF_MO...
static ClassOptions getUdtOptions(CVType CVT)
void consumeError(Error Err)
Consume a Error without doing anything.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())