Home
last modified time | relevance | path

Searched refs:DIDerivedType (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp327 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) { in createQualifiedType()
328 return DIDerivedType::get(VMContext, Tag, "", nullptr, 0, nullptr, FromTy, in createQualifiedType()
333 DIDerivedType *DIBuilder::createPtrAuthQualifiedType( in createPtrAuthQualifiedType()
337 return DIDerivedType::get( in createPtrAuthQualifiedType()
340 std::optional<DIDerivedType::PtrAuthData>( in createPtrAuthQualifiedType()
346 DIDerivedType *
352 return DIDerivedType::get(VMContext, dwarf::DW_TAG_pointer_type, Name, in createPointerType()
358 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType()
363 return DIDerivedType::get(VMContext, dwarf::DW_TAG_ptr_to_member_type, "", in createMemberPointerType()
369 DIDerivedType *
[all …]
H A DLLVMContextImpl.h607 template <> struct MDNodeKeyImpl<DIDerivedType> {
618 std::optional<DIDerivedType::PtrAuthData> PtrAuthData;
627 std::optional<DIDerivedType::PtrAuthData> PtrAuthData,
634 MDNodeKeyImpl(const DIDerivedType *N)
643 bool isKeyOf(const DIDerivedType *RHS) const {
751 template <> struct MDNodeSubsetEqualImpl<DIDerivedType> {
752 using KeyTy = MDNodeKeyImpl<DIDerivedType>;
754 static bool isSubsetEqual(const KeyTy &LHS, const DIDerivedType *RHS) {
758 static bool isSubsetEqual(const DIDerivedType *LHS,
759 const DIDerivedType *RHS) {
[all …]
H A DDebugInfoMetadata.cpp969 DIType *DIDerivedType::getClassType() const { in getClassType()
973 uint32_t DIDerivedType::getVBPtrOffset() const { in getVBPtrOffset()
980 Constant *DIDerivedType::getStorageOffsetInBits() const { in getStorageOffsetInBits()
987 Constant *DIDerivedType::getConstant() const { in getConstant()
995 Constant *DIDerivedType::getDiscriminantValue() const { in getDiscriminantValue()
1002 DIDerivedType *DIDerivedType::getImpl( in getImpl()
1010 DEFINE_GETIMPL_LOOKUP(DIDerivedType, in getImpl()
1017 DIDerivedType, in getImpl()
1021 std::optional<DIDerivedType::PtrAuthData>
1022 DIDerivedType::getPtrAuthData() const { in getPtrAuthData()
[all …]
H A DVerifier.cpp1272 void Verifier::visitDIDerivedType(const DIDerivedType &N) { in visitDIDerivedType()
1390 CheckDI(isa<DIDerivedType>(D) && N.getTag() == dwarf::DW_TAG_variant_part, in visitDICompositeType()
1679 CheckDI(isa<DIDerivedType>(Member), in visitDIGlobalVariable()
H A DDebugInfo.cpp292 if (auto *DDT = dyn_cast<DIDerivedType>(DT)) { in processType()
H A DAsmWriter.cpp2285 static void writeDIDerivedType(raw_ostream &Out, const DIDerivedType *N, in writeDIDerivedType()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h282 LLVM_ABI DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy);
291 LLVM_ABI DIDerivedType *
298 LLVM_ABI DIDerivedType *
309 LLVM_ABI DIDerivedType *
316 LLVM_ABI DIDerivedType *createReferenceType(
330 LLVM_ABI DIDerivedType *
347 LLVM_ABI DIDerivedType *
355 LLVM_ABI DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy);
365 LLVM_ABI DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
381 LLVM_ABI DIDerivedType *createMemberType(
[all …]
H A DDebugInfoMetadata.h1220 class DIDerivedType : public DIType {
1259 DIDerivedType(LLVMContext &C, StorageType Storage, unsigned Tag, in DIDerivedType() function
1270 ~DIDerivedType() = default;
1271 static DIDerivedType *
1288 static DIDerivedType *
1305 static DIDerivedType *
1318 LLVM_ABI static DIDerivedType *
1336 DEFINE_MDNODE_GET(DIDerivedType,
1348 DEFINE_MDNODE_GET(DIDerivedType,
1359 DEFINE_MDNODE_GET(DIDerivedType,
[all …]
H A DMetadata.def93 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIDerivedType)
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp155 std::map<DICompositeType *, DIDerivedType *> AnonRecords;
157 void CheckAnonRecordType(DIDerivedType *ParentTy, DIType *Ty);
158 void CheckCompositeType(DIDerivedType *ParentTy, DICompositeType *CTy);
159 void CheckDerivedType(DIDerivedType *ParentTy, DIDerivedType *DTy);
176 void GetStorageBitRange(DIDerivedType *MemberTy, Align RecordAlignment,
230 void BPFAbstractMemberAccess::CheckCompositeType(DIDerivedType *ParentTy, in CheckCompositeType()
244 void BPFAbstractMemberAccess::CheckDerivedType(DIDerivedType *ParentTy, in CheckDerivedType()
245 DIDerivedType *DTy) { in CheckDerivedType()
259 void BPFAbstractMemberAccess::CheckAnonRecordType(DIDerivedType *ParentTy, in CheckAnonRecordType()
266 else if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) in CheckAnonRecordType()
[all …]
H A DBTFDebug.h65 const DIDerivedType *DTy;
70 BTFTypeDerived(const DIDerivedType *Ty, unsigned Tag, bool NeedsFixup);
236 const DIDerivedType *DTy;
241 BTFTypeTypeTag(const DIDerivedType *DTy, StringRef Tag);
308 std::vector<std::pair<const DIDerivedType *, BTFTypeDerived *>>>
337 void visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId,
376 int genBTFTypeTags(const DIDerivedType *DTy, int BaseTypeId);
H A DBTFDebug.cpp43 auto DerivedTy = dyn_cast<DIDerivedType>(Ty); in tryRemoveAtomicType()
59 BTFTypeDerived::BTFTypeDerived(const DIDerivedType *DTy, unsigned Tag, in BTFTypeDerived()
352 const auto *DDTy = cast<DIDerivedType>(Element); in completeType()
540 BTFTypeTypeTag::BTFTypeTypeTag(const DIDerivedType *DTy, StringRef Tag) in BTFTypeTypeTag()
688 int BTFDebug::genBTFTypeTags(const DIDerivedType *DTy, int BaseTypeId) { in genBTFTypeTags()
749 auto E = cast<DIDerivedType>(Element); in visitStructType()
770 const auto Elem = cast<DIDerivedType>(Element); in visitStructType()
899 void BTFDebug::visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId, in visitDerivedType()
1001 if (const auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in visitTypeEntry()
1008 DTy = dyn_cast<DIDerivedType>(BaseTy); in visitTypeEntry()
[all …]
H A DBPFPreserveDIType.cpp90 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in BPFPreserveDITypeImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h246 SmallVector<const DIDerivedType *, 4> StaticConstMembers;
429 getTypeIndexForThisPtr(const DIDerivedType *PtrTy,
446 codeview::TypeIndex lowerTypeAlias(const DIDerivedType *Ty);
451 const DIDerivedType *Ty,
454 const DIDerivedType *Ty,
456 codeview::TypeIndex lowerTypeModifier(const DIDerivedType *Ty);
458 codeview::TypeIndex lowerTypeVFTableShape(const DIDerivedType *Ty);
481 void collectMemberInfo(ClassInfo &Info, const DIDerivedType *DDTy);
H A DCodeViewDebug.cpp1638 const DIDerivedType *DT = dyn_cast<DIDerivedType>(T); in shouldEmitUdt()
1680 return lowerTypeAlias(cast<DIDerivedType>(Ty)); in lowerType()
1684 if (cast<DIDerivedType>(Ty)->getName() == "__vtbl_ptr_type") in lowerType()
1685 return lowerTypeVFTableShape(cast<DIDerivedType>(Ty)); in lowerType()
1689 return lowerTypePointer(cast<DIDerivedType>(Ty)); in lowerType()
1691 return lowerTypeMemberPointer(cast<DIDerivedType>(Ty)); in lowerType()
1696 return lowerTypeModifier(cast<DIDerivedType>(Ty)); in lowerType()
1725 TypeIndex CodeViewDebug::lowerTypeAlias(const DIDerivedType *Ty) { in lowerTypeAlias()
1919 TypeIndex CodeViewDebug::lowerTypePointer(const DIDerivedType *Ty, in lowerTypePointer()
1990 TypeIndex CodeViewDebug::lowerTypeMemberPointer(const DIDerivedType *Ty, in lowerTypeMemberPointer()
[all …]
H A DDebugHandlerBase.cpp162 if (const DIDerivedType *DDTy = dyn_cast<DIDerivedType>(Ty)) in getBaseTypeSize()
209 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in isUnsignedDIType()
H A DDwarfUnit.h337 DIE *getOrCreateStaticMemberDIE(const DIDerivedType *DT);
357 void constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy);
365 DIE &constructMemberDIE(DIE &Buffer, const DIDerivedType *DT);
H A DDwarfUnit.cpp633 construct(cast<DIDerivedType>(Ty)); in createTypeDIE()
646 return getOrCreateTypeDIE(cast<DIDerivedType>(Ty)->getBaseType()); in getOrCreateTypeDIE()
650 return getOrCreateTypeDIE(cast<DIDerivedType>(Ty)->getBaseType()); in getOrCreateTypeDIE()
834 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy) { in constructTypeDIE()
869 *getOrCreateTypeDIE(cast<DIDerivedType>(DTy)->getClassType())); in constructTypeDIE()
1036 DIDerivedType *Discriminator = nullptr; in constructTypeDIE()
1070 else if (auto *DDTy = dyn_cast<DIDerivedType>(Element)) { in constructTypeDIE()
1853 DIE &DwarfUnit::constructMemberDIE(DIE &Buffer, const DIDerivedType *DT) { in constructMemberDIE()
2015 DIE *DwarfUnit::getOrCreateStaticMemberDIE(const DIDerivedType *DT) { in getOrCreateStaticMemberDIE()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h173 llvm::DenseMap<const Decl *, llvm::TypedTrackingMDRef<llvm::DIDerivedType>>
366 llvm::DIDerivedType *createBitFieldType(const FieldDecl *BitFieldDecl,
372 llvm::DIDerivedType *createBitFieldSeparatorIfNeeded(
373 const FieldDecl *BitFieldDecl, const llvm::DIDerivedType *BitFieldDI,
389 llvm::DIDerivedType *CreateRecordStaticField(const VarDecl *Var,
426 llvm::DIDerivedType *DescTy, unsigned LineNo,
799 llvm::DIDerivedType *
H A DCGDebugInfo.cpp1438 const BlockPointerType *Ty, llvm::DIFile *Unit, llvm::DIDerivedType *DescTy, in collectDefaultElementTypesForBlockPointer()
1590 llvm::DIDerivedType *AliasTy = DBuilder.createTemplateAlias( in CreateType()
1767 llvm::DIDerivedType *
1802 llvm::DIDerivedType *CGDebugInfo::createBitFieldSeparatorIfNeeded( in createBitFieldSeparatorIfNeeded()
1803 const FieldDecl *BitFieldDecl, const llvm::DIDerivedType *BitFieldDI, in createBitFieldSeparatorIfNeeded()
1838 dyn_cast_or_null<llvm::DIDerivedType>(PreviousMDEntry); in createBitFieldSeparatorIfNeeded()
1964 llvm::DIDerivedType *
1994 llvm::DIDerivedType *GV = DBuilder.createStaticMemberType( in CreateRecordStaticField()
2013 llvm::DIDerivedType *BitFieldType; in CollectRecordNormalField()
2673 llvm::DIDerivedType *DT = DBuilder.createStaticMemberType( in emitVTableSymbol()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitNonSemanticDI.cpp98 SmallPtrSet<DIDerivedType *, 12> PointerDerivedTypes; in emitGlobalDI()
144 dyn_cast<DIDerivedType>(LocalVariable->getType())) { in emitGlobalDI()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp1629 std::optional<DIDerivedType::PtrAuthData> PtrAuthData; in parseOneMetadata()
1649 GET_OR_DISTINCT(DIDerivedType, in parseOneMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp249 void writeDIDerivedType(const DIDerivedType *N,
1440 void DXILBitcodeWriter::writeDIDerivedType(const DIDerivedType *N, in writeDIDerivedType()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp353 void writeDIDerivedType(const DIDerivedType *N,
1975 void ModuleBitcodeWriter::writeDIDerivedType(const DIDerivedType *N, in writeDIDerivedType()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp5670 std::optional<DIDerivedType::PtrAuthData> PtrAuthData; in parseDIDerivedType()
5678 DIDerivedType, (Context, tag.Val, name.Val, file.Val, line.Val, scope.Val, in parseDIDerivedType()

12