Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h242 unsigned LineNo, DIScope *Context,
270 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
290 DIDerivedType *createVariantMemberType(DIScope *Scope, StringRef Name,
309 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
323 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
377 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
395 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
411 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
432 DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
446 createTemplateTypeParameter(DIScope *Scope, StringRef Name, DIType *Ty);
[all …]
DDebugInfo.h85 void processScope(DIScope *Scope);
90 bool addScope(DIScope *Scope);
101 using scope_iterator = SmallVectorImpl<DIScope *>::const_iterator;
134 SmallVector<DIScope *, 8> Scopes;
DDebugInfoMetadata.h399 class DIScope : public DINode {
401 DIScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, in DIScope() function
404 ~DIScope() = default;
414 DIScope *getScope() const;
423 return isa<DIFile>(this) ? const_cast<DIScope *>(this) in getRawFile()
452 class DIFile : public DIScope {
495 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops), in DIFile()
560 StringRef DIScope::getFilename() const { in getFilename()
566 StringRef DIScope::getDirectory() const { in getDirectory()
572 Optional<StringRef> DIScope::getSource() const { in getSource()
[all …]
DMetadata.def89 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIScope)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp132 static DIScope *getNonCompileUnitScope(DIScope *N) { in getNonCompileUnitScope()
135 return cast<DIScope>(N); in getNonCompileUnitScope()
164 createImportedModule(LLVMContext &C, dwarf::Tag Tag, DIScope *Context, in createImportedModule()
179 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule()
187 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, in createImportedModule()
195 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, DIModule *M, in createImportedModule()
202 DIImportedEntity *DIBuilder::createImportedDeclaration(DIScope *Context, in createImportedDeclaration()
309 DIScope *Context, in createTypedef()
335 DIDerivedType *DIBuilder::createMemberType(DIScope *Scope, StringRef Name, in createMemberType()
353 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber, in createVariantMemberType()
[all …]
DDebugInfo.cpp148 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope()
268 bool DebugInfoFinder::addScope(DIScope *Scope) { in addScope()
787 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
798 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
808 unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen}, in LLVMDIBuilderCreateFunction()
819 return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
829 return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
840 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromNamespace()
853 unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromAlias()
864 return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope), in LLVMDIBuilderCreateImportedModuleFromModule()
[all …]
DDebugLoc.cpp123 auto *Scope = cast<DIScope>(getScope()); in print()
DDebugInfoMetadata.cpp89 SmallSet<std::pair<DIScope *, DILocation *>, 5> Locations; in getMergedLocation()
90 DIScope *S = LocA->getScope(); in getMergedLocation()
215 DIScope *DIScope::getScope() const { in getScope()
239 StringRef DIScope::getName() const { in getName()
DVerifier.cpp428 void visitDIScope(const DIScope &N);
871 static bool isScope(const Metadata *MD) { return !MD || isa<DIScope>(MD); } in isScope()
887 void Verifier::visitDIScope(const DIScope &N) { in visitDIScope()
1179 AssertDI(isa<DIScope>(S), "invalid scope ref", &N, S); in visitDICommonBlock()
1187 AssertDI(isa<DIScope>(S), "invalid scope ref", &N, S); in visitDINamespace()
1242 AssertDI(isa<DIScope>(S), "invalid scope", &N, S); in visitDIVariable()
1274 AssertDI(isa<DIScope>(S), "invalid scope", &N, S); in visitDILabel()
1312 AssertDI(isa<DIScope>(S), "invalid scope for imported entity", &N, S); in visitDIImportedEntity()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h103 std::string getParentContextString(const DIScope *Context) const;
107 const DIScope *Context) = 0;
111 const DIScope *Context) = 0;
234 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty);
240 DIE *getOrCreateContextDIE(const DIScope *Context);
336 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
368 const DIScope *Context) override;
370 const DIScope *Context) override;
DDwarfCompileUnit.h168 DIScope *Scope = IE->getScope(); in addImportedEntity()
305 const DIScope *Context) override;
308 void addGlobalNameForTypeUnit(StringRef Name, const DIScope *Context);
312 const DIScope *Context) override;
315 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
DDwarfUnit.cpp619 DIE *DwarfUnit::getOrCreateContextDIE(const DIScope *Context) { in getOrCreateContextDIE()
649 DIE *DwarfUnit::createTypeDIE(const DIScope *Context, DIE &ContextDIE, in createTypeDIE()
707 void DwarfUnit::updateAcceleratorTables(const DIScope *Context, in updateAcceleratorTables()
731 std::string DwarfUnit::getParentContextString(const DIScope *Context) const { in getParentContextString()
740 SmallVector<const DIScope *, 1> Parents; in getParentContextString()
743 if (const DIScope *S = Context->getScope()) in getParentContextString()
753 for (const DIScope *Ctx : make_range(Parents.rbegin(), Parents.rend())) { in getParentContextString()
1699 const DIScope *Context) { in addGlobalName()
1704 const DIScope *Context) { in addGlobalType()
DCodeViewDebug.h198 DenseMap<const DIScope*, std::unique_ptr<GlobalVariableList> > ScopeGlobals;
389 codeview::TypeIndex getScopeIndex(const DIScope *Scope);
DCodeViewDebug.cpp288 static StringRef getPrettyScopeName(const DIScope *Scope) { in getPrettyScopeName()
307 const DIScope *Scope, SmallVectorImpl<StringRef> &QualifiedNameComponents) { in getQualifiedNameComponents()
332 static std::string getFullyQualifiedName(const DIScope *Scope, StringRef Name) { in getFullyQualifiedName()
350 static std::string getFullyQualifiedName(const DIScope *Ty) { in getFullyQualifiedName()
351 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
355 TypeIndex CodeViewDebug::getScopeIndex(const DIScope *Scope) { in getScopeIndex()
386 const DIScope *Scope = SP->getScope(); in getFuncIdForSubprogram()
501 const DIScope *Scope = DL.get()->getScope(); in maybeRecordLocation()
1442 if (DIScope *Scope = T->getScope()) { in shouldEmitUdt()
2007 const DIScope *ImmediateScope = Ty->getScope(); in getCommonClassOptions()
[all …]
DDwarfCompileUnit.cpp141 DIScope *DeclContext; in getOrCreateGlobalVariableDIE()
1141 const DIScope *Context) { in addGlobalName()
1149 const DIScope *Context) { in addGlobalNameForTypeUnit()
1162 const DIScope *Context) { in addGlobalType()
1170 const DIScope *Context) { in addGlobalTypeUnitType()
DDwarfDebug.cpp1790 if (auto *Scope = cast_or_null<DIScope>(S)) { in recordSourceLine()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.hpp37 class DIScope;
123 llvm::DIScope *scope = nullptr;
130 llvm::DIScope *di;
/third_party/skia/third_party/externals/swiftshader/docs/
DReactorDebugInfo.md121 `rr::DebugInfo` maintains a stack of `llvm::DIScope`s and `llvm::DILocation`s
146 The `DIScope` hierarchy would be:
169 `llvm::DIScope`s typically do not nest - there is usually a separate
199 Duplicate symbols in the same `llvm::DIScope` result in undefined behavior.
206 At the declaration of `i`, the `DIScope` hierarchy would be:
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.def90 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIScope)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveDebugVariables.cpp496 auto *Scope = cast<DIScope>(DL.getScope()); in printDebugLoc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp1157 DIScope *Scope = IE->getScope(); in prepareCompileUnitsForImport()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp2061 if (!isa<DIScope>(Scope)) in parseDILocation()