Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.h102 const DICompositeType *ETy;
106 BTFTypeEnum(const DICompositeType *ETy, uint32_t NumValues, bool IsSigned);
127 const DICompositeType *STy;
132 BTFTypeStruct(const DICompositeType *STy, bool IsStruct, bool HasBitField,
223 const DICompositeType *ETy;
306 std::map<const DICompositeType *,
329 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
331 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
332 void visitStructType(const DICompositeType *STy, bool IsStruct,
334 void visitArrayType(const DICompositeType *ATy, uint32_t &TypeId);
[all …]
H A DBPFAbstractMemberAccess.cpp155 std::map<DICompositeType *, DIDerivedType *> AnonRecords;
178 uint32_t GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy,
223 if (auto Ty = dyn_cast<DICompositeType>(CInfo.Metadata)) { in ResetMetadata()
271 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) in CheckAnonRecordType()
515 const auto *PTy = dyn_cast<DICompositeType>(PType); in IsValidAIChain()
516 const auto *CTy = dyn_cast<DICompositeType>(CType); in IsValidAIChain()
742 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy); in GetFieldInfo()
893 if (const auto *CTy = dyn_cast<DICompositeType>(Ty)) { in computeBaseAndAccessKey()
907 CTy = dyn_cast<DICompositeType>(BaseTy); in computeBaseAndAccessKey()
919 auto *CTy = dyn_cast<DICompositeType>(BaseTy); in computeBaseAndAccessKey()
[all …]
H A DBTFDebug.cpp167 BTFTypeEnum::BTFTypeEnum(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum()
206 BTFTypeEnum64::BTFTypeEnum64(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum64()
279 BTFTypeStruct::BTFTypeStruct(const DICompositeType *STy, bool IsStruct, in BTFTypeStruct()
661 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, in visitStructType()
764 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType()
771 void BTFDebug::visitCompositeType(const DICompositeType *CTy, in visitCompositeType()
787 if (const auto *CTy = dyn_cast<DICompositeType>(Base)) { in IsForwardDeclCandidate()
816 auto &Fixup = FixupDerivedTypes[cast<DICompositeType>(Base)]; in visitDerivedType()
926 else if (const auto *CTy = dyn_cast<DICompositeType>(Ty)) in visitTypeEntry()
956 const auto *CTy = dyn_cast<DICompositeType>(Ty); in visitMapDefType()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h289 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices;
293 SmallVector<const DICompositeType *, 4> DeferredCompleteTypes;
428 const DICompositeType *Class);
440 codeview::TypeIndex lowerTypeArray(const DICompositeType *Ty);
456 codeview::TypeIndex lowerTypeEnum(const DICompositeType *Ty);
457 codeview::TypeIndex lowerTypeClass(const DICompositeType *Ty);
458 codeview::TypeIndex lowerTypeUnion(const DICompositeType *Ty);
467 codeview::TypeIndex lowerCompleteTypeClass(const DICompositeType *Ty);
468 codeview::TypeIndex lowerCompleteTypeUnion(const DICompositeType *Ty);
475 ClassInfo collectClassInfo(const DICompositeType *Ty);
[all …]
H A DDwarfUnit.h300 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy);
314 DIE *createTypeDIE(const DICompositeType *Ty);
337 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy);
338 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy);
356 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0;
379 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DCodeViewDebug.cpp288 if (const auto *Ty = dyn_cast<DICompositeType>(Scope)) in collectParentScopeNames()
419 static bool isNonTrivial(const DICompositeType *DCTy) { in isNonTrivial()
1664 return lowerTypeArray(cast<DICompositeType>(Ty)); in lowerType()
1693 return lowerTypeEnum(cast<DICompositeType>(Ty)); in lowerType()
1696 return lowerTypeClass(cast<DICompositeType>(Ty)); in lowerType()
1698 return lowerTypeUnion(cast<DICompositeType>(Ty)); in lowerType()
2380 const DICompositeType *DCTy = dyn_cast<DICompositeType>(Ty); in collectMemberInfo()
2758 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex()
2809 SmallVector<const DICompositeType *, 4> TypesToEmit; in emitDeferredCompleteTypes()
2812 for (const DICompositeType *RecordTy : TypesToEmit) in emitDeferredCompleteTypes()
[all …]
H A DDwarfUnit.cpp559 DIE *DwarfUnit::createTypeDIE(const DICompositeType *Ty) { in createTypeDIE()
569 constructTypeDIE(TyDIE, cast<DICompositeType>(Ty)); in createTypeDIE()
588 else if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in createTypeDIE()
637 if (auto *CT = dyn_cast<DICompositeType>(Ty)) { in updateAcceleratorTables()
874 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructTypeDIE()
958 } else if (auto *Composite = dyn_cast<DICompositeType>(Element)) { in constructTypeDIE()
1451 static bool hasVectorBeenPadded(const DICompositeType *CTy) { in hasVectorBeenPadded()
1477 void DwarfUnit::constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructArrayTypeDIE()
1551 void DwarfUnit::constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructEnumTypeDIE()
1851 void DwarfTypeUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE()
H A DDwarfDebug.h408 std::pair<std::unique_ptr<DwarfTypeUnit>, const DICompositeType *>, 1>
736 DIE &Die, const DICompositeType *CTy);
H A DDwarfCompileUnit.h136 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DDebugHandlerBase.cpp186 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType()
H A DDwarfCompileUnit.cpp976 auto *Array = dyn_cast<DICompositeType>(Var->getType()); in dependencies()
1657 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE()
H A DDwarfDebug.cpp3450 const DICompositeType *CTy) { in addDwarfTypeUnitType()
3532 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy)); in addDwarfTypeUnitType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h435 DICompositeType *createClassType(
453 DICompositeType *createStructType(
470 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
491 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
558 DICompositeType *createArrayType(
570 DICompositeType *createVectorType(uint64_t Size, uint32_t AlignInBits,
587 DICompositeType *createEnumerationType(
626 DICompositeType *createForwardDecl(unsigned Tag, StringRef Name,
634 DICompositeType *createReplaceableCompositeType(
1000 void replaceVTableHolder(DICompositeType *&T,
[all …]
H A DMetadata.def94 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType)
H A DDebugInfoFlags.def34 // Used to be BlockByRef, can be reused for anything except DICompositeType.
H A DDebugInfoMetadata.h1094 class DICompositeType : public DIType {
1100 DICompositeType(LLVMContext &C, StorageType Storage, unsigned Tag, in DICompositeType() function
1107 ~DICompositeType() = default;
1119 static DICompositeType *
1136 static DICompositeType *
1158 DICompositeType,
1173 DICompositeType,
1196 static DICompositeType *
1205 static DICompositeType *getODRTypeIfExists(LLVMContext &Context,
1217 static DICompositeType *
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp484 auto *R = DICompositeType::get( in createClassType()
498 auto *R = DICompositeType::get( in createStructType()
510 auto *R = DICompositeType::get( in createUnionType()
518 DICompositeType *
524 auto *R = DICompositeType::get( in createVariantPart()
538 DICompositeType *
544 auto *CTy = DICompositeType::get( in createEnumerationType()
566 DICompositeType *
573 auto *R = DICompositeType::get( in createArrayType()
635 DICompositeType *
[all …]
H A DDebugInfoMetadata.cpp754 DICompositeType *DICompositeType::getImpl( in getImpl()
766 DEFINE_GETIMPL_LOOKUP(DICompositeType, in getImpl()
777 DICompositeType, in getImpl()
782 DICompositeType *DICompositeType::buildODRType( in buildODRType()
795 return CT = DICompositeType::getDistinct( in buildODRType()
824 DICompositeType *DICompositeType::getODRType( in getODRType()
837 CT = DICompositeType::getDistinct( in getODRType()
849 DICompositeType *DICompositeType::getODRTypeIfExists(LLVMContext &Context, in getODRTypeIfExists()
H A DLLVMContextImpl.h580 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
613 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
623 template <> struct MDNodeKeyImpl<DICompositeType> {
662 MDNodeKeyImpl(const DICompositeType *N)
676 bool isKeyOf(const DICompositeType *RHS) const {
826 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
862 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
1508 std::optional<DenseMap<const MDString *, DICompositeType *>> DITypeMap;
H A DVerifier.cpp1197 auto *Enum = dyn_cast_or_null<DICompositeType>(T); in visitDIDerivedType()
1240 void Verifier::visitDICompositeType(const DICompositeType &N) { in visitDICompositeType()
1362 auto *Enum = dyn_cast_or_null<DICompositeType>(Op); in visitDICompileUnit()
1437 auto *CT = dyn_cast_or_null<DICompositeType>(N.getRawScope()); in visitDISubprogram()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h69 llvm::DICompositeType *ObjTy = nullptr;
201 llvm::DICompositeType *CreateLimitedType(const RecordType *Ty);
203 llvm::DICompositeType *CT);
365 llvm::DICompositeType *RecordTy);
644 llvm::DICompositeType *getOrCreateRecordFwdDecl(const RecordType *,
683 llvm::DICompositeType *getOrCreateLimitedType(const RecordType *Ty);
H A DCGDebugInfo.cpp1142 llvm::DICompositeType *
1147 return cast<llvm::DICompositeType>(T); in getOrCreateRecordFwdDecl()
1753 llvm::DICompositeType *RecordTy) { in CollectRecordFields()
2725 llvm::DICompositeType *FwdDecl = getOrCreateLimitedType(Ty); in CreateTypeDefinition()
2968 llvm::DICompositeType *RealDecl = DBuilder.createStructType( in CreateTypeDefinition()
3676 llvm::DICompositeType *
3689 llvm::DICompositeType *Res = CreateLimitedType(Ty); in getOrCreateLimitedType()
3719 auto *T = cast_or_null<llvm::DICompositeType>( in CreateLimitedType()
4114 auto *InterfaceType = cast<llvm::DICompositeType>(It->second); in getObjCMethodDeclaration()
5843 llvm::DICompositeType *InterfaceDecl = in finalize()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp94 if (auto *CT = dyn_cast<DICompositeType>(T)) { in printModuleDebugInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp108 SmallDenseMap<MDString *, DICompositeType *, 1> Final;
109 SmallDenseMap<MDString *, DICompositeType *, 1> FwdDecls;
172 void addTypeRef(MDString &UUID, DICompositeType &CT);
262 if (DICompositeType *CT = OldTypeRefs.Final.lookup(Ref.first)) in tryToResolveCycles()
289 DICompositeType &CT) { in addTypeRef()
1665 DICompositeType *CT = nullptr; in parseOneMetadata()
1667 CT = DICompositeType::buildODRType( in parseOneMetadata()
1675 CT = GET_OR_DISTINCT(DICompositeType, in parseOneMetadata()
1682 MetadataList.addTypeRef(*Identifier, *cast<DICompositeType>(CT)); in parseOneMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp246 void writeDICompositeType(const DICompositeType *N,
1461 void DXILBitcodeWriter::writeDICompositeType(const DICompositeType *N, in writeDICompositeType()

12