| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 287 unsigned LineNo, DIScope *Context, 317 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name, 462 DICompositeType *createUnionType(DIScope *Scope, StringRef Name, 483 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name, 632 void retainType(DIScope *T); 697 createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File, 798 createMethod(DIScope *Scope, StringRef Name, StringRef LinkageName, 822 DINamespace *createNameSpace(DIScope *Scope, StringRef Name, 842 DIModule *createModule(DIScope *Scope, StringRef Name, 862 DILexicalBlock *createLexicalBlock(DIScope *Scope, DIFile *File, [all …]
|
| H A D | DebugInfo.h | 110 void processScope(DIScope *Scope); 114 bool addScope(DIScope *Scope); 125 using scope_iterator = SmallVectorImpl<DIScope *>::const_iterator; 158 SmallVector<DIScope *, 8> Scopes;
|
| H A D | DebugInfoMetadata.h | 471 class DIScope : public DINode { 476 ~DIScope() = default; 486 DIScope *getScope() const; 525 class DIFile : public DIScope { 703 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 1992 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 2294 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 2358 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 2503 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope() 3037 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } [all …]
|
| H A D | Metadata.def | 89 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIScope)
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 143 static DIScope *getNonCompileUnitScope(DIScope *N) { in getNonCompileUnitScope() 146 return cast<DIScope>(N); in getNonCompileUnitScope() 192 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule() 201 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule() 493 assert((!Context || isa<DIScope>(Context)) && in createClassType() 635 void DIBuilder::retainType(DIScope *T) { in retainType() 727 static void checkGlobalVariableScope(DIScope *Context) { in checkGlobalVariableScope() 772 DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, in createLocalVariable() 779 DIScope *Context = getNonCompileUnitScope(Scope); in createLocalVariable() 817 DIScope *Context = getNonCompileUnitScope(Scope); in createLabel() [all …]
|
| H A D | DebugInfo.cpp | 231 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope() 336 bool DebugInfoFinder::addScope(DIScope *Scope) { in addScope() 950 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule() 1073 return wrap(unwrapDI<DIScope>(Scope)->getFile()); in LLVMDIScopeGetFile() 1232 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateStaticMemberType() 1279 unwrapDI<DIScope>(Scope), AlignInBits)); in LLVMDIBuilderCreateTypedef() 1299 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateForwardDecl() 1312 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateReplaceableCompositeType() 1360 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateBitFieldMemberType() 1377 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateClassType() [all …]
|
| H A D | DebugLoc.cpp | 108 auto *Scope = cast<DIScope>(getScope()); in print()
|
| H A D | DebugInfoMetadata.cpp | 112 SmallSet<std::pair<DIScope *, DILocation *>, 5> Locations; in getMergedLocation() 113 DIScope *S = LocA->getScope(); in getMergedLocation() 240 DIScope *DIScope::getScope() const { in getScope() 264 StringRef DIScope::getName() const { in getName() 772 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops), in DIFile() 819 : DIScope(C, DICompileUnitKind, Storage, dwarf::DW_TAG_compile_unit, Ops), in DICompileUnit() 1054 : DIScope(Context, DINamespaceKind, Storage, dwarf::DW_TAG_namespace, Ops), in DINamespace() 1068 : DIScope(Context, DICommonBlockKind, Storage, dwarf::DW_TAG_common_block, in DICommonBlock() 1084 : DIScope(Context, DIModuleKind, Storage, dwarf::DW_TAG_module, Ops), in DIModule()
|
| H A D | Verifier.cpp | 483 void visitDIScope(const DIScope &N); 982 static bool isScope(const Metadata *MD) { return !MD || isa<DIScope>(MD); } in isScope() 998 void Verifier::visitDIScope(const DIScope &N) { in visitDIScope() 1378 CheckDI(isa<DIScope>(S), "invalid scope ref", &N, S); in visitDICommonBlock() 1386 CheckDI(isa<DIScope>(S), "invalid scope ref", &N, S); in visitDINamespace() 1448 CheckDI(isa<DIScope>(S), "invalid scope", &N, S); in visitDIVariable() 1482 CheckDI(isa<DIScope>(S), "invalid scope", &N, S); in visitDILabel() 1520 CheckDI(isa<DIScope>(S), "invalid scope for imported entity", &N, S); in visitDIImportedEntity()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfUnit.h | 112 std::string getParentContextString(const DIScope *Context) const; 116 const DIScope *Context) = 0; 120 const DIScope *Context) = 0; 245 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty); 251 DIE *getOrCreateContextDIE(const DIScope *Context); 348 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty, 380 const DIScope *Context) override; 382 const DIScope *Context) override;
|
| H A D | DwarfCompileUnit.h | 175 DIScope *Scope = IE->getScope(); in addImportedEntity() 306 const DIScope *Context) override; 309 void addGlobalNameForTypeUnit(StringRef Name, const DIScope *Context); 313 const DIScope *Context) override; 316 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
|
| H A D | CodeViewDebug.h | 212 DenseMap<const DIScope*, std::unique_ptr<GlobalVariableList> > ScopeGlobals; 408 codeview::TypeIndex getScopeIndex(const DIScope *Scope); 470 collectParentScopeNames(const DIScope *Scope, 472 std::string getFullyQualifiedName(const DIScope *Scope, StringRef Name); 473 std::string getFullyQualifiedName(const DIScope *Scope);
|
| H A D | CodeViewDebug.cpp | 258 static StringRef getPrettyScopeName(const DIScope *Scope) { in getPrettyScopeName() 333 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName() 397 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram() 512 const DIScope *Scope = DL->getScope(); in maybeRecordLocation() 1558 if (DIScope *Scope = T->getScope()) { in shouldEmitUdt() 2168 const DIScope *ImmediateScope = Ty->getScope(); in getCommonClassOptions() 3199 DIScope *Scope = DIGV->getScope(); in collectGlobalVariableInfo() 3224 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals() 3231 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals() 3308 const DIScope *Scope = DTy->getScope(); in emitStaticConstMemberList() [all …]
|
| H A D | DwarfUnit.cpp | 546 DIE *DwarfUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE() 576 DIE *DwarfUnit::createTypeDIE(const DIScope *Context, DIE &ContextDIE, in createTypeDIE() 634 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() 1814 const DIScope *Context) { in addGlobalName() 1819 const DIScope *Context) { in addGlobalType()
|
| H A D | DwarfCompileUnit.cpp | 153 DIScope *DeclContext; in getOrCreateGlobalVariableDIE() 1398 const DIScope *Context) { in addGlobalName() 1406 const DIScope *Context) { in addGlobalNameForTypeUnit() 1419 const DIScope *Context) { in addGlobalType() 1427 const DIScope *Context) { in addGlobalTypeUnitType()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 140 std::vector<llvm::TypedTrackingMDRef<llvm::DIScope>> LexicalBlockStack; 310 llvm::DIFile *tunit, llvm::DIScope *scope, 317 llvm::DIScope *scope, 325 llvm::DIScope *RecordTy, 616 llvm::DIScope *getDeclContextDescriptor(const Decl *D); 618 llvm::DIScope *getContextDescriptor(const Decl *Context, 619 llvm::DIScope *Default); 621 llvm::DIScope *getCurrentContextDescriptor(const Decl *Decl); 625 llvm::DIScope *); 772 llvm::DIScope *&FDContext, [all …]
|
| H A D | CGDebugInfo.cpp | 203 llvm::DIScope *Mod = getParentModuleOrNull(D); in getDeclContextDescriptor() 216 return dyn_cast_or_null<llvm::DIScope>(V); in getContextDescriptor() 2688 llvm::DIScope *Mod = getParentModuleOrNull(ID); in CreateType() 2808 llvm::DIScope *Mod = getParentModuleOrNull(ID); in CreateTypeDefinition() 3769 llvm::DIScope *Mod = getParentModuleOrNull(VD); in collectVarDeclProps() 3781 llvm::DIScope *DContext = Unit; in getFunctionFwdDeclOrStub() 3834 llvm::DIScope *DContext = Unit; in getGlobalVariableForwardDeclaration() 4063 llvm::DIScope *FDContext = Unit; in emitFunctionStart() 4170 llvm::DIScope *FDContext = in EmitFunctionDecl() 5272 llvm::DIScope *DContext = nullptr; in EmitGlobalVariable() [all …]
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | ScopLocation.cpp | 32 auto *Scope = cast<DIScope>(DL.getScope()); in getDebugLocation()
|
| /llvm-project-15.0.7/llvm/tools/opt/ |
| H A D | BreakpointPrinter.cpp | 30 void getContextName(const DIScope *Context, std::string &N) { in getContextName()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | DebugInfoTest.cpp | 240 DIScope *Scope = DISubprogram::getDistinct( in TEST() 254 DIScope *Scope = DISubprogram::getDistinct( in TEST()
|
| H A D | MetadataTest.cpp | 1646 DIScope *Scope = getSubprogram(); in TEST_F() 1718 DIScope *Scope = getSubprogram(); in TEST_F() 1740 DIScope *Scope = getSubprogram(); in TEST_F() 1860 DIScope *Scope = getSubprogram(); in TEST_F() 1886 DIScope *Scope = getSubprogram(); in TEST_F() 1931 DIScope *Scope = getSubprogram(); in TEST_F() 2529 DIScope *Scope = getFile(); in TEST_F() 2551 DIScope *Scope = getFile(); in TEST_F() 2656 DIScope *Scope = getSubprogram(); in TEST_F() 2746 DIScope *Scope = getSubprogram(); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/ |
| H A D | toy.cpp | 95 std::vector<DIScope *> LexicalBlocks; 846 DIScope *Scope; in emitLocation() 1251 DIScope *FContext = Unit; in codegen()
|
| /llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl09.rst | 259 DIScope *FContext = Unit; 339 DIScope *Scope; 355 std::vector<DIScope *> LexicalBlocks;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CloneFunction.cpp | 218 for (DIScope *S : DIFinder->scopes()) { in CloneFunctionInto()
|
| /llvm-project-15.0.7/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 1207 DIScope *Scope = IE->getScope(); in prepareCompileUnitsForImport()
|