reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

include/llvm/IR/DebugInfoMetadata.h
  452 class DIFile : public DIScope {
  583 class DIType : public DIScope {
 1115 class DICompileUnit : public DIScope {
 1325 class DILocalScope : public DIScope {
 2018 class DINamespace : public DIScope {
 2070 class DIModule : public DIScope {
 2686 class DICommonBlock : public DIScope {

Declarations

include/llvm/IR/Metadata.def
   89 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIScope)

References

examples/Kaleidoscope/Chapter9/toy.cpp
   95   std::vector<DIScope *> LexicalBlocks;
  833   DIScope *Scope;
 1243   DIScope *FContext = Unit;
include/llvm/IR/DIBuilder.h
  241                                  unsigned LineNo, DIScope *Context);
  268     DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
  288     DIDerivedType *createVariantMemberType(DIScope *Scope, StringRef Name,
  307         DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
  321     DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
  375         DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  393         DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  409     DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
  430     DICompositeType *createVariantPart(DIScope *Scope, StringRef Name,
  444     createTemplateTypeParameter(DIScope *Scope, StringRef Name, DIType *Ty);
  452     DITemplateValueParameter *createTemplateValueParameter(DIScope *Scope,
  462     DITemplateValueParameter *createTemplateTemplateParameter(DIScope *Scope,
  472     DITemplateValueParameter *createTemplateParameterPack(DIScope *Scope,
  506         DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  533                                        DIScope *Scope, DIFile *F, unsigned Line,
  541         unsigned Tag, StringRef Name, DIScope *Scope, DIFile *F, unsigned Line,
  548     void retainType(DIScope *T);
  583         DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File,
  591         DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File,
  604     createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File,
  614     createLabel(DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
  629     createParameterVariable(DIScope *Scope, StringRef Name, unsigned ArgNo,
  662     createFunction(DIScope *Scope, StringRef Name, StringRef LinkageName,
  673         DIScope *Scope, StringRef Name, StringRef LinkageName, DIFile *File,
  700     createMethod(DIScope *Scope, StringRef Name, StringRef LinkageName,
  715     DICommonBlock *createCommonBlock(DIScope *Scope, DIGlobalVariable *decl,
  724     DINamespace *createNameSpace(DIScope *Scope, StringRef Name,
  736     DIModule *createModule(DIScope *Scope, StringRef Name,
  747     DILexicalBlockFile *createLexicalBlockFile(DIScope *Scope, DIFile *File,
  756     DILexicalBlock *createLexicalBlock(DIScope *Scope, DIFile *File,
  764     DIImportedEntity *createImportedModule(DIScope *Context, DINamespace *NS,
  772     DIImportedEntity *createImportedModule(DIScope *Context,
  781     DIImportedEntity *createImportedModule(DIScope *Context, DIModule *M,
  790     DIImportedEntity *createImportedDeclaration(DIScope *Context, DINode *Decl,
include/llvm/IR/DebugInfo.h
   85   void processScope(DIScope *Scope);
   90   bool addScope(DIScope *Scope);
  101   using scope_iterator = SmallVectorImpl<DIScope *>::const_iterator;
  134   SmallVector<DIScope *, 8> Scopes;
include/llvm/IR/DebugInfoMetadata.h
  414   DIScope *getScope() const;
  452 class DIFile : public DIScope {
  583 class DIType : public DIScope {
  628   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
  628   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
  775           unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits,
  917           unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits,
 1115 class DICompileUnit : public DIScope {
 1325 class DILocalScope : public DIScope {
 1661   getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name,
 1784   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 1784   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 1969   DIScope *Scope = getScope();
 2018 class DINamespace : public DIScope {
 2031   static DINamespace *getImpl(LLVMContext &Context, DIScope *Scope,
 2057   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 2057   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 2070 class DIModule : public DIScope {
 2078   static DIModule *getImpl(LLVMContext &Context, DIScope *Scope,
 2111   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 2111   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 2245   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 2245   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 2621   getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name,
 2686 class DICommonBlock : public DIScope {
 2697   static DICommonBlock *getImpl(LLVMContext &Context, DIScope *Scope,
 2727   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 2727   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 2764   static DILocalVariable *getImpl(LLVMContext &Context, DIScope *Scope,
 2844   static DILabel *getImpl(LLVMContext &Context, DIScope *Scope,
 3002                                    DIScope *Scope, DINode *Entity, DIFile *File,
 3033   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
 3033   DIScope *getScope() const { return cast_or_null<DIScope>(getRawScope()); }
include/llvm/IR/Metadata.h
 1192     : public std::iterator<std::input_iterator_tag, T *, std::ptrdiff_t, void,
 1193                            T *> {
 1200   T *operator*() const { return cast_or_null<T>(*I); }
 1200   T *operator*() const { return cast_or_null<T>(*I); }
 1230       const MDTupleTypedArrayWrapper<U> &Other,
 1231       typename std::enable_if<std::is_convertible<U *, T *>::value>::type * =
 1231       typename std::enable_if<std::is_convertible<U *, T *>::value>::type * =
 1252   T *operator[](unsigned I) const { return cast_or_null<T>(N->getOperand(I)); }
 1255   using iterator = TypedMDOperandIterator<T>;
include/llvm/IR/TrackingMDRef.h
  111   explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {}
  126   T *get() const { return (T *)Ref.get(); }
  127   operator T *() const { return get(); }
  128   T *operator->() const { return get(); }
  129   T &operator*() const { return *get(); }
  135   void reset(T *MD) { Ref.reset(static_cast<Metadata *>(MD)); }
  160   using SimpleType = T *;
  162   static SimpleType getSimplifiedValue(TypedTrackingMDRef<T> &MD) {
  168   using SimpleType = T *;
  170   static SimpleType getSimplifiedValue(const TypedTrackingMDRef<T> &MD) {
include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
   90   static inline bool doit(const From *Val) {
   92     return isa_impl<To, From>::doit(*Val);
   92     return isa_impl<To, From>::doit(*Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  218   static typename cast_retty<To, From>::ret_type doit(From &Val) {
  219     return cast_convert_val<To, SimpleFrom,
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  228     typename cast_retty<To, FromTy>::ret_type Res2
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  248                                typename cast_retty<X, const Y>::ret_type>::type
  252       X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  258   return cast_convert_val<X, Y,
  259                           typename simplify_type<Y>::SimpleType>::doit(Val);
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  285                             typename cast_retty<X, const Y>::ret_type>::type
  290   return cast<X>(Val);
  296                             typename cast_retty<X, Y>::ret_type>::type
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  306 cast_or_null(Y *Val) {
  309   return cast<X>(Val);
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  367 dyn_cast_or_null(Y *Val) {
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  288 static StringRef getPrettyScopeName(const DIScope *Scope) {
  307     const DIScope *Scope, SmallVectorImpl<StringRef> &QualifiedNameComponents) {
  332 static std::string getFullyQualifiedName(const DIScope *Scope, StringRef Name) {
  350 static std::string getFullyQualifiedName(const DIScope *Ty) {
  351   const DIScope *Scope = Ty->getScope();
  355 TypeIndex CodeViewDebug::getScopeIndex(const DIScope *Scope) {
  386   const DIScope *Scope = SP->getScope();
  501   const DIScope *Scope = DL.get()->getScope();
 1442     if (DIScope *Scope = T->getScope()) {
 2007   const DIScope *ImmediateScope = Ty->getScope();
 2019     for (const DIScope *Scope = ImmediateScope; Scope != nullptr;
 3007       DIScope *Scope = DIGV->getScope();
 3059     for (auto *Ty : cast<DICompileUnit>(Node)->getRetainedTypes()) {
 3121     const DIScope *Scope = DIGV->getScope();
lib/CodeGen/AsmPrinter/CodeViewDebug.h
  198   DenseMap<const DIScope*, std::unique_ptr<GlobalVariableList> > ScopeGlobals;
  389   codeview::TypeIndex getScopeIndex(const DIScope *Scope);
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  121   auto *GVContext = GV->getScope();
  132   DIScope *DeclContext;
 1124                                      const DIScope *Context) {
 1132                                                 const DIScope *Context) {
 1145                                      const DIScope *Context) {
 1153                                              const DIScope *Context) {
 1269   auto *Context = SPDecl ? SPDecl->getScope() : SP->getScope();
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  165     DIScope *Scope = IE->getScope();
  302                      const DIScope *Context) override;
  305   void addGlobalNameForTypeUnit(StringRef Name, const DIScope *Context);
  309                      const DIScope *Context) override;
  312   void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1016     for (auto *Ty : CUNode->getRetainedTypes()) {
 1746   if (auto *Scope = cast_or_null<DIScope>(S)) {
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  619 DIE *DwarfUnit::getOrCreateContextDIE(const DIScope *Context) {
  634   auto *Context = Ty->getScope();
  649 DIE *DwarfUnit::createTypeDIE(const DIScope *Context, DIE &ContextDIE,
  696   auto *Context = Ty->getScope();
  707 void DwarfUnit::updateAcceleratorTables(const DIScope *Context,
  731 std::string DwarfUnit::getParentContextString(const DIScope *Context) const {
  740   SmallVector<const DIScope *, 1> Parents;
  743     if (const DIScope *S = Context->getScope())
  753   for (const DIScope *Ctx : make_range(Parents.rbegin(), Parents.rend())) {
 1414   auto *Context = CTy->getScope();
 1684                                   const DIScope *Context) {
 1689                                   const DIScope *Context) {
lib/CodeGen/AsmPrinter/DwarfUnit.h
  103   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;
lib/CodeGen/LiveDebugVariables.cpp
  486   auto *Scope = cast<DIScope>(DL.getScope());
  486   auto *Scope = cast<DIScope>(DL.getScope());
lib/CodeGen/MIRParser/MIParser.cpp
 1937           if (!isa<DIScope>(Scope))
lib/IR/DIBuilder.cpp
  131 static DIScope *getNonCompileUnitScope(DIScope *N) {
  131 static DIScope *getNonCompileUnitScope(DIScope *N) {
  134   return cast<DIScope>(N);
  163 createImportedModule(LLVMContext &C, dwarf::Tag Tag, DIScope *Context,
  178 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context,
  186 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context,
  194 DIImportedEntity *DIBuilder::createImportedModule(DIScope *Context, DIModule *M,
  201 DIImportedEntity *DIBuilder::createImportedDeclaration(DIScope *Context,
  308                                         DIScope *Context) {
  333 DIDerivedType *DIBuilder::createMemberType(DIScope *Scope, StringRef Name,
  351     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  361     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  374 DIBuilder::createStaticMemberType(DIScope *Scope, StringRef Name, DIFile *File,
  405 DIBuilder::createTemplateTypeParameter(DIScope *Context, StringRef Name,
  413                                    DIScope *Context, StringRef Name, DIType *Ty,
  420 DIBuilder::createTemplateValueParameter(DIScope *Context, StringRef Name,
  428 DIBuilder::createTemplateTemplateParameter(DIScope *Context, StringRef Name,
  436 DIBuilder::createTemplateParameterPack(DIScope *Context, StringRef Name,
  444     DIScope *Context, StringRef Name, DIFile *File, unsigned LineNumber,
  461     DIScope *Context, StringRef Name, DIFile *File, unsigned LineNumber,
  474     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  486     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  504     DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
  563 void DIBuilder::retainType(DIScope *T) {
  574 DIBuilder::createForwardDecl(unsigned Tag, StringRef Name, DIScope *Scope,
  589     unsigned Tag, StringRef Name, DIScope *Scope, DIFile *F, unsigned Line,
  630 static void checkGlobalVariableScope(DIScope *Context) {
  640     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *F,
  646       VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
  657     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *F,
  663              VMContext, cast_or_null<DIScope>(Context), Name, LinkageName, F,
  679   DIScope *Context = getNonCompileUnitScope(Scope);
  695 DILocalVariable *DIBuilder::createAutoVariable(DIScope *Scope, StringRef Name,
  706     DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File,
  715     DIScope *Scope, StringRef Name, DIFile *File,
  717   DIScope *Context = getNonCompileUnitScope(Scope);
  752     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File,
  771     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File,
  786     DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *F,
  797       /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name,
  809     DIScope *Scope, DIGlobalVariable *Decl, StringRef Name, DIFile *File,
  815 DINamespace *DIBuilder::createNameSpace(DIScope *Scope, StringRef Name,
  827 DIModule *DIBuilder::createModule(DIScope *Scope, StringRef Name,
  835 DILexicalBlockFile *DIBuilder::createLexicalBlockFile(DIScope *Scope,
  841 DILexicalBlock *DIBuilder::createLexicalBlock(DIScope *Scope, DIFile *File,
lib/IR/DebugInfo.cpp
   88   for (auto *RT : CU->getRetainedTypes())
  148 void DebugInfoFinder::processScope(DIScope *Scope) {
  268 bool DebugInfoFinder::addScope(DIScope *Scope) {
  709 template <typename DIT> DIT *unwrapDI(LLVMMetadataRef Ref) {
  787       unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen),
  798       unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols));
  808       unwrapDI<DIScope>(Scope), {Name, NameLen}, {LinkageName, LinkageNameLen},
  819   return wrap(unwrap(Builder)->createLexicalBlock(unwrapDI<DIScope>(Scope),
  829   return wrap(unwrap(Builder)->createLexicalBlockFile(unwrapDI<DIScope>(Scope),
  840   return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope),
  853                   unwrapDI<DIScope>(Scope),
  864   return wrap(unwrap(Builder)->createImportedModule(unwrapDI<DIScope>(Scope),
  878                   unwrapDI<DIScope>(Scope),
  908   return wrap(unwrapDI<DIScope>(Scope)->getFile());
  968     unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
  981      unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
 1038       unwrapDI<DIScope>(Scope), {Name, NameLen}, unwrapDI<DIFile>(File),
 1049   return wrap(unwrap(Builder)->createMemberType(unwrapDI<DIScope>(Scope),
 1067                   unwrapDI<DIScope>(Scope), {Name, NameLen},
 1115                   unwrapDI<DIScope>(Scope)));
 1135                   Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope),
 1148                   Tag, {Name, NameLen}, unwrapDI<DIScope>(Scope),
 1196                   unwrapDI<DIScope>(Scope), {Name, NameLen},
 1213                   unwrapDI<DIScope>(Scope), {Name, NameLen},
 1291       unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LinkLen},
 1341       unwrapDI<DIScope>(Scope), {Name, NameLen}, {Linkage, LnkLen},
 1394                   unwrap<DIScope>(Scope), {Name, NameLen}, unwrap<DIFile>(File),
 1404                   unwrap<DIScope>(Scope), {Name, NameLen}, ArgNo, unwrap<DIFile>(File),
lib/IR/DebugInfoMetadata.cpp
   86   SmallSet<std::pair<DIScope *, DILocation *>, 5> Locations;
   87   DIScope *S = LocA->getScope();
  212 DIScope *DIScope::getScope() const {
lib/IR/DebugLoc.cpp
  123   auto *Scope = cast<DIScope>(getScope());
  123   auto *Scope = cast<DIScope>(getScope());
lib/IR/Verifier.cpp
  426   void visitDIScope(const DIScope &N);
  869 static bool isScope(const Metadata *MD) { return !MD || isa<DIScope>(MD); }
  885 void Verifier::visitDIScope(const DIScope &N) {
lib/Linker/IRMover.cpp
 1156       DIScope *Scope = IE->getScope();
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  182   auto *Scope = cast<llvm::DIScope>(LexicalBlockStack.back());
  182   auto *Scope = cast<llvm::DIScope>(LexicalBlockStack.back());
  199 llvm::DIScope *CGDebugInfo::getDeclContextDescriptor(const Decl *D) {
  200   llvm::DIScope *Mod = getParentModuleOrNull(D);
  205 llvm::DIScope *CGDebugInfo::getContextDescriptor(const Decl *Context,
  206                                                  llvm::DIScope *Default) {
  213     return dyn_cast_or_null<llvm::DIScope>(V);
  974                                       llvm::DIScope *Ctx) {
 1245                                               llvm::DIScope *RecordTy,
 1280                              llvm::DIScope *scope, const RecordDecl *RD) {
 2356     llvm::DIScope *Mod = getParentModuleOrNull(ID);
 2459   llvm::DIScope *Mod = getParentModuleOrNull(ID);
 2779     llvm::DIScope *EDContext = getDeclContextDescriptor(ED);
 2826   llvm::DIScope *EnumContext = getDeclContextDescriptor(ED);
 3117   llvm::DIScope *RDContext = getDeclContextDescriptor(RD);
 3232                                            llvm::DIScope *&FDContext,
 3257       llvm::DIScope *Mod = getParentModuleOrNull(RDecl);
 3272                                       llvm::DIScope *&VDContext) {
 3319   llvm::DIScope *Mod = getParentModuleOrNull(VD);
 3331   llvm::DIScope *DContext = Unit;
 3384   llvm::DIScope *DContext = Unit;
 3437   auto *S = getDeclContextDescriptor(D);
 3551   llvm::DIScope *FDContext = Unit;
 3670   llvm::DIScope *FDContext =
 3769       cast<llvm::DIScope>(Back), getOrCreateFile(CurLoc), getLineNumber(CurLoc),
 3961   auto *Scope = cast<llvm::DIScope>(LexicalBlockStack.back());
 3961   auto *Scope = cast<llvm::DIScope>(LexicalBlockStack.back());
 4059   auto *Scope = cast<llvm::DIScope>(LexicalBlockStack.back());
 4059   auto *Scope = cast<llvm::DIScope>(LexicalBlockStack.back());
 4358     StringRef LinkageName, llvm::GlobalVariable *Var, llvm::DIScope *DContext) {
 4396   llvm::DIScope *DContext = nullptr;
 4476   llvm::DIScope *DContext = nullptr;
 4533 llvm::DIScope *CGDebugInfo::getCurrentContextDescriptor(const Decl *D) {
 4536   llvm::DIScope *Mod = getParentModuleOrNull(D);
 4627   llvm::DIScope *Context = getDeclContextDescriptor(NSDecl);
tools/clang/lib/CodeGen/CGDebugInfo.h
  123   std::vector<llvm::TypedTrackingMDRef<llvm::DIScope>> LexicalBlockStack;
  272                                 llvm::DIFile *tunit, llvm::DIScope *scope,
  278                                 llvm::DIScope *scope,
  286                                    llvm::DIScope *RecordTy,
  538   llvm::DIScope *getDeclContextDescriptor(const Decl *D);
  540   llvm::DIScope *getContextDescriptor(const Decl *Context,
  541                                       llvm::DIScope *Default);
  543   llvm::DIScope *getCurrentContextDescriptor(const Decl *Decl);
  547                                                   llvm::DIScope *);
  637                          llvm::GlobalVariable *Var, llvm::DIScope *DContext);
  685                                 llvm::DIScope *&FDContext,
  694                            llvm::DIScope *&VDContext);
tools/opt/BreakpointPrinter.cpp
   30   void getContextName(const DIScope *Context, std::string &N) {
tools/polly/lib/Support/ScopLocation.cpp
   32       auto *Scope = cast<DIScope>(DL.getScope());
   32       auto *Scope = cast<DIScope>(DL.getScope());
unittests/IR/MetadataTest.cpp
  884   DIScope *S = DILexicalBlock::get(Context, N, getFile(), 3, 4);
 1291   DIScope *Scope = getSubprogram();
 1363   DIScope *Scope = getSubprogram();
 1385   DIScope *Scope = getSubprogram();
 1505   DIScope *Scope = getSubprogram();
 1531   DIScope *Scope = getSubprogram();
 1576   DIScope *Scope = getSubprogram();
 1690   DIScope *N = DIFile::get(Context, "file", "dir");
 1793   DIScope *Scope = getCompositeType();
 2027   DIScope *Scope = getFile();
 2048   DIScope *Scope = getFile();
 2132   DIScope *Scope = getSubprogram();
 2219   DIScope *Scope = getSubprogram();
 2446   DIScope *Scope = getSubprogram();
usr/include/c++/7.4.0/bits/unique_ptr.h
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1983     { typedef _Up     type; };
utils/unittest/googletest/include/gtest/gtest-printers.h
  407                     T* p, ::std::ostream* os) {
  416     if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {
utils/unittest/googletest/include/gtest/gtest.h
 1475       T* rhs) {