| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 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; 107 llvm::DIType *Decl; 199 std::pair<llvm::DIType *, llvm::DIType *> 229 llvm::DIType *CreateSelfType(const QualType &QualTy, llvm::DIType *Ty); 253 llvm::DIType *getOrCreateStructPtrType(StringRef Name, llvm::DIType *&Cache); [all …]
|
| H A D | CGDebugInfo.cpp | 781 llvm::DIType *ElemTy = in CreateType() 842 llvm::DIType *ElemTy = in CreateType() 1382 llvm::DIType *Underlying = in CreateType() 1721 llvm::DIType *FieldType; in CollectRecordNormalField() 2687 llvm::DIType *T = cast_or_null<llvm::DIType>(getTypeOrNull(QualType(Ty, 0))); in CreateType() 2712 std::pair<llvm::DIType *, llvm::DIType *> 3827 llvm::DIType *Ty = in CreateMemberType() 4609 llvm::DIType *Ty; in EmitDeclare() 4966 llvm::DIType *Ty; in EmitDeclareOfBlockDeclRefVariable() 5185 llvm::DIType *type = in EmitDeclareOfBlockLiteralArgVariable() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 260 createPointerType(DIType *PointeeTy, uint64_t SizeInBits, 271 createMemberPointerType(DIType *PointeeTy, DIType *Class, 278 unsigned Tag, DIType *RTy, uint64_t SizeInBits = 0, 298 DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy); 308 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy, 349 DINode::DIFlags Flags, DIType *Ty); 590 DIType *UnderlyingType, unsigned RunTimeLang = 0, 619 static DIType *createArtificialType(DIType *Ty); 623 static DIType *createObjectPointerType(DIType *Ty); 811 DIType *VTableHolder = nullptr, [all …]
|
| H A D | DebugInfoMetadata.h | 97 using value_type = DIType *; 100 using reference = DIType *; 105 DIType *operator*() const { return cast_or_null<DIType>(*I); } 709 class DIType : public DIScope { 722 ~DIType() = default; 1042 DIType *getBaseType() const { return cast_or_null<DIType>(getRawBaseType()); } in getBaseType() 1070 DIType *getClassType() const; 1227 DIType *getBaseType() const { return cast_or_null<DIType>(getRawBaseType()); } in getBaseType() 2493 DIType *getType() const { return cast_or_null<DIType>(getRawType()); } in getType() 2609 DIType *getType() const { return cast_or_null<DIType>(getRawType()); } in getType() [all …]
|
| H A D | DebugInfo.h | 124 void processType(DIType *DT); 129 bool addType(DIType *DT); 137 using type_iterator = SmallVectorImpl<DIType *>::const_iterator; 170 SmallVector<DIType *, 8> TYs;
|
| H A D | Metadata.def | 91 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIType)
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.h | 304 std::vector<std::pair<std::string, const DIType *>> LocalUDTs; 305 std::vector<std::pair<std::string, const DIType *>> GlobalUDTs; 349 const std::vector<std::pair<std::string, const DIType *>> &UDTs); 354 void emitConstantSymbolRecord(const DIType *DTy, APSInt &Value, 418 codeview::TypeIndex getTypeIndex(const DIType *Ty, 419 const DIType *ClassTy = nullptr); 425 codeview::TypeIndex getTypeIndexForReferenceTo(const DIType *Ty); 434 void addToUDTs(const DIType *Ty); 436 void addUDTSrcLine(const DIType *Ty, codeview::TypeIndex TI); 438 codeview::TypeIndex lowerType(const DIType *Ty, const DIType *ClassTy); [all …]
|
| H A D | DwarfUnit.h | 131 virtual void addGlobalType(const DIType *Ty, const DIE &Die, 217 void addSourceLine(DIE &Die, const DIType *Ty); 221 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty); 222 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty); 224 void addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty); 246 void addType(DIE &Entity, const DIType *Ty, 257 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty); 360 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty, 400 void addGlobalType(const DIType *Ty, const DIE &Die,
|
| H A D | DwarfUnit.cpp | 190 return (isa<DIType>(D) || in isShareableAcrossCUs() 529 addType(TT, cast<DIType>(Ty)); in addThrownTypes() 548 if (auto *T = dyn_cast<DIType>(Context)) in getOrCreateContextDIE() 576 const DIType *Ty) { in createTypeDIE() 610 auto *Ty = cast<DIType>(TyNode); in getOrCreateTypeDIE() 764 const DIType *FromTy = DTy->getBaseType(); in constructTypeDIE() 810 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 | CodeViewDebug.cpp | 428 const DIType *ReturnTy = nullptr; in getFunctionOptions() 1601 static bool shouldEmitUdt(const DIType *T) { in shouldEmitUdt() 1660 TypeIndex CodeViewDebug::lowerType(const DIType *Ty, const DIType *ClassTy) { in lowerType() 2014 const DIType *BaseTy = Ty; in lowerTypeModifier() 2326 std::vector<const DIType *> NestedTypes; 2364 const DIType *Ty = DDTy->getBaseType(); in collectMemberInfo() 2682 TypeIndex CodeViewDebug::getTypeIndex(const DIType *Ty, const DIType *ClassTy) { in getTypeIndex() 2837 const DIType *Ty = L.DIVar->getType(); in emitLocalVariableList() 3212 const DIType *T = UDT.second; in emitDebugInfoForUDTs() 3335 if (DIType *RT = dyn_cast<DIType>(Ty)) { in emitDebugInfoForRetainedTypes() [all …]
|
| H A D | DebugHandlerBase.cpp | 146 uint64_t DebugHandlerBase::getBaseTypeSize(const DIType *Ty) { in getBaseTypeSize() 160 DIType *BaseType = DDTy->getBaseType(); in getBaseTypeSize() 175 bool DebugHandlerBase::isUnsignedDIType(const DIType *Ty) { in isUnsignedDIType()
|
| H A D | DwarfCompileUnit.h | 338 void addGlobalType(const DIType *Ty, const DIE &Die, 342 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
|
| H A D | DwarfCompileUnit.cpp | 146 const DIType *GTy = GV->getType(); in getOrCreateGlobalVariableDIE() 1344 } else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE() 1521 void DwarfCompileUnit::addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType() 1529 void DwarfCompileUnit::addGlobalTypeUnitType(const DIType *Ty, in addGlobalTypeUnitType()
|
| H A D | DwarfDebug.h | 278 const DIType *getType() const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 315 DIType *Base, in createMemberPointerType() 345 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) { in createFriend() 352 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() 419 DIType *Ty, MDNode *PropertyNode) { in createObjCIVar() 497 DIType *VTableHolder, StringRef UniqueIdentifier) { in createStructType() 604 static DIType *createTypeWithFlags(const DIType *Ty, in createTypeWithFlags() 610 DIType *DIBuilder::createArtificialType(DIType *Ty) { in createArtificialType() 617 DIType *DIBuilder::createObjectPointerType(DIType *Ty) { in createObjectPointerType() 627 assert((isa<DIType>(T) || (isa<DISubprogram>(T) && in retainType() 679 Elts.push_back(cast<DIType>(E)); in getOrCreateTypeArray() [all …]
|
| H A D | DebugInfo.cpp | 218 if (auto *T = dyn_cast<DIType>(RT)) in processCompileUnit() 224 if (auto *T = dyn_cast<DIType>(Entity)) in processCompileUnit() 259 void DebugInfoFinder::processType(DIType *DT) { in processType() 264 for (DIType *Ref : ST->getTypeArray()) in processType() 271 if (auto *T = dyn_cast<DIType>(D)) in processType() 286 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope() 340 bool DebugInfoFinder::addType(DIType *DT) { in addType() 347 TYs.push_back(const_cast<DIType *>(DT)); in addType() 663 DIType *ContainingType = in getReplacementSubprogram() 1435 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance() [all …]
|
| H A D | DebugInfoMetadata.cpp | 341 if (auto *T = dyn_cast<DIType>(this)) in getScope() 365 if (auto *T = dyn_cast<DIType>(this)) in getName() 701 DIType *DIDerivedType::getClassType() const { in getClassType() 703 return cast_or_null<DIType>(getExtraData()); in getClassType() 859 : DIType(C, DISubroutineTypeKind, Storage, dwarf::DW_TAG_subroutine_type, 0, in DISubroutineType() 1322 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 253 DIType *BaseType = DTy->getBaseType(); in CheckDerivedType() 288 static DIType * stripQualifiers(DIType *Ty, bool skipTypedef = true) { in stripQualifiers() 297 static const DIType * stripQualifiers(const DIType *Ty) { in stripQualifiers() 499 const DIType *PType = stripQualifiers(cast<DIType>(ParentType)); in IsValidAIChain() 500 const DIType *CType = stripQualifiers(cast<DIType>(ChildType)); in IsValidAIChain() 533 DIType *Ty; in IsValidAIChain() 728 const DIType *BaseTy; in GetFieldInfo() 870 DIType *PossibleTypeDef = stripQualifiers(cast<DIType>(CInfo.Metadata), in computeBaseAndAccessKey() 891 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() 994 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); 342 bool IsForwardDeclCandidate(const DIType *Base); 378 unsigned populateType(const DIType *Ty); 416 uint32_t getTypeId(const DIType *Ty) { in getTypeId()
|
| H A D | BPFPreserveDIType.cpp | 90 DIType *Ty = cast<DIType>(MD); in BPFPreserveDITypeImpl()
|
| H A D | BTFDebug.cpp | 92 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 485 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 515 const DIType *Ty) { in addType() 699 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() 786 bool BTFDebug::IsForwardDeclCandidate(const DIType *Base) { in IsForwardDeclCandidate() 809 const DIType *Base = DTy->getBaseType(); in visitDerivedType() 898 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() 934 void BTFDebug::visitTypeEntry(const DIType *Ty) { in visitTypeEntry() 946 const DIType *OrigTy = Ty; in visitMapDefType() 1248 unsigned BTFDebug::populateType(const DIType *Ty) { in populateType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | DebugHandlerBase.h | 139 static uint64_t getBaseTypeSize(const DIType *Ty); 142 static bool isUnsignedDIType(const DIType *Ty);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleDebugInfoPrinter.cpp | 74 for (const DIType *T : Finder.types()) { in printModuleDebugInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1018 static DIType *solveDIType(DIBuilder &Builder, Type *Ty, in solveDIType() 1021 DenseMap<Type *, DIType *> &DITypeCache) { in solveDIType() 1022 if (DIType *DT = DITypeCache.lookup(Ty)) in solveDIType() 1027 DIType *RetType = nullptr; in solveDIType() 1058 DIType *DITy = solveDIType(Builder, StructTy->getElementType(I), Layout, in solveDIType() 1171 DenseMap<unsigned, DIType *> TyCache; in buildFrameDebugInfo() 1214 DenseMap<Type *, DIType *> DITypeCache; in buildFrameDebugInfo() 1228 DIType *DITy = nullptr; in buildFrameDebugInfo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Debugify.cpp | 95 DenseMap<uint64_t, DIType *> TypeCache; in applyDebugifyMetadata() 96 auto getCachedDIType = [&](Type *Ty) -> DIType * { in applyDebugifyMetadata() 98 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata()
|