9#ifndef LLVM_DEBUGINFO_CODEVIEW_TYPERECORDHELPERS_H
10#define LLVM_DEBUGINFO_CODEVIEW_TYPERECORDHELPERS_H
31 case TypeLeafKind::LF_FUNC_ID:
32 case TypeLeafKind::LF_MFUNC_ID:
33 case TypeLeafKind::LF_STRING_ID:
34 case TypeLeafKind::LF_SUBSTR_LIST:
35 case TypeLeafKind::LF_BUILDINFO:
36 case TypeLeafKind::LF_UDT_SRC_LINE:
37 case TypeLeafKind::LF_UDT_MOD_SRC_LINE:
CVRecord< TypeLeafKind > CVType
bool isUdtForwardRef(CVType CVT)
Given an arbitrary codeview type, determine if it is an LF_STRUCTURE, LF_CLASS, LF_INTERFACE,...
bool isIdRecord(TypeLeafKind K)
Return true if this record should be in the IPI stream of a PDB.
TypeLeafKind
Duplicate copy of the above enum, but using the official CV names.
bool isAggregate(CVType CVT)
Given an arbitrary codeview type, determine if it is an LF_STRUCTURE, LF_CLASS, LF_INTERFACE,...
uint64_t getSizeInBytesForTypeRecord(CVType CVT)
Given an arbitrary codeview type, return the type's size in the case of aggregate (LF_STRUCTURE,...
uint64_t getSizeInBytesForTypeIndex(TypeIndex TI)
Given an arbitrary codeview type index, determine its size.
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...
This is an optimization pass for GlobalISel generic memory operations.