| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 77 getImportTrackingVector(const DIScope *S) { in getImportTrackingVector() 83 getSubprogramNodesTrackingVector(const DIScope *S) { in getSubprogramNodesTrackingVector() 292 unsigned LineNo, DIScope *Context, 323 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name, 470 DICompositeType *createUnionType(DIScope *Scope, StringRef Name, 642 void retainType(DIScope *T); 707 createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File, 832 DINamespace *createNameSpace(DIScope *Scope, StringRef Name, 852 DIModule *createModule(DIScope *Scope, StringRef Name, 872 DILexicalBlock *createLexicalBlock(DIScope *Scope, DIFile *File, [all …]
|
| H A D | DebugInfoMetadata.h | 518 class DIScope : public DINode { 523 ~DIScope() = default; 533 DIScope *getScope() const; 572 class DIFile : public DIScope { 753 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 1804 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 2394 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 2458 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 2606 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 3223 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } [all …]
|
| H A D | DebugInfo.h | 123 void processScope(DIScope *Scope); 127 bool addScope(DIScope *Scope); 138 using scope_iterator = SmallVectorImpl<DIScope *>::const_iterator; 171 SmallVector<DIScope *, 8> Scopes;
|
| H A D | Metadata.def | 90 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIScope)
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 129 static DIScope *getNonCompileUnitScope(DIScope *N) { in getNonCompileUnitScope() 132 return cast<DIScope>(N); in getNonCompileUnitScope() 178 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule() 187 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule() 205 DIBuilder::createImportedDeclaration(DIScope *Context, DINode *Decl, in createImportedDeclaration() 481 assert((!Context || isa<DIScope>(Context)) && in createClassType() 625 void DIBuilder::retainType(DIScope *T) { in retainType() 717 static void checkGlobalVariableScope(DIScope *Context) { in checkGlobalVariableScope() 792 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, in createParameterVariable() 886 DICommonBlock *DIBuilder::createCommonBlock(DIScope *Scope, in createCommonBlock() [all …]
|
| H A D | DebugInfo.cpp | 283 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope() 380 bool DebugInfoFinder::addScope(DIScope *Scope) { in addScope() 1099 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule() 1222 return wrap(unwrapDI<DIScope>(Scope)->getFile()); in LLVMDIScopeGetFile() 1282 unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File), in LLVMDIBuilderCreateEnumerationType() 1426 unwrapDI<DIScope>(Scope), AlignInBits)); in LLVMDIBuilderCreateTypedef() 1446 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateForwardDecl() 1459 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateReplaceableCompositeType() 1507 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateBitFieldMemberType() 1605 unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LinkLen}, in LLVMDIBuilderCreateGlobalVariableExpression() [all …]
|
| H A D | DebugLoc.cpp | 91 DIScope *NewScope = DILocalScope::cloneScopeForSubprogram( in replaceInlinedAtSubprogram() 148 auto *Scope = cast<DIScope>(getScope()); in print()
|
| H A D | DebugInfoMetadata.cpp | 187 auto GetNearestCommonScope = [](DIScope *S1, DIScope *S2) -> DIScope * { in getMergedLocation() 188 SmallPtrSet<DIScope *, 8> Scopes; in getMergedLocation() 340 DIScope *DIScope::getScope() const { in getScope() 364 StringRef DIScope::getName() const { in getName() 875 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops), in DIFile() 1052 SmallVector<DIScope *> ScopeChain; in cloneScopeForSubprogram() 1053 DIScope *CachedResult = nullptr; in cloneScopeForSubprogram() 1055 for (DIScope *Scope = &RootScope; !isa<DISubprogram>(Scope); in cloneScopeForSubprogram() 1058 CachedResult = cast<DIScope>(It->second); in cloneScopeForSubprogram() 1066 DIScope *UpdatedScope = CachedResult ? CachedResult : &NewSP; in cloneScopeForSubprogram() [all …]
|
| H A D | Verifier.cpp | 518 void visitDIScope(const DIScope &N); 1076 static bool isScope(const Metadata *MD) { return !MD || isa<DIScope>(MD); } in isScope() 1092 void Verifier::visitDIScope(const DIScope &N) { in visitDIScope() 1486 CheckDI(isa<DIScope>(S), "invalid scope ref", &N, S); in visitDICommonBlock() 1494 CheckDI(isa<DIScope>(S), "invalid scope ref", &N, S); in visitDINamespace() 1549 CheckDI(isa<DIScope>(S), "invalid scope", &N, S); in visitDIVariable() 1588 CheckDI(isa<DIScope>(S), "invalid scope", &N, S); in visitDILabel() 1626 CheckDI(isa<DIScope>(S), "invalid scope for imported entity", &N, S); in visitDIImportedEntity()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfUnit.h | 124 std::string getParentContextString(const DIScope *Context) const; 128 const DIScope *Context) = 0; 132 const DIScope *Context) = 0; 257 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty); 263 virtual DIE *getOrCreateContextDIE(const DIScope *Context); 360 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty, 399 const DIScope *Context) override; 401 const DIScope *Context) override;
|
| H A D | DwarfCompileUnit.h | 254 DIE *getOrCreateContextDIE(const DIScope *Ty) override; 332 const DIScope *Context) override; 335 void addGlobalNameForTypeUnit(StringRef Name, const DIScope *Context); 339 const DIScope *Context) override; 342 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
|
| H A D | CodeViewDebug.h | 232 DenseMap<const DIScope*, std::unique_ptr<GlobalVariableList> > ScopeGlobals; 430 codeview::TypeIndex getScopeIndex(const DIScope *Scope); 492 collectParentScopeNames(const DIScope *Scope, 494 std::string getFullyQualifiedName(const DIScope *Scope, StringRef Name); 495 std::string getFullyQualifiedName(const DIScope *Scope);
|
| H A D | CodeViewDebug.cpp | 260 static StringRef getPrettyScopeName(const DIScope *Scope) { in getPrettyScopeName() 335 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName() 399 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram() 514 const DIScope *Scope = DL->getScope(); in maybeRecordLocation() 1607 if (DIScope *Scope = T->getScope()) { in shouldEmitUdt() 2220 const DIScope *ImmediateScope = Ty->getScope(); in getCommonClassOptions() 3265 DIScope *Scope = DIGV->getScope(); in collectGlobalVariableInfo() 3290 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals() 3297 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals() 3374 const DIScope *Scope = DTy->getScope(); in emitStaticConstMemberList() [all …]
|
| H A D | DwarfUnit.cpp | 545 DIE *DwarfUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE() 575 DIE *DwarfUnit::createTypeDIE(const DIScope *Context, DIE &ContextDIE, in createTypeDIE() 633 void DwarfUnit::updateAcceleratorTables(const DIScope *Context, in updateAcceleratorTables() 658 std::string DwarfUnit::getParentContextString(const DIScope *Context) const { in getParentContextString() 667 SmallVector<const DIScope *, 1> Parents; in getParentContextString() 670 if (const DIScope *S = Context->getScope()) in getParentContextString() 680 for (const DIScope *Ctx : llvm::reverse(Parents)) { in getParentContextString() 1818 const DIScope *Context) { in addGlobalName() 1823 const DIScope *Context) { in addGlobalType()
|
| H A D | DwarfCompileUnit.cpp | 154 DIScope *DeclContext; in getOrCreateGlobalVariableDIE() 1501 const DIScope *Context) { in addGlobalName() 1509 const DIScope *Context) { in addGlobalNameForTypeUnit() 1522 const DIScope *Context) { in addGlobalType() 1530 const DIScope *Context) { in addGlobalTypeUnitType() 1712 DIE *DwarfCompileUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE()
|
| H A D | DwarfDebug.cpp | 1513 const DIScope *S; in getRetainedNodeScope() 2176 if (auto *Scope = cast_or_null<DIScope>(S)) { in recordSourceLine()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 139 std::vector<llvm::TypedTrackingMDRef<llvm::DIScope>> LexicalBlockStack; 322 llvm::DIFile *tunit, llvm::DIScope *scope, 329 llvm::DIScope *scope, 337 llvm::DIScope *RecordTy, 636 llvm::DIScope *getDeclContextDescriptor(const Decl *D); 638 llvm::DIScope *getContextDescriptor(const Decl *Context, 639 llvm::DIScope *Default); 641 llvm::DIScope *getCurrentContextDescriptor(const Decl *Decl); 645 llvm::DIScope *); 792 llvm::DIScope *&FDContext, [all …]
|
| H A D | CGDebugInfo.cpp | 206 llvm::DIScope *Mod = getParentModuleOrNull(D); in getDeclContextDescriptor() 219 return dyn_cast_or_null<llvm::DIScope>(V); in getContextDescriptor() 1589 llvm::DIScope *RecordTy = BitFieldDI->getScope(); in createBitFieldSeparatorIfNeeded() 2967 llvm::DIScope *Mod = getParentModuleOrNull(ID); in CreateTypeDefinition() 3932 llvm::DIScope *Mod = getParentModuleOrNull(VD); in collectVarDeclProps() 3944 llvm::DIScope *DContext = Unit; in getFunctionFwdDeclOrStub() 3997 llvm::DIScope *DContext = Unit; in getGlobalVariableForwardDeclaration() 4227 llvm::DIScope *FDContext = Unit; in emitFunctionStart() 4338 llvm::DIScope *FDContext = in EmitFunctionDecl() 5497 llvm::DIScope *DContext = nullptr; in EmitGlobalVariable() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CloneFunction.cpp | 242 for (DIScope *S : DIFinder->scopes()) { in CloneFunctionInto()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LiveDebugVariables.cpp | 682 auto *Scope = cast<DIScope>(DL.getScope()); in printDebugLoc()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 93 static DISubprogram *getSubprogram(DIScope *Scope) { in getSubprogram()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1019 const DataLayout &Layout, DIScope *Scope, in solveDIType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 2387 if (!isa<DIScope>(Scope)) in parseDILocation()
|