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

References

include/llvm/CodeGen/LexicalScopes.h
  209     return DL ? getOrCreateLexicalScope(DL->getScope(), DL->getInlinedAt())
include/llvm/IR/DebugInfoMetadata.h
 1450   DIFile *getFile() const { return getScope()->getFile(); }
 1451   StringRef getFilename() const { return getScope()->getFilename(); }
 1452   StringRef getDirectory() const { return getScope()->getDirectory(); }
 1453   Optional<StringRef> getSource() const { return getScope()->getSource(); }
 1462     return getScope();
 1962   if (auto *F = dyn_cast<DILexicalBlockFile>(getScope()))
 1969   DIScope *Scope = getScope();
 2823     return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram();
 2893     return DL && getScope()->getSubprogram() == DL->getScope()->getSubprogram();
lib/Bitcode/Writer/BitcodeWriter.cpp
 1468   Record.push_back(VE.getMetadataID(N->getScope()));
 3223       Vals.push_back(VE.getMetadataOrNullID(DL->getScope()));
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  274           getInlineSite(OuterIA, InlinedAt->getScope()->getSubprogram())
  501   const DIScope *Scope = DL.get()->getScope();
  531         getInlineSite(SiteLoc, Loc->getScope()->getSubprogram()).SiteFuncId;
  537           getInlineSite(SiteLoc, Loc->getScope()->getSubprogram());
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1326     if (DL->getScope() == PredDL->getScope())
 1326     if (DL->getScope() == PredDL->getScope())
lib/CodeGen/LexicalScopes.cpp
  124   DILocalScope *Scope = DL->getScope();
lib/IR/DIBuilder.cpp
  924   assert(DL->getScope()->getSubprogram() ==
  946   assert(DL->getScope()->getSubprogram() ==
  967   assert(DL->getScope()->getSubprogram() ==
lib/IR/DebugInfo.cpp
  120   processScope(Loc->getScope());
  496     auto *Scope = map(MLD->getScope());
  900   return wrap(unwrapDI<DILocation>(Location)->getScope());
lib/IR/DebugInfoMetadata.cpp
   87   DIScope *S = LocA->getScope();
   93       S = L->getScope();
   98   S = LocB->getScope();
  105       S = L->getScope();
  113     S = LocA->getScope();
lib/IR/DebugLoc.cpp
   37   return get()->getScope();
  109         Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last);
lib/IR/Verifier.cpp
 4950            Loc->getScope()->getSubprogram());
 4985            Loc->getScope()->getSubprogram());
lib/ProfileData/SampleProf.cpp
  172   return (DIL->getLine() - DIL->getScope()->getSubprogram()->getLine()) &
  185         PrevDIL->getScope()->getSubprogram()->getLinkageName()));
lib/Target/BPF/BTFDebug.cpp
 1047   auto SP = DL.get()->getScope()->getSubprogram();
lib/Transforms/Scalar/ADCE.cpp
  437   collectLiveScopes(*DL.getScope());
  517         if (AliveScopes.count(DII->getDebugLoc()->getScope()))
  542       if (AliveScopes.count(DII->getDebugLoc()->getScope()))
lib/Transforms/Utils/InlineFunction.cpp
 1401       InlinedAtNode->getScope(), InlinedAtNode->getInlinedAt());
unittests/IR/MetadataTest.cpp
  893     EXPECT_EQ(N, M->getScope());
  903     EXPECT_EQ(N, M->getScope());
  913     EXPECT_EQ(N, M->getScope());
  923     EXPECT_EQ(N, M->getScope());
  942     EXPECT_TRUE(isa<DILocalScope>(M->getScope()));
  954     EXPECT_TRUE(isa<DILocalScope>(M->getScope()));
  955     EXPECT_EQ(S, M->getScope());