Home
last modified time | relevance | path

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

12

/freebsd/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;
227 BTFTypeEnum64(const DICompositeType *ETy, uint32_t NumValues, bool IsSigned);
307 std::map<const DICompositeType *,
330 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
332 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
333 void visitStructType(const DICompositeType *STy, bool IsStruct,
[all …]
H A DBPFAbstractMemberAccess.cpp155 std::map<DICompositeType *, DIDerivedType *> AnonRecords;
158 void CheckCompositeType(DIDerivedType *ParentTy, DICompositeType *CTy);
178 uint32_t GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy,
223 if (auto Ty = dyn_cast<DICompositeType>(CInfo.Metadata)) { in ResetMetadata()
231 DICompositeType *CTy) { in CheckCompositeType()
264 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) in CheckAnonRecordType()
299 static uint32_t calcArraySize(const DICompositeType *CTy, uint32_t StartDim) { in calcArraySize()
507 const auto *PTy = dyn_cast<DICompositeType>(PType); in IsValidAIChain()
508 const auto *CTy = dyn_cast<DICompositeType>(CType); in IsValidAIChain()
531 return dyn_cast<DICompositeType>(stripQualifiers(Ty)) == CTy; in IsValidAIChain()
[all …]
H A DBTFDebug.cpp196 BTFTypeEnum::BTFTypeEnum(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum()
235 BTFTypeEnum64::BTFTypeEnum64(const DICompositeType *ETy, uint32_t VLen, in BTFTypeEnum64()
308 BTFTypeStruct::BTFTypeStruct(const DICompositeType *STy, bool IsStruct, in BTFTypeStruct()
366 const auto *DCTy = dyn_cast<DICompositeType>(Element); in completeType()
728 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, in visitStructType()
776 const auto Elem = cast<DICompositeType>(Element); in visitStructType()
788 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { in visitArrayType()
827 void BTFDebug::visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) { in visitEnumType()
856 void BTFDebug::visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, in visitFwdDeclType()
863 void BTFDebug::visitCompositeType(const DICompositeType *CTy, in visitCompositeType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h294 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices;
298 SmallVector<const DICompositeType *, 4> DeferredCompleteTypes;
435 const DICompositeType *Class);
447 codeview::TypeIndex lowerTypeArray(const DICompositeType *Ty);
463 codeview::TypeIndex lowerTypeEnum(const DICompositeType *Ty);
464 codeview::TypeIndex lowerTypeClass(const DICompositeType *Ty);
465 codeview::TypeIndex lowerTypeUnion(const DICompositeType *Ty);
474 codeview::TypeIndex lowerCompleteTypeClass(const DICompositeType *Ty);
475 codeview::TypeIndex lowerCompleteTypeUnion(const DICompositeType *Ty);
482 ClassInfo collectClassInfo(const DICompositeType *Ty);
[all …]
H A DDwarfUnit.h312 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy);
326 DIE *createTypeDIE(const DICompositeType *Ty);
363 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy);
364 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy);
382 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0;
400 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DCodeViewDebug.cpp290 if (const auto *Ty = dyn_cast<DICompositeType>(Scope)) in collectParentScopeNames()
403 if (const auto *Class = dyn_cast_or_null<DICompositeType>(Scope)) { in getFuncIdForSubprogram()
421 static bool isNonTrivial(const DICompositeType *DCTy) { in isNonTrivial()
427 const DICompositeType *ClassTy = nullptr, in getFunctionOptions()
438 if (auto *ReturnDCTy = dyn_cast_or_null<DICompositeType>(ReturnTy)) in getFunctionOptions()
453 const DICompositeType *Class) { in getMemberFunctionType()
1678 return lowerTypeArray(cast<DICompositeType>(Ty)); in lowerType()
1707 return lowerTypeEnum(cast<DICompositeType>(Ty)); in lowerType()
1710 return lowerTypeClass(cast<DICompositeType>(Ty)); in lowerType()
1712 return lowerTypeUnion(cast<DICompositeType>(Ty)); in lowerType()
[all …]
H A DDwarfUnit.cpp582 DIE *DwarfUnit::createTypeDIE(const DICompositeType *Ty) { in createTypeDIE()
592 constructTypeDIE(TyDIE, cast<DICompositeType>(Ty)); in createTypeDIE()
608 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in createTypeDIE()
675 if (auto *CT = dyn_cast<DICompositeType>(Ty)) { in updateAcceleratorTables()
685 if (auto *CT = dyn_cast<DICompositeType>(Ty)) in updateAcceleratorTables()
1016 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructTypeDIE()
1088 dyn_cast_or_null<DICompositeType>(DDTy->getBaseType()); in constructTypeDIE()
1114 } else if (auto *Composite = dyn_cast<DICompositeType>(Element)) { in constructTypeDIE()
1710 static bool hasVectorBeenPadded(const DICompositeType *CTy) { in hasVectorBeenPadded()
1736 void DwarfUnit::constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy) { in constructArrayTypeDIE()
[all …]
H A DDwarfDebug.h410 std::pair<std::unique_ptr<DwarfTypeUnit>, const DICompositeType *>, 1>
757 DIE &Die, const DICompositeType *CTy);
H A DDwarfCompileUnit.h140 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DDebugHandlerBase.cpp197 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType()
H A DDwarfCompileUnit.cpp1023 auto *Array = dyn_cast<DICompositeType>(Var->getType()); in dependencies()
1729 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE()
H A DDwarfDebug.cpp3887 const DICompositeType *CTy) { in addDwarfTypeUnitType()
3969 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy)); in addDwarfTypeUnitType()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp464 auto *V = DICompositeType::get(VMContext, dwarf::DW_TAG_variant, {}, nullptr, in createVariantMemberType()
574 DICompositeType *DIBuilder::createClassType( in createClassType()
583 auto *R = DICompositeType::get( in createClassType()
592 DICompositeType *DIBuilder::createStructType( in createStructType()
598 auto *R = DICompositeType::get( in createStructType()
608 DICompositeType *DIBuilder::createStructType( in createStructType()
614 auto *R = DICompositeType::get( in createStructType()
624 DICompositeType *DIBuilder::createUnionType( in createUnionType()
628 auto *R = DICompositeType::get( in createUnionType()
637 DICompositeType *
[all …]
H A DLLVMContextImpl.h661 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
772 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
782 template <> struct MDNodeKeyImpl<DICompositeType> {
827 MDNodeKeyImpl(const DICompositeType *N)
844 bool isKeyOf(const DICompositeType *RHS) const {
1001 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
1009 isa_and_nonnull<DICompositeType>(Scope))
1044 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
1707 std::optional<DenseMap<const MDString *, DICompositeType *>> DITypeMap;
H A DDebugInfoMetadata.cpp1028 DICompositeType *DICompositeType::getImpl( in getImpl()
1042 DICompositeType, in getImpl()
1052 DEFINE_GETIMPL_STORE(DICompositeType, in getImpl()
1058 DICompositeType *DICompositeType::buildODRType( in buildODRType()
1072 return CT = DICompositeType::getDistinct( in buildODRType()
1102 DICompositeType *DICompositeType::getODRType( in getODRType()
1116 CT = DICompositeType::getDistinct( in getODRType()
1129 DICompositeType *DICompositeType::getODRTypeIfExists(LLVMContext &Context, in getODRTypeIfExists()
H A DDebugInfo.cpp282 if (auto *DCT = dyn_cast<DICompositeType>(DT)) { in processType()
1379 auto CT = unwrap<DICompositeType>(*T); in LLVMReplaceArrays()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h539 LLVM_ABI DICompositeType *createClassType(
562 LLVM_ABI DICompositeType *createStructType(
585 LLVM_ABI DICompositeType *createStructType(
603 LLVM_ABI DICompositeType *
623 LLVM_ABI DICompositeType *
687 LLVM_ABI DICompositeType *createArrayType(
716 LLVM_ABI DICompositeType *createArrayType(
730 LLVM_ABI DICompositeType *createVectorType(uint64_t Size,
748 LLVM_ABI DICompositeType *createEnumerationType(
809 LLVM_ABI DICompositeType *
[all …]
H A DDebugInfoFlags.def34 // Used to be BlockByRef, can be reused for anything except DICompositeType.
H A DMetadata.def94 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DICompositeType)
H A DDebugInfoMetadata.h1559 class DICompositeType : public DIType {
1568 DICompositeType(LLVMContext &C, StorageType Storage, unsigned Tag, in DICompositeType() function
1576 ~DICompositeType() = default;
1589 static DICompositeType *
1613 static DICompositeType *
1635 static DICompositeType *
1654 LLVM_ABI static DICompositeType *
1680 DICompositeType,
1698 DICompositeType,
1716 DICompositeType,
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h75 llvm::DICompositeType *ObjTy = nullptr;
226 llvm::DICompositeType *CreateLimitedType(const RecordType *Ty);
228 llvm::DICompositeType *CT);
400 llvm::DICompositeType *RecordTy);
728 llvm::DICompositeType *getOrCreateRecordFwdDecl(const RecordType *,
767 llvm::DICompositeType *getOrCreateLimitedType(const RecordType *Ty);
H A DCGDebugInfo.cpp1336 llvm::DICompositeType *
1341 return cast<llvm::DICompositeType>(T); in getOrCreateRecordFwdDecl()
1369 llvm::DICompositeType *RetTy = DBuilder.createReplaceableCompositeType( in getOrCreateRecordFwdDecl()
2043 llvm::DICompositeType *RecordTy) { in CollectRecordFields()
2665 auto *Ctxt = cast<llvm::DICompositeType>(DContext); in emitVTableSymbol()
3075 llvm::DICompositeType *FwdDecl = getOrCreateLimitedType(Ty); in CreateTypeDefinition()
3319 llvm::DICompositeType *RealDecl = DBuilder.createStructType( in CreateTypeDefinition()
4079 llvm::DICompositeType *
4083 auto *T = cast_or_null<llvm::DICompositeType>(getTypeOrNull(QTy)); in getOrCreateLimitedType()
4092 llvm::DICompositeType *Res = CreateLimitedType(Ty); in getOrCreateLimitedType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp92 if (auto *CT = dyn_cast<DICompositeType>(T)) { in printModuleDebugInfo()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp105 SmallDenseMap<MDString *, DICompositeType *, 1> Final;
106 SmallDenseMap<MDString *, DICompositeType *, 1> FwdDecls;
169 void addTypeRef(MDString &UUID, DICompositeType &CT);
259 if (DICompositeType *CT = OldTypeRefs.Final.lookup(Ref.first)) in tryToResolveCycles()
286 DICompositeType &CT) { in addTypeRef()
1779 DICompositeType *CT = nullptr; in parseOneMetadata()
1781 CT = DICompositeType::buildODRType( in parseOneMetadata()
1791 DICompositeType, in parseOneMetadata()
1798 MetadataList.addTypeRef(*Identifier, *cast<DICompositeType>(CT)); in parseOneMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp255 void writeDICompositeType(const DICompositeType *N,
1460 void DXILBitcodeWriter::writeDICompositeType(const DICompositeType *N, in writeDICompositeType()

12