Lines Matching defs:DIScope

95 typedef TypedDINodeRef<DIScope> DIScopeRef;
407 class DIScope : public DINode {
409 DIScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
412 ~DIScope() = default;
425 /// An \a DIFile is an \a DIScope, but it doesn't point at a separate file
430 return isa<DIFile>(this) ? const_cast<DIScope *>(this)
460 class DIFile : public DIScope {
465 : DIScope(C, DIFileKind, Storage, dwarf::DW_TAG_file_type, Ops) {}
502 StringRef DIScope::getFilename() const {
508 StringRef DIScope::getDirectory() const {
519 class DIType : public DIScope {
530 : DIScope(C, ID, Storage, Tag, Ops), Line(Line), Flags(Flags),
924 class DICompileUnit : public DIScope {
937 : DIScope(C, DICompileUnitKind, Storage, dwarf::DW_TAG_compile_unit, Ops),
1084 class DILocalScope : public DIScope {
1088 : DIScope(C, ID, Storage, Tag, Ops) {}
1514 class DINamespace : public DIScope {
1522 : DIScope(Context, DINamespaceKind, Storage, dwarf::DW_TAG_namespace,
1527 static DINamespace *getImpl(LLVMContext &Context, DIScope *Scope,
1543 DEFINE_MDNODE_GET(DINamespace, (DIScope * Scope, DIFile *File, StringRef Name,
1553 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
1566 class DIModule : public DIScope {
1571 : DIScope(Context, DIModuleKind, Storage, dwarf::DW_TAG_module, Ops) {}
1574 static DIModule *getImpl(LLVMContext &Context, DIScope *Scope,
1596 DEFINE_MDNODE_GET(DIModule, (DIScope *Scope, StringRef Name,
1607 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
1738 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
1783 getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name,
1810 (DIScope * Scope, StringRef Name, StringRef LinkageName,
1864 static DILocalVariable *getImpl(LLVMContext &Context, DIScope *Scope,
2166 DIScope *Scope, DINodeRef Entity,
2186 (unsigned Tag, DIScope *Scope, DINodeRef Entity,
2197 DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }