| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 67 llvm::DIType *VTablePtrType = nullptr; 68 llvm::DIType *ClassTy = nullptr; 70 llvm::DIType *SelTy = nullptr; 72 llvm::DIType *SingletonId = nullptr; 75 llvm::DIType *OCLEventDITy = nullptr; 77 llvm::DIType *OCLQueueDITy = nullptr; 81 llvm::DIType *Id##Ty = nullptr; 108 llvm::DIType *Decl; 223 llvm::DIType *CreateSelfType(const QualType &QualTy, llvm::DIType *Ty); 247 llvm::DIType *getOrCreateStructPtrType(StringRef Name, llvm::DIType *&Cache); [all …]
|
| H A D | CGDebugInfo.cpp | 735 llvm::DIType *ElemTy = in CreateType() 796 llvm::DIType *ElemTy = in CreateType() 1290 llvm::DIType *Underlying = in CreateType() 1566 llvm::DIType *FieldType; in CollectRecordNormalField() 2322 llvm::DIType *VPtrMember = in CollectVTableInfo() 2552 llvm::DIType *T = cast_or_null<llvm::DIType>(getTypeOrNull(QualType(Ty, 0))); in CreateType() 3665 llvm::DIType *Ty = in CreateMemberType() 4430 llvm::DIType *Ty; in EmitDeclare() 4744 llvm::DIType *Ty; in EmitDeclareOfBlockDeclRefVariable() 4962 llvm::DIType *type = in EmitDeclareOfBlockLiteralArgVariable() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 255 createPointerType(DIType *PointeeTy, uint64_t SizeInBits, 266 createMemberPointerType(DIType *PointeeTy, DIType *Class, 272 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy, 292 DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy); 302 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy, 343 DINode::DIFlags Flags, DIType *Ty); 592 uint32_t AlignInBits, DIType *Ty); 609 static DIType *createArtificialType(DIType *Ty); 613 static DIType *createObjectPointerType(DIType *Ty); 801 DIType *VTableHolder = nullptr, [all …]
|
| H A D | DebugInfo.h | 111 void processType(DIType *DT); 116 bool addType(DIType *DT); 124 using type_iterator = SmallVectorImpl<DIType *>::const_iterator; 157 SmallVector<DIType *, 8> TYs;
|
| H A D | DebugInfoMetadata.h | 94 using value_type = DIType *; 97 using reference = DIType *; 102 DIType *operator*() const { return cast_or_null<DIType>(*I); } 658 class DIType : public DIScope { 672 ~DIType() = default; 992 DIType *getBaseType() const { return cast_or_null<DIType>(getRawBaseType()); } in getBaseType() 1018 DIType *getClassType() const; 1175 DIType *getBaseType() const { return cast_or_null<DIType>(getRawBaseType()); } in getBaseType() 2391 DIType *getType() const { return cast_or_null<DIType>(getRawType()); } in getType() 2506 DIType *getType() const { return cast_or_null<DIType>(getRawType()); } in getType() [all …]
|
| H A D | Metadata.def | 90 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIType)
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.h | 284 std::vector<std::pair<std::string, const DIType *>> LocalUDTs; 285 std::vector<std::pair<std::string, const DIType *>> GlobalUDTs; 329 const std::vector<std::pair<std::string, const DIType *>> &UDTs); 334 void emitConstantSymbolRecord(const DIType *DTy, APSInt &Value, 396 codeview::TypeIndex getTypeIndex(const DIType *Ty, 397 const DIType *ClassTy = nullptr); 403 codeview::TypeIndex getTypeIndexForReferenceTo(const DIType *Ty); 412 void addToUDTs(const DIType *Ty); 414 void addUDTSrcLine(const DIType *Ty, codeview::TypeIndex TI); 416 codeview::TypeIndex lowerType(const DIType *Ty, const DIType *ClassTy); [all …]
|
| H A D | DwarfUnit.h | 119 virtual void addGlobalType(const DIType *Ty, const DIE &Die, 205 void addSourceLine(DIE &Die, const DIType *Ty); 209 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty); 210 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty); 212 void addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty); 234 void addType(DIE &Entity, const DIType *Ty, 245 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty); 348 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty, 381 void addGlobalType(const DIType *Ty, const DIE &Die,
|
| H A D | CodeViewDebug.cpp | 426 const DIType *ReturnTy = nullptr; in getFunctionOptions() 1552 static bool shouldEmitUdt(const DIType *T) { in shouldEmitUdt() 1611 TypeIndex CodeViewDebug::lowerType(const DIType *Ty, const DIType *ClassTy) { in lowerType() 1679 const DIType *ElementType = Ty->getBaseType(); in lowerTypeArray() 1962 const DIType *BaseTy = Ty; in lowerTypeModifier() 2274 std::vector<const DIType *> NestedTypes; 2312 const DIType *Ty = DDTy->getBaseType(); in collectMemberInfo() 2630 TypeIndex CodeViewDebug::getTypeIndex(const DIType *Ty, const DIType *ClassTy) { in getTypeIndex() 3146 const DIType *T = UDT.second; in emitDebugInfoForUDTs() 3269 if (DIType *RT = dyn_cast<DIType>(Ty)) { in emitDebugInfoForRetainedTypes() [all …]
|
| H A D | DwarfUnit.cpp | 191 return (isa<DIType>(D) || in isShareableAcrossCUs() 530 addType(TT, cast<DIType>(Ty)); in addThrownTypes() 549 if (auto *T = dyn_cast<DIType>(Context)) in getOrCreateContextDIE() 577 const DIType *Ty) { in createTypeDIE() 611 auto *Ty = cast<DIType>(TyNode); in getOrCreateTypeDIE() 764 const DIType *FromTy = DTy->getBaseType(); in constructTypeDIE() 807 const DIType *Ty = Args[i]; in constructSubprogramArguments() 1456 DIType *BaseTy = CTy->getBaseType(); in hasVectorBeenPadded() 1552 const DIType *DTy = CTy->getBaseType(); in constructEnumTypeDIE() 1601 if (DIType *Resolved = DT->getBaseType()) in constructMemberDIE() [all …]
|
| H A D | DebugHandlerBase.cpp | 147 uint64_t DebugHandlerBase::getBaseTypeSize(const DIType *Ty) { in getBaseTypeSize() 161 DIType *BaseType = DDTy->getBaseType(); in getBaseTypeSize() 176 bool DebugHandlerBase::isUnsignedDIType(const DIType *Ty) { in isUnsignedDIType()
|
| H A D | DwarfCompileUnit.h | 312 void addGlobalType(const DIType *Ty, const DIE &Die, 316 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 329 DIType *Base, in createMemberPointerType() 358 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) { in createFriend() 365 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() 433 DIType *Ty, MDNode *PropertyNode) { in createObjCIVar() 509 DIType *VTableHolder, StringRef UniqueIdentifier) { in createStructType() 614 static DIType *createTypeWithFlags(const DIType *Ty, in createTypeWithFlags() 620 DIType *DIBuilder::createArtificialType(DIType *Ty) { in createArtificialType() 627 DIType *DIBuilder::createObjectPointerType(DIType *Ty) { in createObjectPointerType() 637 assert((isa<DIType>(T) || (isa<DISubprogram>(T) && in retainType() 689 Elts.push_back(cast<DIType>(E)); in getOrCreateTypeArray() [all …]
|
| H A D | DebugInfo.cpp | 174 if (auto *T = dyn_cast<DIType>(RT)) in processCompileUnit() 180 if (auto *T = dyn_cast<DIType>(Entity)) in processCompileUnit() 207 void DebugInfoFinder::processType(DIType *DT) { in processType() 212 for (DIType *Ref : ST->getTypeArray()) in processType() 219 if (auto *T = dyn_cast<DIType>(D)) in processType() 234 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope() 296 bool DebugInfoFinder::addType(DIType *DT) { in addType() 303 TYs.push_back(const_cast<DIType *>(DT)); in addType() 551 DIType *ContainingType = in getReplacementSubprogram() 1288 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 281 DIType *BaseType = DTy->getBaseType(); in CheckDerivedType() 316 static DIType * stripQualifiers(DIType *Ty, bool skipTypedef = true) { in stripQualifiers() 325 static const DIType * stripQualifiers(const DIType *Ty) { in stripQualifiers() 511 const DIType *PType = stripQualifiers(cast<DIType>(ParentType)); in IsValidAIChain() 512 const DIType *CType = stripQualifiers(cast<DIType>(ChildType)); in IsValidAIChain() 545 DIType *Ty; in IsValidAIChain() 746 const DIType *BaseTy; in GetFieldInfo() 888 DIType *PossibleTypeDef = stripQualifiers(cast<DIType>(CInfo.Metadata), in computeBaseAndAccessKey() 909 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() 1012 DIType *Ty = stripQualifiers(cast<DIType>(CInfo.Metadata), false); in computeAccessKey() [all …]
|
| H A D | BTFDebug.h | 29 class DIType; variable 298 std::unordered_map<const DIType *, uint32_t> DIToIdMap; 314 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry, const DIType *Ty); 321 void visitTypeEntry(const DIType *Ty); 322 void visitTypeEntry(const DIType *Ty, uint32_t &TypeId, bool CheckPointer, 338 void visitMapDefType(const DIType *Ty, uint32_t &TypeId); 371 unsigned populateType(const DIType *Ty); 409 uint32_t getTypeId(const DIType *Ty) { in getTypeId()
|
| H A D | BPFPreserveDIType.cpp | 88 DIType *Ty = cast<DIType>(MD); in BPFPreserveDITypeImpl()
|
| H A D | BTFDebug.cpp | 90 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 483 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 513 const DIType *Ty) { in addType() 678 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() 777 const DIType *Base = DTy->getBaseType(); in visitDerivedType() 827 void BTFDebug::visitTypeEntry(const DIType *Ty, uint32_t &TypeId, in visitTypeEntry() 864 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() 895 void BTFDebug::visitTypeEntry(const DIType *Ty) { in visitTypeEntry() 907 const DIType *OrigTy = Ty; in visitMapDefType() 1222 unsigned BTFDebug::populateType(const DIType *Ty) { in populateType() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | DebugHandlerBase.h | 136 static uint64_t getBaseTypeSize(const DIType *Ty); 139 static bool isUnsignedDIType(const DIType *Ty);
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/ |
| H A D | llvm_debuginfo.mli | 475 (** [dibuild_create_object_pointer_type dib ty] Create a uniqued DIType* clone 585 (** [dibuild_create_artificial_type dib ty] Create a uniqued DIType* clone with 590 (** [di_type_get_name m] Get the name of DIType [m]. *) 593 (** [di_type_get_size_in_bits m] Get size in bits of DIType [m]. *) 596 (** [di_type_get_offset_in_bits m] Get offset in bits of DIType [m]. *) 599 (** [di_type_get_align_in_bits m] Get alignment in bits of DIType [m]. *) 602 (** [di_type_get_line m] Get source line where DIType [m] is declared. *) 605 (** [di_type_get_flags m] Get the flags associated with DIType [m]. *)
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 105 DIType *getDerivedType() { in getDerivedType() 116 DIType *getCompositeType() { in getCompositeType() 432 DIType *Type = getDerivedType(); in TEST_F() 1231 DIType *Type = getDerivedType(); in TEST_F() 1251 DIType *Type = getDerivedType(); in TEST_F() 1302 DIType *Type = getDerivedType(); in TEST_F() 1346 DIType *Type = getDerivedType(); in TEST_F() 1386 DIType *Type = getDerivedType(); in TEST_F() 1434 DIType *Type = getDerivedType(); in TEST_F() 1478 DIType *Type = getDerivedType(); in TEST_F() [all …]
|
| H A D | DebugInfoTest.cpp | 243 DIType *Type = DIB.createBasicType("Int", 64, dwarf::DW_ATE_signed); in TEST() 348 DIType *DT = DIB.createBasicType("ty16", 16, dwarf::DW_ATE_unsigned); in TEST()
|
| /llvm-project-15.0.7/llvm/tools/opt/ |
| H A D | BreakpointPrinter.cpp | 36 } else if (auto *TY = dyn_cast<DIType>(Context)) { in getContextName()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ModuleDebugInfoPrinter.cpp | 107 for (const DIType *T : Finder.types()) { in printModuleDebugInfo()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/ |
| H A D | toy.cpp | 94 DIType *DblTy; 98 DIType *getDoubleTy(); 835 DIType *DebugInfo::getDoubleTy() { in getDoubleTy() 857 DIType *DblTy = KSDbgInfo.getDoubleTy(); in CreateFunctionType()
|