Home
last modified time | relevance | path

Searched refs:DIScope (Results 1 – 25 of 26) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDIBuilder.h252 unsigned LineNo, DIScope *Context,
280 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
319 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
421 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
442 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
591 void retainType(DIScope *T);
655 createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File,
775 DINamespace *createNameSpace(DIScope *Scope, StringRef Name,
795 DIModule *createModule(DIScope *Scope, StringRef Name,
815 DILexicalBlock *createLexicalBlock(DIScope *Scope, DIFile *File,
[all …]
H A DDebugInfo.h112 void processScope(DIScope *Scope);
116 bool addScope(DIScope *Scope);
127 using scope_iterator = SmallVectorImpl<DIScope *>::const_iterator;
160 SmallVector<DIScope *, 8> Scopes;
H A DDebugInfoMetadata.h476 class DIScope : public DINode {
481 ~DIScope() = default;
491 DIScope *getScope() const;
530 class DIFile : public DIScope {
707 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope()
1999 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope()
2283 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope()
2349 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope()
2499 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); } in getScope()
3029 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
[all …]
H A DMetadata.def89 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIScope)
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DDIBuilder.cpp132 static DIScope *getNonCompileUnitScope(DIScope *N) { in getNonCompileUnitScope()
135 return cast<DIScope>(N); in getNonCompileUnitScope()
180 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule()
188 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule()
317 DIScope *Context, in createTypedef()
459 assert((!Context || isa<DIScope>(Context)) && in createClassType()
598 void DIBuilder::retainType(DIScope *T) { in retainType()
688 static void checkGlobalVariableScope(DIScope *Context) { in checkGlobalVariableScope()
738 DIScope *Context = getNonCompileUnitScope(Scope); in createLocalVariable()
774 DIScope *Scope, StringRef Name, DIFile *File, in createLabel()
[all …]
H A DDebugInfo.cpp232 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope()
337 bool DebugInfoFinder::addScope(DIScope *Scope) { in addScope()
911 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
977 unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromAlias()
1002 unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedDeclaration()
1032 return wrap(unwrapDI<DIScope>(Scope)->getFile()); in LLVMDIScopeGetFile()
1191 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateStaticMemberType()
1238 unwrapDI<DIScope>(Scope), AlignInBits)); in LLVMDIBuilderCreateTypedef()
1258 Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateForwardDecl()
1319 unwrapDI<DIScope>(Scope), {Name, NameLen}, in LLVMDIBuilderCreateBitFieldMemberType()
[all …]
H A DDebugLoc.cpp109 auto *Scope = cast<DIScope>(getScope()); in print()
H A DDebugInfoMetadata.cpp111 SmallSet<std::pair<DIScope *, DILocation *>, 5> Locations; in getMergedLocation()
112 DIScope *S = LocA->getScope(); in getMergedLocation()
237 DIScope *DIScope::getScope() const { in getScope()
261 StringRef DIScope::getName() const { in getName()
H A DVerifier.cpp468 void visitDIScope(const DIScope &N);
920 static bool isScope(const Metadata *MD) { return !MD || isa<DIScope>(MD); } in isScope()
936 void Verifier::visitDIScope(const DIScope &N) { in visitDIScope()
1314 AssertDI(isa<DIScope>(S), "invalid scope ref", &N, S); in visitDICommonBlock()
1322 AssertDI(isa<DIScope>(S), "invalid scope ref", &N, S); in visitDINamespace()
1384 AssertDI(isa<DIScope>(S), "invalid scope", &N, S); in visitDIVariable()
1418 AssertDI(isa<DIScope>(S), "invalid scope", &N, S); in visitDILabel()
1456 AssertDI(isa<DIScope>(S), "invalid scope for imported entity", &N, S); in visitDIImportedEntity()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h114 std::string getParentContextString(const DIScope *Context) const;
118 const DIScope *Context) = 0;
122 const DIScope *Context) = 0;
244 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty);
250 DIE *getOrCreateContextDIE(const DIScope *Context);
344 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
376 const DIScope *Context) override;
378 const DIScope *Context) override;
H A DDwarfCompileUnit.h173 DIScope *Scope = IE->getScope(); in addImportedEntity()
312 const DIScope *Context) override;
315 void addGlobalNameForTypeUnit(StringRef Name, const DIScope *Context);
319 const DIScope *Context) override;
322 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
H A DCodeViewDebug.h198 DenseMap<const DIScope*, std::unique_ptr<GlobalVariableList> > ScopeGlobals;
390 codeview::TypeIndex getScopeIndex(const DIScope *Scope);
451 collectParentScopeNames(const DIScope *Scope,
453 std::string getFullyQualifiedName(const DIScope *Scope, StringRef Name);
454 std::string getFullyQualifiedName(const DIScope *Scope);
H A DCodeViewDebug.cpp263 static StringRef getPrettyScopeName(const DIScope *Scope) { in getPrettyScopeName()
338 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
393 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram()
508 const DIScope *Scope = DL.get()->getScope(); in maybeRecordLocation()
1484 if (DIScope *Scope = T->getScope()) { in shouldEmitUdt()
2061 const DIScope *ImmediateScope = Ty->getScope(); in getCommonClassOptions()
3074 DIScope *Scope = DIGV->getScope(); in collectGlobalVariableInfo()
3099 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals()
3106 const DIScope *Scope = DIGV->getScope(); in collectDebugInfoForGlobals()
3162 const DIScope *Scope = DTy->getScope(); in emitStaticConstMemberList()
[all …]
H A DDwarfUnit.cpp538 DIE *DwarfUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE()
568 DIE *DwarfUnit::createTypeDIE(const DIScope *Context, DIE &ContextDIE, in createTypeDIE()
628 void DwarfUnit::updateAcceleratorTables(const DIScope *Context, in updateAcceleratorTables()
652 std::string DwarfUnit::getParentContextString(const DIScope *Context) const { in getParentContextString()
661 SmallVector<const DIScope *, 1> Parents; in getParentContextString()
664 if (const DIScope *S = Context->getScope()) in getParentContextString()
674 for (const DIScope *Ctx : make_range(Parents.rbegin(), Parents.rend())) { in getParentContextString()
1764 const DIScope *Context) { in addGlobalName()
1769 const DIScope *Context) { in addGlobalType()
H A DDwarfCompileUnit.cpp154 DIScope *DeclContext; in getOrCreateGlobalVariableDIE()
1366 const DIScope *Context) { in addGlobalName()
1374 const DIScope *Context) { in addGlobalNameForTypeUnit()
1387 const DIScope *Context) { in addGlobalType()
1395 const DIScope *Context) { in addGlobalTypeUnitType()
H A DDwarfDebug.cpp2057 if (auto *Scope = cast_or_null<DIScope>(S)) { in recordSourceLine()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.h141 std::vector<llvm::TypedTrackingMDRef<llvm::DIScope>> LexicalBlockStack;
298 llvm::DIFile *tunit, llvm::DIScope *scope,
304 llvm::DIScope *scope,
312 llvm::DIScope *RecordTy,
573 llvm::DIScope *getDeclContextDescriptor(const Decl *D);
575 llvm::DIScope *getContextDescriptor(const Decl *Context,
576 llvm::DIScope *Default);
578 llvm::DIScope *getCurrentContextDescriptor(const Decl *Decl);
582 llvm::DIScope *);
729 llvm::DIScope *&FDContext,
[all …]
H A DCGDebugInfo.cpp202 llvm::DIScope *Mod = getParentModuleOrNull(D); in getDeclContextDescriptor()
215 return dyn_cast_or_null<llvm::DIScope>(V); in getContextDescriptor()
2580 llvm::DIScope *Mod = getParentModuleOrNull(ID); in CreateType()
2700 llvm::DIScope *Mod = getParentModuleOrNull(ID); in CreateTypeDefinition()
3626 llvm::DIScope *Mod = getParentModuleOrNull(VD); in collectVarDeclProps()
3638 llvm::DIScope *DContext = Unit; in getFunctionFwdDeclOrStub()
3691 llvm::DIScope *DContext = Unit; in getGlobalVariableForwardDeclaration()
3895 llvm::DIScope *FDContext = Unit; in emitFunctionStart()
4003 llvm::DIScope *FDContext = in EmitFunctionDecl()
4788 llvm::DIScope *DContext = nullptr; in EmitGlobalVariable()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/tools/opt/
H A DBreakpointPrinter.cpp30 void getContextName(const DIScope *Context, std::string &N) { in getContextName()
/netbsd/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp95 std::vector<DIScope *> LexicalBlocks;
846 DIScope *Scope; in emitLocation()
1251 DIScope *FContext = Unit; in codegen()
/netbsd/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl09.rst259 DIScope *FContext = Unit;
338 DIScope *Scope;
354 std::vector<DIScope *> LexicalBlocks;
/netbsd/external/apache2/llvm/dist/llvm/lib/Linker/
H A DIRMover.cpp1182 DIScope *Scope = IE->getScope(); in prepareCompileUnitsForImport()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp649 auto *Scope = cast<DIScope>(DL.getScope()); in printDebugLoc()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp84 static DISubprogram *getSubprogram(DIScope *Scope) { in getSubprogram()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp832 DIScope *Scope, unsigned LineNum, in solveDIType()

12