Home
last modified time | relevance | path

Searched refs:DICompositeType (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h255 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices;
259 SmallVector<const DICompositeType *, 4> DeferredCompleteTypes;
390 const DICompositeType *Class);
402 codeview::TypeIndex lowerTypeArray(const DICompositeType *Ty);
417 codeview::TypeIndex lowerTypeEnum(const DICompositeType *Ty);
418 codeview::TypeIndex lowerTypeClass(const DICompositeType *Ty);
419 codeview::TypeIndex lowerTypeUnion(const DICompositeType *Ty);
428 codeview::TypeIndex lowerCompleteTypeClass(const DICompositeType *Ty);
429 codeview::TypeIndex lowerCompleteTypeUnion(const DICompositeType *Ty);
436 ClassInfo collectClassInfo(const DICompositeType *Ty);
[all …]
H A DDwarfUnit.h287 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy);
298 DIE *createTypeDIE(const DICompositeType *Ty);
321 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy);
322 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy);
340 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0;
359 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DCodeViewDebug.cpp291 if (const auto *Ty = dyn_cast<DICompositeType>(Scope)) in collectParentScopeNames()
413 static bool isNonTrivial(const DICompositeType *DCTy) { in isNonTrivial()
1541 return lowerTypeArray(cast<DICompositeType>(Ty)); in lowerType()
1570 return lowerTypeEnum(cast<DICompositeType>(Ty)); in lowerType()
1573 return lowerTypeClass(cast<DICompositeType>(Ty)); in lowerType()
1575 return lowerTypeUnion(cast<DICompositeType>(Ty)); in lowerType()
2220 const DICompositeType *DCTy = dyn_cast<DICompositeType>(Ty); in collectMemberInfo()
2598 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex()
2649 SmallVector<const DICompositeType *, 4> TypesToEmit; in emitDeferredCompleteTypes()
2652 for (const DICompositeType *RecordTy : TypesToEmit) in emitDeferredCompleteTypes()
[all …]
H A DDwarfUnit.cpp553 DIE *DwarfUnit::createTypeDIE(const DICompositeType *Ty) { in createTypeDIE()
563 constructTypeDIE(TyDIE, cast<DICompositeType>(Ty)); in createTypeDIE()
582 else if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in createTypeDIE()
633 if (auto *CT = dyn_cast<DICompositeType>(Ty)) { in updateAcceleratorTables()
836 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructTypeDIE()
917 } else if (auto *Composite = dyn_cast<DICompositeType>(Element)) { in constructTypeDIE()
1402 static bool hasVectorBeenPadded(const DICompositeType *CTy) { in hasVectorBeenPadded()
1428 void DwarfUnit::constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructArrayTypeDIE()
1502 void DwarfUnit::constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructEnumTypeDIE()
1812 void DwarfTypeUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE()
H A DDwarfDebug.h347 std::pair<std::unique_ptr<DwarfTypeUnit>, const DICompositeType *>, 1>
664 DIE &Die, const DICompositeType *CTy);
H A DDwarfCompileUnit.h107 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DDebugHandlerBase.cpp183 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType()
H A DDwarfCompileUnit.cpp906 auto *Array = dyn_cast<DICompositeType>(Var->getType()); in dependencies()
1530 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE()
H A DDwarfDebug.cpp3343 const DICompositeType *CTy) { in addDwarfTypeUnitType()
3413 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy)); in addDwarfTypeUnitType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.h100 const DICompositeType *ETy;
104 BTFTypeEnum(const DICompositeType *ETy, uint32_t NumValues);
125 const DICompositeType *STy;
130 BTFTypeStruct(const DICompositeType *STy, bool IsStruct, bool HasBitField,
290 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
292 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
293 void visitStructType(const DICompositeType *STy, bool IsStruct,
295 void visitArrayType(const DICompositeType *ATy, uint32_t &TypeId);
296 void visitEnumType(const DICompositeType *ETy, uint32_t &TypeId);
H A DBPFAbstractMemberAccess.cpp170 uint32_t GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy,
447 const auto *PTy = dyn_cast<DICompositeType>(PType); in IsValidAIChain()
448 const auto *CTy = dyn_cast<DICompositeType>(CType); in IsValidAIChain()
471 return dyn_cast<DICompositeType>(stripQualifiers(Ty)) == CTy; in IsValidAIChain()
608 DICompositeType *CTy, in GetFieldInfo()
669 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy); in GetFieldInfo()
820 if (const auto *CTy = dyn_cast<DICompositeType>(Ty)) { in computeBaseAndAccessKey()
834 CTy = dyn_cast<DICompositeType>(BaseTy); in computeBaseAndAccessKey()
846 auto *CTy = dyn_cast<DICompositeType>(BaseTy); in computeBaseAndAccessKey()
900 auto *CTy = cast<DICompositeType>(stripQualifiers(cast<DIType>(MDN))); in computeBaseAndAccessKey()
[all …]
H A DBTFDebug.cpp155 BTFTypeEnum::BTFTypeEnum(const DICompositeType *ETy, uint32_t VLen) : ETy(ETy) { in BTFTypeEnum()
224 BTFTypeStruct::BTFTypeStruct(const DICompositeType *STy, bool IsStruct, in BTFTypeStruct()
479 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, in visitStructType()
506 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { in visitArrayType()
545 void BTFDebug::visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) { in visitEnumType()
557 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType()
564 void BTFDebug::visitCompositeType(const DICompositeType *CTy, in visitCompositeType()
593 if (const auto *CTy = dyn_cast<DICompositeType>(Base)) { in visitDerivedType()
674 else if (const auto *CTy = dyn_cast<DICompositeType>(Ty)) in visitTypeEntry()
704 const auto *CTy = dyn_cast<DICompositeType>(Ty); in visitMapDefType()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h388 DICompositeType *createClassType(
406 DICompositeType *createStructType(
423 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
444 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
511 DICompositeType *createArrayType(
523 DICompositeType *createVectorType(uint64_t Size, uint32_t AlignInBits,
538 DICompositeType *createEnumerationType(
577 DICompositeType *createForwardDecl(unsigned Tag, StringRef Name,
585 DICompositeType *createReplaceableCompositeType(
917 void replaceVTableHolder(DICompositeType *&T,
[all …]
H A DDebugInfoFlags.def34 // Used to be BlockByRef, can be reused for anything except DICompositeType.
H A DMetadata.def93 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType)
H A DDebugInfoMetadata.h1051 class DICompositeType : public DIType {
1057 DICompositeType(LLVMContext &C, StorageType Storage, unsigned Tag, in DICompositeType() function
1064 ~DICompositeType() = default;
1076 static DICompositeType *
1092 static DICompositeType *
1114 DICompositeType,
1127 DICompositeType,
1149 static DICompositeType *
1158 static DICompositeType *getODRTypeIfExists(LLVMContext &Context,
1170 static DICompositeType *
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp459 DICompositeType *DIBuilder::createClassType( in createClassType()
467 auto *R = DICompositeType::get( in createClassType()
481 auto *R = DICompositeType::get( in createStructType()
489 DICompositeType *DIBuilder::createUnionType( in createUnionType()
493 auto *R = DICompositeType::get( in createUnionType()
505 auto *R = DICompositeType::get( in createVariantPart()
523 auto *CTy = DICompositeType::get( in createEnumerationType()
551 auto *R = DICompositeType::get( in createArrayType()
613 DICompositeType *
620 auto *RetTy = DICompositeType::get( in createForwardDecl()
[all …]
H A DDebugInfoMetadata.cpp597 DICompositeType *DICompositeType::getImpl( in getImpl()
609 DICompositeType, in getImpl()
617 DEFINE_GETIMPL_STORE(DICompositeType, (Tag, Line, RuntimeLang, SizeInBits, in getImpl()
622 DICompositeType *DICompositeType::buildODRType( in buildODRType()
635 return CT = DICompositeType::getDistinct( in buildODRType()
661 DICompositeType *DICompositeType::getODRType( in getODRType()
674 CT = DICompositeType::getDistinct( in getODRType()
682 DICompositeType *DICompositeType::getODRTypeIfExists(LLVMContext &Context, in getODRTypeIfExists()
H A DLLVMContextImpl.h509 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
541 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
551 template <> struct MDNodeKeyImpl<DICompositeType> {
588 MDNodeKeyImpl(const DICompositeType *N)
602 bool isKeyOf(const DICompositeType *RHS) const {
745 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
781 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
1387 Optional<DenseMap<const MDString *, DICompositeType *>> DITypeMap;
H A DDebugInfo.cpp217 if (auto *DCT = dyn_cast<DICompositeType>(DT)) { in processType()
H A DVerifier.cpp1042 auto *Enum = dyn_cast_or_null<DICompositeType>(T); in visitDIDerivedType()
1085 void Verifier::visitDICompositeType(const DICompositeType &N) { in visitDICompositeType()
1204 auto *Enum = dyn_cast_or_null<DICompositeType>(Op); in visitDICompileUnit()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h70 llvm::DICompositeType *ObjTy = nullptr;
192 llvm::DICompositeType *CreateLimitedType(const RecordType *Ty);
194 llvm::DICompositeType *CT);
331 llvm::DICompositeType *RecordTy);
589 llvm::DICompositeType *getOrCreateRecordFwdDecl(const RecordType *,
628 llvm::DICompositeType *getOrCreateLimitedType(const RecordType *Ty);
H A DCGDebugInfo.cpp1059 llvm::DICompositeType *
1064 return cast<llvm::DICompositeType>(T); in getOrCreateRecordFwdDecl()
1519 llvm::DICompositeType *RecordTy) { in CollectRecordFields()
2448 llvm::DICompositeType *FwdDecl = getOrCreateLimitedType(Ty); in CreateTypeDefinition()
3361 llvm::DICompositeType *
3374 llvm::DICompositeType *Res = CreateLimitedType(Ty); in getOrCreateLimitedType()
3404 auto *T = cast_or_null<llvm::DICompositeType>( in CreateLimitedType()
3479 llvm::DICompositeType *ContainingType = nullptr; in CollectContainingType()
3491 ContainingType = cast<llvm::DICompositeType>( in CollectContainingType()
5073 llvm::DICompositeType *InterfaceDecl = in finalize()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp123 SmallDenseMap<MDString *, DICompositeType *, 1> Final;
124 SmallDenseMap<MDString *, DICompositeType *, 1> FwdDecls;
187 void addTypeRef(MDString &UUID, DICompositeType &CT);
277 if (DICompositeType *CT = OldTypeRefs.Final.lookup(Ref.first)) in tryToResolveCycles()
304 DICompositeType &CT) { in addTypeRef()
1524 DICompositeType *CT = nullptr; in parseOneMetadata()
1526 CT = DICompositeType::buildODRType( in parseOneMetadata()
1534 CT = GET_OR_DISTINCT(DICompositeType, in parseOneMetadata()
1541 MetadataList.addTypeRef(*Identifier, *cast<DICompositeType>(CT)); in parseOneMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp127 if (auto *CT = dyn_cast<DICompositeType>(T)) { in printModuleDebugInfo()

12