Home
last modified time | relevance | path

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

123

/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDIBuilder.h238 unsigned LineNo, DIScope *Context);
265 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
285 DIDerivedType *createVariantMemberType(DIScope *Scope, StringRef Name,
304 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
318 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
372 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
390 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
406 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
427 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
441 createTemplateTypeParameter(DIScope *Scope, StringRef Name, DIType *Ty);
[all …]
DDebugInfo.h86 void processScope(DIScope *Scope);
91 bool addScope(DIScope *Scope);
102 using scope_iterator = SmallVectorImpl<DIScope *>::const_iterator;
135 SmallVector<DIScope *, 8> Scopes;
DDebugInfoMetadata.h99 using DIScopeRef = TypedDINodeRef<DIScope>;
447 class DIScope : public DINode {
449 DIScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
452 ~DIScope() = default;
471 return isa<DIFile>(this) ? const_cast<DIScope *>(this)
499 class DIFile : public DIScope {
542 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops),
607 StringRef DIScope::getFilename() const {
613 StringRef DIScope::getDirectory() const {
619 Optional<StringRef> DIScope::getSource() const {
[all …]
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDIBuilder.cpp132 static DIScope *getNonCompileUnitScope(DIScope *N) { in getNonCompileUnitScope()
135 return cast<DIScope>(N); in getNonCompileUnitScope()
162 createImportedModule(LLVMContext &C, dwarf::Tag Tag, DIScope *Context, in createImportedModule()
177 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule()
185 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule()
193 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, DIModule *M, in createImportedModule()
200 DIImportedEntity *DIBuilder::createImportedDeclaration(DIScope *Context, in createImportedDeclaration()
306 DIScope *Context) { in createTypedef()
331 DIDerivedType *DIBuilder::createMemberType(DIScope *Scope, StringRef Name, in createMemberType()
348 DIDerivedType *DIBuilder::createVariantMemberType(DIScope *Scope, StringRef Name, in createVariantMemberType()
[all …]
DDebugInfo.cpp149 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope()
269 bool DebugInfoFinder::addScope(DIScope *Scope) { in addScope()
784 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
795 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
805 unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen}, in LLVMDIBuilderCreateFunction()
815 return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
825 return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
836 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromNamespace()
849 unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromAlias()
860 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromModule()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h127 std::string getParentContextString(const DIScope *Context) const;
131 const DIScope *Context) = 0;
135 const DIScope *Context) = 0;
266 DIE *getOrCreateContextDIE(const DIScope *Context);
336 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
397 const DIScope *Context) override;
399 const DIScope *Context) override;
DDwarfCompileUnit.h150 DIScope *Scope = IE->getScope(); in addImportedEntity()
250 const DIScope *Context) override;
253 void addGlobalNameForTypeUnit(StringRef Name, const DIScope *Context);
257 const DIScope *Context) override;
260 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
DDwarfCompileUnit.cpp128 DIScope *DeclContext; in getOrCreateGlobalVariableDIE()
890 const DIScope *Context) { in addGlobalName()
898 const DIScope *Context) { in addGlobalNameForTypeUnit()
911 const DIScope *Context) { in addGlobalType()
919 const DIScope *Context) { in addGlobalTypeUnitType()
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DBreakpointPrinter.cpp31 void getContextName(const DIScope *Context, std::string &N) { in getContextName()
/external/llvm/tools/opt/
DBreakpointPrinter.cpp31 void getContextName(const DIScope *Context, std::string &N) { in getContextName()
/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();

123