Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DDIBuilder.h166 unsigned LineNo, DIScope *Context);
191 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
209 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
222 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
274 DICompositeType *createClassType(DIScope *Scope, StringRef Name,
295 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
311 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
324 createTemplateTypeParameter(DIScope *Scope, StringRef Name, DIType *Ty);
332 DITemplateValueParameter *createTemplateValueParameter(DIScope *Scope,
342 DITemplateValueParameter *createTemplateTemplateParameter(DIScope *Scope,
[all …]
DDebugInfo.h78 void processScope(DIScope *Scope);
83 bool addScope(DIScope *Scope);
92 typedef SmallVectorImpl<DIScope *>::const_iterator scope_iterator;
125 SmallVector<DIScope *, 8> Scopes;
DDebugInfoMetadata.h83 typedef TypedDINodeRef<DIScope> DIScopeRef;
399 class DIScope : public DINode {
401 DIScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
404 ~DIScope() = default;
422 return isa<DIFile>(this) ? const_cast<DIScope *>(this)
450 class DIFile : public DIScope {
455 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops) {}
492 StringRef DIScope::getFilename() const {
498 StringRef DIScope::getDirectory() const {
509 class DIType : public DIScope {
[all …]
DMetadata.def89 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIScope)
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDebugInfo.h155 class DIScope : public DIDescriptor {
157 explicit DIScope(const MDNode *N = 0) : DIDescriptor (N) {} in DIDescriptor()
158 virtual ~DIScope() {} in ~DIScope()
165 class DICompileUnit : public DIScope {
167 explicit DICompileUnit(const MDNode *N = 0) : DIScope(N) {} in DIScope() function
204 class DIFile : public DIScope {
206 explicit DIFile(const MDNode *N = 0) : DIScope(N) { in DIScope() function
232 class DIType : public DIScope {
237 DIType(const MDNode *N, bool, bool) : DIScope(N) {} in DIType()
248 DIScope getContext() const { return getFieldAs<DIScope>(1); } in getContext()
[all …]
/external/llvm/lib/IR/
DDIBuilder.cpp105 static DIScope *getNonCompileUnitScope(DIScope *N) { in getNonCompileUnitScope()
108 return cast<DIScope>(N); in getNonCompileUnitScope()
136 createImportedModule(LLVMContext &C, dwarf::Tag Tag, DIScope *Context, in createImportedModule()
148 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule()
155 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule()
162 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, DIModule *M, in createImportedModule()
168 DIImportedEntity *DIBuilder::createImportedDeclaration(DIScope *Context, in createImportedDeclaration()
239 DIScope *Context) { in createTypedef()
260 DIDerivedType *DIBuilder::createMemberType(DIScope *Scope, StringRef Name, in createMemberType()
278 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createBitFieldMemberType()
[all …]
DDebugInfo.cpp117 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope()
231 bool DebugInfoFinder::addScope(DIScope *Scope) { in addScope()
DDebugLoc.cpp90 auto *Scope = cast<DIScope>(getScope()); in print()
DDebugInfoMetadata.cpp119 DIScopeRef DIScope::getScope() const { in getScope()
140 StringRef DIScope::getName() const { in getName()
/external/clang/lib/CodeGen/
DCGDebugInfo.h109 std::vector<llvm::TypedTrackingMDRef<llvm::DIScope>> LexicalBlockStack;
237 llvm::DIScope *scope,
242 llvm::DIScope *RecordTy,
397 llvm::DIScope *getDeclContextDescriptor(const Decl *D);
399 llvm::DIScope *getContextDescriptor(const Decl *Context,
400 llvm::DIScope *Default);
402 llvm::DIScope *getCurrentContextDescriptor(const Decl *Decl);
406 llvm::DIScope *);
481 llvm::GlobalVariable *Var, llvm::DIScope *DContext);
515 llvm::DIScope *&FDContext,
[all …]
DCGDebugInfo.cpp136 auto *Scope = cast<llvm::DIScope>(LexicalBlockStack.back()); in setLocation()
154 llvm::DIScope *CGDebugInfo::getDeclContextDescriptor(const Decl *D) { in getDeclContextDescriptor()
155 llvm::DIScope *Mod = getParentModuleOrNull(D); in getDeclContextDescriptor()
160 llvm::DIScope *CGDebugInfo::getContextDescriptor(const Decl *Context, in getContextDescriptor()
161 llvm::DIScope *Default) { in getContextDescriptor()
168 return dyn_cast_or_null<llvm::DIScope>(V); in getContextDescriptor()
718 llvm::DIScope *Ctx) { in getOrCreateRecordFwdDecl()
954 llvm::DIScope *RecordTy, in createBitFieldType()
983 llvm::DIFile *tunit, llvm::DIScope *scope, in createFieldType()
1818 llvm::DIScope *Mod = getParentModuleOrNull(ID); in CreateType()
[all …]
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp79 return wrap(D->createFunction(unwrap<DIScope>(Scope), Name, LinkageName, in LLVMDIBuilderCreateFunction()
92 return wrap(D->createAutoVariable(unwrap<DIScope>(Scope), Name, in LLVMDIBuilderCreateAutoVariable()
103 unwrap<DIScope>(Scope), Name, ArgNo, unwrap<DIFile>(File), Line, in LLVMDIBuilderCreateParameterVariable()
141 unwrap<DIScope>(Scope), Name, File ? unwrap<DIFile>(File) : nullptr, Line, in LLVMDIBuilderCreateStructType()
154 Tag, Name, unwrap<DIScope>(Scope), File ? unwrap<DIFile>(File) : nullptr, in LLVMDIBuilderCreateReplaceableCompositeType()
166 unwrap<DIScope>(Scope), Name, File ? unwrap<DIFile>(File) : nullptr, Line, in LLVMDIBuilderCreateMemberType()
188 Context ? unwrap<DIScope>(Context) : nullptr)); in LLVMDIBuilderCreateTypedef()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h138 std::string getParentContextString(const DIScope *Context) const;
141 virtual void addGlobalName(StringRef Name, DIE &Die, const DIScope *Context) { in addGlobalName()
146 const DIScope *Context) {} in addGlobalType()
293 DIE *getOrCreateContextDIE(const DIScope *Context);
360 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
DDwarfCompileUnit.h121 DIScope *Scope = IE->getScope(); in addImportedEntity()
215 void addGlobalName(StringRef Name, DIE &Die, const DIScope *Context) override;
219 const DIScope *Context) override;
DCodeViewDebug.cpp131 static StringRef getPrettyScopeName(const DIScope *Scope) { in getPrettyScopeName()
150 const DIScope *Scope, SmallVectorImpl<StringRef> &QualifiedNameComponents) { in getQualifiedNameComponents()
174 static std::string getFullyQualifiedName(const DIScope *Scope, StringRef Name) { in getFullyQualifiedName()
192 static std::string getFullyQualifiedName(const DIScope *Ty) { in getFullyQualifiedName()
193 const DIScope *Scope = Ty->getScope().resolve(); in getFullyQualifiedName()
197 TypeIndex CodeViewDebug::getScopeIndex(const DIScope *Scope) { in getScopeIndex()
231 const DIScope *Scope = SP->getScope().resolve(); in getFuncIdForSubprogram()
313 const DIScope *Scope = DL.get()->getScope(); in maybeRecordLocation()
1401 const DIScope *ImmediateScope = Ty->getScope().resolve(); in getCommonClassOptions()
1406 for (const DIScope *Scope = ImmediateScope; Scope != nullptr; in getCommonClassOptions()
DDwarfCompileUnit.cpp121 DIScope *DeclContext; in getOrCreateGlobalVariableDIE()
724 const DIScope *Context) { in addGlobalName()
733 const DIScope *Context) { in addGlobalType()
DCodeViewDebug.h237 codeview::TypeIndex getScopeIndex(const DIScope *Scope);
DDwarfUnit.cpp661 DIE *DwarfUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE()
735 void DwarfUnit::updateAcceleratorTables(const DIScope *Context, in updateAcceleratorTables()
759 std::string DwarfUnit::getParentContextString(const DIScope *Context) const { in getParentContextString()
768 SmallVector<const DIScope *, 1> Parents; in getParentContextString()
781 for (const DIScope *Ctx : make_range(Parents.rbegin(), Parents.rend())) { in getParentContextString()
/external/llvm/tools/opt/
DBreakpointPrinter.cpp31 void getContextName(const DIScope *Context, std::string &N) { in getContextName()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DDebugInfo.cpp296 DIType::DIType(const MDNode *N) : DIScope(N) { in DIType()
551 StringRef DIScope::getFilename() const { in getFilename()
572 StringRef DIScope::getDirectory() const { in getDirectory()
758 DIScope Scope(DL.getScope(Ctx)); in printDebugLoc()
1021 DIScope Context = LB.getContext(); in processLexicalBlock()
/external/llvm/docs/tutorial/
DLangImpl09.rst258 DIScope *FContext = Unit;
337 DIScope *Scope;
354 std::vector<DIScope *> LexicalBlocks;
355 std::map<const PrototypeAST *, DIScope *> FnScopeMap;
358 DISubprogram is also an DIScope).
399 DIScope *Scope = KSDbgInfo.LexicalBlocks.back();
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DOProfileJITEventListener.cpp84 Filename = DIScope(Scope).getFilename(); in getFilename()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.def90 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIScope)
/external/llvm/unittests/IR/
DMetadataTest.cpp991 DIScope *Scope = getSubprogram(); in TEST_F()
1052 DIScope *Scope = getSubprogram(); in TEST_F()
1071 DIScope *Scope = getSubprogram(); in TEST_F()
1190 DIScope *Scope = getSubprogram(); in TEST_F()
1216 DIScope *Scope = getSubprogram(); in TEST_F()
1311 DIScope *N = DIFile::get(Context, "file", "dir"); in TEST_F()
1413 DIScope *Scope = getCompositeType(); in TEST_F()
1644 DIScope *Scope = getFile(); in TEST_F()
1670 DIScope *Scope = getFile(); in TEST_F()
1754 DIScope *Scope = getSubprogram(); in TEST_F()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp95 std::vector<DIScope *> LexicalBlocks;
833 DIScope *Scope; in emitLocation()
1243 DIScope *FContext = Unit; in codegen()

12