| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 73 llvm::DIType *VTablePtrType = nullptr; 74 llvm::DIType *ClassTy = nullptr; 76 llvm::DIType *SelTy = nullptr; 78 llvm::DIType *SingletonId = nullptr; 80 llvm::DIType *OCLSamplerDITy = nullptr; 81 llvm::DIType *OCLEventDITy = nullptr; 82 llvm::DIType *OCLClkEventDITy = nullptr; 83 llvm::DIType *OCLQueueDITy = nullptr; 84 llvm::DIType *OCLNDRangeDITy = nullptr; 85 llvm::DIType *OCLReserveIDDITy = nullptr; [all …]
|
| H A D | CGDebugInfo.cpp | 812 llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) { in CreateType() 941 llvm::DIType *ElemTy = in CreateType() 1006 llvm::DIType *ElemTy = in CreateType() 1122 llvm::DIType *CGDebugInfo::CreateType(const BitIntType *Ty) { in CreateType() 1133 llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) { in CreateType() 1167 llvm::DIType *CGDebugInfo::CreateQualifiedType(QualType Ty, in CreateQualifiedType() 1187 llvm::DIType *FromTy = getOrCreateType(QualType(T, 0), Unit); in CreateQualifiedType() 1204 llvm::DIType *CGDebugInfo::CreateQualifiedType(const FunctionProtoType *F, in CreateQualifiedType() 1228 llvm::DIType *CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty, in CreateType() 1241 llvm::DIType *CGDebugInfo::CreateType(const PointerType *Ty, in CreateType() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 282 LLVM_ABI DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy); 292 createPointerType(DIType *PointeeTy, uint64_t SizeInBits, 299 createPtrAuthQualifiedType(DIType *FromTy, unsigned Key, 310 createMemberPointerType(DIType *PointeeTy, DIType *Class, 317 unsigned Tag, DIType *RTy, uint64_t SizeInBits = 0, 331 createTypedef(DIType *Ty, StringRef Name, DIFile *File, unsigned LineNo, 348 createTemplateAlias(DIType *Ty, StringRef Name, DIFile *File, 355 LLVM_ABI DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy); 365 LLVM_ABI DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy, 384 DINode::DIFlags Flags, DIType *Ty, DINodeArray Annotations = nullptr); [all …]
|
| H A D | DebugInfoMetadata.h | 90 DIType *operator[](unsigned I) const { 91 return cast_or_null<DIType>(N->getOperand(I)); 99 using value_type = DIType *; 102 using reference = DIType *; 107 DIType *operator*() const { return cast_or_null<DIType>(*I); } 717 class DIType : public DIScope { 725 DIType(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, in DIType() function 731 ~DIType() = default; 751 return TempDIType(cast<DIType>(MDNode::clone().release())); in clone() 841 class DIBasicType : public DIType { [all …]
|
| H A D | DebugInfo.h | 131 void processType(DIType *DT); 137 bool addType(DIType *DT); 145 using type_iterator = SmallVectorImpl<DIType *>::const_iterator; 178 SmallVector<DIType *, 8> TYs;
|
| H A D | Metadata.def | 91 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIType)
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 327 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) { in createQualifiedType() 334 DIType *FromTy, unsigned Key, bool IsAddressDiscriminated, in createPtrAuthQualifiedType() 347 DIBuilder::createPointerType(DIType *PointeeTy, uint64_t SizeInBits, in createPointerType() 358 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType() 359 DIType *Base, in createMemberPointerType() 370 DIBuilder::createReferenceType(unsigned Tag, DIType *RTy, uint64_t SizeInBits, in createReferenceType() 379 DIDerivedType *DIBuilder::createTypedef(DIType *Ty, StringRef Name, in createTypedef() 391 DIBuilder::createTemplateAlias(DIType *Ty, StringRef Name, DIFile *File, in createTemplateAlias() 401 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) { in createFriend() 409 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() [all …]
|
| H A D | DebugInfo.cpp | 240 if (auto *T = dyn_cast<DIType>(RT)) in processCompileUnit() 273 void DebugInfoFinder::processType(DIType *DT) { in processType() 278 for (DIType *Ref : ST->getTypeArray()) in processType() 285 if (auto *T = dyn_cast<DIType>(D)) in processType() 299 if (auto *T = dyn_cast<DIType>(Entity)) in processImportedEntity() 312 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope() 372 bool DebugInfoFinder::addType(DIType *DT) { in addType() 690 DIType *ContainingType = in getReplacementSubprogram() 691 cast_or_null<DIType>(map(MDS->getContainingType())); in getReplacementSubprogram() 1325 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); in LLVMDIBuilderCreateEnumerationType() [all …]
|
| H A D | DebugInfoMetadata.cpp | 45 uint32_t DIType::getAlignInBits() const { in getAlignInBits() 525 if (auto *T = dyn_cast<DIType>(this)) in getScope() 549 if (auto *T = dyn_cast<DIType>(this)) in getName() 830 : DIType(C, DISubrangeTypeKind, Storage, dwarf::DW_TAG_subrange_type, Line, in DISubrangeType() 969 DIType *DIDerivedType::getClassType() const { in getClassType() 971 return cast_or_null<DIType>(getExtraData()); in getClassType() 1139 : DIType(C, DISubroutineTypeKind, Storage, dwarf::DW_TAG_subroutine_type, 0, in DISubroutineType() 1601 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.h | 179 std::vector<std::tuple<const MCSymbol *, const MCSymbol *, const DIType *>> 289 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex> 309 std::vector<std::pair<std::string, const DIType *>> LocalUDTs; 310 std::vector<std::pair<std::string, const DIType *>> GlobalUDTs; 356 const std::vector<std::pair<std::string, const DIType *>> &UDTs); 361 void emitConstantSymbolRecord(const DIType *DTy, APSInt &Value, 425 codeview::TypeIndex getTypeIndex(const DIType *Ty, 426 const DIType *ClassTy = nullptr); 432 codeview::TypeIndex getTypeIndexForReferenceTo(const DIType *Ty); 441 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); 225 void addSourceLine(DIE &Die, const DIType *Ty); 229 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty); 230 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty); 232 void addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty); 254 void addType(DIE &Entity, const DIType *Ty, 265 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty); 330 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty, 421 void addGlobalTypeImpl(const DIType *Ty, const DIE &Die,
|
| H A D | CodeViewDebug.cpp | 355 assert(!isa<DIType>(Scope) && "shouldn't make a namespace scope for a type"); in getScopeIndex() 430 const DIType *ReturnTy = nullptr; in getFunctionOptions() 480 const DIType *ClassTy) { in recordTypeIndexForDINode() 1242 const DIType *DITy = std::get<2>(HeapAllocSite); in emitDebugInfoForFunction() 1615 static bool shouldEmitUdt(const DIType *T) { in shouldEmitUdt() 1646 void CodeViewDebug::addToUDTs(const DIType *Ty) { in addToUDTs() 1674 TypeIndex CodeViewDebug::lowerType(const DIType *Ty, const DIType *ClassTy) { in lowerType() 1742 const DIType *ElementType = Ty->getBaseType(); in lowerTypeArray() 2028 const DIType *BaseTy = Ty; in lowerTypeModifier() 2083 for (const DIType *ArgType : Ty->getTypeArray()) in lowerTypeFunction() [all …]
|
| H A D | DwarfUnit.cpp | 191 return (isa<DIType>(D) || in isShareableAcrossCUs() 482 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) { in addSourceLine() 500 const DIType *Ty) { in addConstantValue() 504 void DwarfUnit::addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty) { in addConstantValue() 515 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) { in addConstantValue() 552 addType(TT, cast<DIType>(Ty)); in addThrownTypes() 571 if (auto *T = dyn_cast<DIType>(Context)) in getOrCreateContextDIE() 599 const DIType *Ty) { in createTypeDIE() 642 auto *Ty = cast<DIType>(TyNode); in getOrCreateTypeDIE() 666 const DIType *Ty, const DIE &TyDIE) { in updateAcceleratorTables() [all …]
|
| H A D | DebugHandlerBase.cpp | 149 uint64_t DebugHandlerBase::getBaseTypeSize(const DIType *Ty) { in getBaseTypeSize() 161 DIType *BaseType = nullptr; in getBaseTypeSize() 180 bool DebugHandlerBase::isUnsignedDIType(const DIType *Ty) { in isUnsignedDIType()
|
| H A D | DwarfCompileUnit.h | 345 void addGlobalTypeImpl(const DIType *Ty, const DIE &Die, 349 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
|
| H A D | DwarfCompileUnit.cpp | 187 const DIType *GTy = GV->getType(); in getOrCreateGlobalVariableDIE() 1398 } else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE() 1588 void DwarfCompileUnit::addGlobalTypeImpl(const DIType *Ty, const DIE &Die, in addGlobalTypeImpl() 1596 void DwarfCompileUnit::addGlobalTypeUnitType(const DIType *Ty, in addGlobalTypeUnitType()
|
| /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() 246 DIType *BaseType = DTy->getBaseType(); in CheckDerivedType() 260 DIType *Ty) { in CheckAnonRecordType() 281 static DIType * stripQualifiers(DIType *Ty, bool skipTypedef = true) { in stripQualifiers() 290 static const DIType * stripQualifiers(const DIType *Ty) { in stripQualifiers() 491 const DIType *PType = stripQualifiers(cast<DIType>(ParentType)); in IsValidAIChain() 492 const DIType *CType = stripQualifiers(cast<DIType>(ChildType)); in IsValidAIChain() 525 DIType *Ty; in IsValidAIChain() 529 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; 315 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry, const DIType *Ty); 322 void visitTypeEntry(const DIType *Ty); 323 void visitTypeEntry(const DIType *Ty, uint32_t &TypeId, bool CheckPointer, 339 void visitMapDefType(const DIType *Ty, uint32_t &TypeId); 343 bool IsForwardDeclCandidate(const DIType *Base); 383 unsigned populateType(const DIType *Ty); 421 uint32_t getTypeId(const DIType *Ty) { in getTypeId()
|
| H A D | BTFDebug.cpp | 40 static const DIType *tryRemoveAtomicType(const DIType *Ty) { in tryRemoveAtomicType() 121 const DIType *ResolvedType = tryRemoveAtomicType(DTy->getBaseType()); in completeType() 552 const DIType *ResolvedType = tryRemoveAtomicType(DTy->getBaseType()); in completeType() 582 const DIType *Ty) { in addType() 791 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() 887 bool BTFDebug::IsForwardDeclCandidate(const DIType *Base) { in IsForwardDeclCandidate() 914 const DIType *Base = DTy->getBaseType(); in visitDerivedType() 966 void BTFDebug::visitTypeEntry(const DIType *Ty, uint32_t &TypeId, in visitTypeEntry() 1003 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() 1040 void BTFDebug::visitTypeEntry(const DIType *Ty) { in visitTypeEntry() [all …]
|
| H A D | BPFPreserveDIType.cpp | 89 DIType *Ty = cast<DIType>(MD); in BPFPreserveDITypeImpl()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | DebugHandlerBase.h | 141 static uint64_t getBaseTypeSize(const DIType *Ty); 144 static bool isUnsignedDIType(const DIType *Ty);
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleDebugInfoPrinter.cpp | 72 for (const DIType *T : Finder.types()) { in printModuleDebugInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 601 static DIType *solveDIType(DIBuilder &Builder, Type *Ty, in solveDIType() 604 DenseMap<Type *, DIType *> &DITypeCache) { in solveDIType() 605 if (DIType *DT = DITypeCache.lookup(Ty)) in solveDIType() 610 DIType *RetType = nullptr; in solveDIType() 641 DIType *DITy = solveDIType(Builder, StructTy->getElementType(I), Layout, in solveDIType() 735 DenseMap<unsigned, DIType *> TyCache; in buildFrameDebugInfo() 779 DenseMap<Type *, DIType *> DITypeCache; in buildFrameDebugInfo() 794 DIType *DITy = nullptr; in buildFrameDebugInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Debugify.cpp | 152 DenseMap<uint64_t, DIType *> TypeCache; in applyDebugifyMetadata() 153 auto getCachedDIType = [&](Type *Ty) -> DIType * { in applyDebugifyMetadata() 155 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WindowsSecureHotPatching.cpp | 374 DIType *DebugType = DebugInfo.createPointerType( in getOrCreateRefVariable()
|