/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 70 llvm::DIType *VTablePtrType = nullptr; 71 llvm::DIType *ClassTy = nullptr; 73 llvm::DIType *SelTy = nullptr; 75 llvm::DIType *SingletonId = nullptr; 77 llvm::DIType *OCLSamplerDITy = nullptr; 78 llvm::DIType *OCLEventDITy = nullptr; 79 llvm::DIType *OCLClkEventDITy = nullptr; 80 llvm::DIType *OCLQueueDITy = nullptr; 81 llvm::DIType *OCLNDRangeDITy = nullptr; 82 llvm::DIType *OCLReserveIDDITy = nullptr; [all …]
|
H A D | CGDebugInfo.cpp | 673 llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) { in CreateType() 791 llvm::DIType *ElemTy = in CreateType() 852 llvm::DIType *ElemTy = in CreateType() 962 llvm::DIType *CGDebugInfo::CreateType(const BitIntType *Ty) { in CreateType() 973 llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) { in CreateType() 1007 llvm::DIType *CGDebugInfo::CreateQualifiedType(QualType Ty, in CreateQualifiedType() 1029 llvm::DIType *CGDebugInfo::CreateQualifiedType(const FunctionProtoType *F, in CreateQualifiedType() 1053 llvm::DIType *CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty, in CreateType() 1066 llvm::DIType *CGDebugInfo::CreateType(const PointerType *Ty, in CreateType() 1165 if (llvm::DIType *T = getTypeOrNull(CGM.getContext().getRecordType(RD))) in getOrCreateRecordFwdDecl() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DIBuilder.h | 259 DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy); 269 createPointerType(DIType *PointeeTy, uint64_t SizeInBits, 275 DIDerivedType *createPtrAuthQualifiedType(DIType *FromTy, unsigned Key, 287 createMemberPointerType(DIType *PointeeTy, DIType *Class, 294 unsigned Tag, DIType *RTy, uint64_t SizeInBits = 0, 307 DIDerivedType *createTypedef(DIType *Ty, StringRef Name, DIFile *File, 324 DIDerivedType *createTemplateAlias(DIType *Ty, StringRef Name, DIFile *File, 332 DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy); 342 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy, 361 DINode::DIFlags Flags, DIType *Ty, [all …]
|
H A D | DebugInfoMetadata.h | 89 DIType *operator[](unsigned I) const { 90 return cast_or_null<DIType>(N->getOperand(I)); 98 using value_type = DIType *; 101 using reference = DIType *; 106 DIType *operator*() const { return cast_or_null<DIType>(*I); } 710 class DIType : public DIScope { 717 DIType(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, in DIType() function 723 ~DIType() = default; 744 return TempDIType(cast<DIType>(MDNode::clone().release())); in clone() 815 class DIBasicType : public DIType { [all …]
|
H A D | DebugInfo.h | 127 void processType(DIType *DT); 132 bool addType(DIType *DT); 140 using type_iterator = SmallVectorImpl<DIType *>::const_iterator; 173 SmallVector<DIType *, 8> TYs;
|
H A D | Metadata.def | 91 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIType)
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.h | 174 std::vector<std::tuple<const MCSymbol *, const MCSymbol *, const DIType *>> 284 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex> 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); [all …]
|
H A D | DwarfUnit.h | 131 virtual void addGlobalTypeImpl(const DIType *Ty, const DIE &Die, 134 void addGlobalType(const DIType *Ty, const DIE &Die, const DIScope *Context); 219 void addSourceLine(DIE &Die, const DIType *Ty); 223 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty); 224 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty); 226 void addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty); 248 void addType(DIE &Entity, const DIType *Ty, 259 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty); 362 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty, 402 void addGlobalTypeImpl(const DIType *Ty, const DIE &Die,
|
H A D | CodeViewDebug.cpp | 353 assert(!isa<DIType>(Scope) && "shouldn't make a namespace scope for a type"); in getScopeIndex() 428 const DIType *ReturnTy = nullptr; in getFunctionOptions() 478 const DIType *ClassTy) { in recordTypeIndexForDINode() 1235 const DIType *DITy = std::get<2>(HeapAllocSite); in emitDebugInfoForFunction() 1601 static bool shouldEmitUdt(const DIType *T) { in shouldEmitUdt() 1632 void CodeViewDebug::addToUDTs(const DIType *Ty) { in addToUDTs() 1660 TypeIndex CodeViewDebug::lowerType(const DIType *Ty, const DIType *ClassTy) { in lowerType() 1728 const DIType *ElementType = Ty->getBaseType(); in lowerTypeArray() 2014 const DIType *BaseT in lowerTypeModifier() [all...] |
H A D | DwarfUnit.cpp | 191 return (isa<DIType>(D) || in isShareableAcrossCUs() 442 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) { in addSourceLine() 460 const DIType *Ty) { in addConstantValue() 464 void DwarfUnit::addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty) { in addConstantValue() 475 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) { in addConstantValue() 530 addType(TT, cast<DIType>(Ty)); in addThrownTypes() 549 if (auto *T = dyn_cast<DIType>(Context)) in getOrCreateContextDIE() 577 const DIType *Ty) { in createTypeDIE() 616 auto *Ty = cast<DIType>(TyNode); in getOrCreateTypeDIE() 640 const DIType *Ty, const DIE &TyDIE) { in updateAcceleratorTables() [all …]
|
H A D | DebugHandlerBase.cpp | 149 uint64_t DebugHandlerBase::getBaseTypeSize(const DIType *Ty) { in getBaseTypeSize() 164 DIType *BaseType = DDTy->getBaseType(); in getBaseTypeSize() 179 bool DebugHandlerBase::isUnsignedDIType(const DIType *Ty) { in isUnsignedDIType()
|
H A D | DwarfCompileUnit.h | 338 void addGlobalTypeImpl(const DIType *Ty, const DIE &Die, 342 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
|
H A D | DwarfCompileUnit.cpp | 161 const DIType *GTy = GV->getType(); in getOrCreateGlobalVariableDIE() 1365 } else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE() 1542 void DwarfCompileUnit::addGlobalTypeImpl(const DIType *Ty, const DIE &Die, in addGlobalTypeImpl() 1550 void DwarfCompileUnit::addGlobalTypeUnitType(const DIType *Ty, in addGlobalTypeUnitType()
|
H A D | DwarfDebug.h | 278 const DIType *getType() const;
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 297 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) { in createQualifiedType() 303 DIType *FromTy, unsigned Key, bool IsAddressDiscriminated, in createPtrAuthQualifiedType() 316 DIBuilder::createPointerType(DIType *PointeeTy, uint64_t SizeInBits, in createPointerType() 327 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() 328 DIType *Base, in createMemberPointerType() 339 DIBuilder::createReferenceType(unsigned Tag, DIType *RTy, uint64_t SizeInBits, in createReferenceType() 348 DIDerivedType *DIBuilder::createTypedef(DIType *Ty, StringRef Name, in createTypedef() 360 DIBuilder::createTemplateAlias(DIType *Ty, StringRef Name, DIFile *File, in createTemplateAlias() 370 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) { in createFriend() 378 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() [all …]
|
H A D | DebugInfo.cpp | 222 if (auto *T = dyn_cast<DIType>(RT)) in processCompileUnit() 228 if (auto *T = dyn_cast<DIType>(Entity)) in processCompileUnit() 264 void DebugInfoFinder::processType(DIType *DT) { in processType() 269 for (DIType *Ref : ST->getTypeArray()) in processType() 276 if (auto *T = dyn_cast<DIType>(D)) in processType() 291 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope() 345 bool DebugInfoFinder::addType(DIType *DT) { in addType() 352 TYs.push_back(const_cast<DIType *>(DT)); in addType() 668 DIType *ContainingType = in getReplacementSubprogram() 669 cast_or_null<DIType>(map(MDS->getContainingType())); in getReplacementSubprogram() [all …]
|
H A D | DebugInfoMetadata.cpp | 37 uint32_t DIType::getAlignInBits() const { in getAlignInBits() 345 if (auto *T = dyn_cast<DIType>(this)) in getScope() 369 if (auto *T = dyn_cast<DIType>(this)) in getName() 705 DIType *DIDerivedType::getClassType() const { in getClassType() 707 return cast_or_null<DIType>(getExtraData()); in getClassType() 869 : DIType(C, DISubroutineTypeKind, Storage, dwarf::DW_TAG_subroutine_type, 0, in DISubroutineType() 1332 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFAbstractMemberAccess.cpp | 157 void CheckAnonRecordType(DIDerivedType *ParentTy, DIType *Ty); 210 for (DIType *Ty: SP->getType()->getTypeArray()) in run() 253 DIType *BaseType = DTy->getBaseType(); in CheckDerivedType() 267 DIType *Ty) { in CheckAnonRecordType() 288 static DIType * stripQualifiers(DIType *Ty, bool skipTypedef = true) { in stripQualifiers() 297 static const DIType * stripQualifiers(const DIType *Ty) { in stripQualifiers() 500 const DIType *PType = stripQualifiers(cast<DIType>(ParentType)); in IsValidAIChain() 501 const DIType *CType = stripQualifiers(cast<DIType>(ChildType)); in IsValidAIChain() 534 DIType *Ty; in IsValidAIChain() 538 Ty = dyn_cast<DIType>(PTy->getElements()[ParentAI]); in IsValidAIChain() [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); 382 unsigned populateType(const DIType *Ty); 420 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 | 93 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 486 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 516 const DIType *Ty) { in addType() 700 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() 787 bool BTFDebug::IsForwardDeclCandidate(const DIType *Base) { in IsForwardDeclCandidate() 810 const DIType *Base = DTy->getBaseType(); in visitDerivedType() 862 void BTFDebug::visitTypeEntry(const DIType *Ty, uint32_t &TypeId, in visitTypeEntry() 899 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() 935 void BTFDebug::visitTypeEntry(const DIType *Ty) { in visitTypeEntry() 940 void BTFDebug::visitMapDefType(const DIType *Ty, uint32_t &TypeId) { in visitMapDefType() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | DebugHandlerBase.h | 147 static uint64_t getBaseTypeSize(const DIType *Ty); 150 static bool isUnsignedDIType(const DIType *Ty);
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ModuleDebugInfoPrinter.cpp | 74 for (const DIType *T : Finder.types()) { in printModuleDebugInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 1021 static DIType *solveDIType(DIBuilder &Builder, Type *Ty, in solveDIType() 1024 DenseMap<Type *, DIType *> &DITypeCache) { in solveDIType() 1025 if (DIType *DT = DITypeCache.lookup(Ty)) in solveDIType() 1030 DIType *RetType = nullptr; in solveDIType() 1061 DIType *DITy = solveDIType(Builder, StructTy->getElementType(I), Layout, in solveDIType() 1174 DenseMap<unsigned, DIType *> TyCache; in buildFrameDebugInfo() 1217 DenseMap<Type *, DIType *> DITypeCache; in buildFrameDebugInfo() 1231 DIType *DITy = nullptr; in buildFrameDebugInfo()
|
/freebsd/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()
|