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

References

include/llvm/IR/ModuleSummaryIndex.h
  452                                 !AliaseeValueInfo.getSummaryList().empty()) &&
 1002     if (!V.getSummaryList().size())
 1013         dyn_cast<FunctionSummary>(V.getSummaryList().front().get());
 1176     auto SummaryList = VI.getSummaryList();
 1378     if (!N.getSummaryList().size()) // handle external function
 1383         cast<FunctionSummary>(N.getSummaryList().front()->getBaseObject());
 1388     if (!N.getSummaryList().size()) // handle external function
 1393         cast<FunctionSummary>(N.getSummaryList().front()->getBaseObject());
 1398     if (!N.getSummaryList().size()) // handle external function
 1402         cast<FunctionSummary>(N.getSummaryList().front()->getBaseObject());
 1407     if (!N.getSummaryList().size()) // handle external function
 1411         cast<FunctionSummary>(N.getSummaryList().front()->getBaseObject());
lib/Analysis/ModuleSummaryAnalysis.cpp
  623   assert(AliaseeVI.getSummaryList().size() == 1 &&
  625   AS->setAliasee(AliaseeVI, AliaseeVI.getSummaryList()[0].get());
  634     for (auto &Summary : VI.getSummaryList())
lib/Bitcode/Writer/BitcodeWriter.cpp
 3684   if (!VI || VI.getSummaryList().empty()) {
 3690   auto *Summary = VI.getSummaryList()[0].get();
 3841     if (!VI || VI.getSummaryList().empty()) {
 3847     auto *Summary = VI.getSummaryList()[0].get();
lib/IR/AsmWriter.cpp
 3123   if (!VI.getSummaryList().empty()) {
 3126     for (auto &Summary : VI.getSummaryList()) {
lib/IR/ModuleSummaryIndex.cpp
   34   return getSummaryList().size() &&
   35          llvm::all_of(getSummaryList(),
   43   return getSummaryList().size() &&
   44          llvm::all_of(getSummaryList(),
   88   assert((!PerModuleIndex || VI.getSummaryList().size() == 1) &&
   90   auto &Summary = VI.getSummaryList()[0];
   98   const auto &SummaryList = VI.getSummaryList();
  118     for (auto &Ref : VI.getSummaryList())
  207       if (V.getSummaryList().size())
  208         F = cast<FunctionSummary>(V.getSummaryList().front().get());
lib/LTO/LTO.cpp
  308   for (auto &S : VI.getSummaryList()) {
lib/LTO/SummaryBasedOptimizations.cpp
   36     for (auto &GVS : V.getSummaryList()) {
   54     if (V.getSummaryList().size()) {
   55       auto S = V.getSummaryList().front().get()->getBaseObject();
   63     if (!V.getSummaryList().size())
   65     for (auto &GVS : V.getSummaryList()) {
lib/Transforms/IPO/FunctionImport.cpp
  269   if (!VI.getSummaryList().empty())
  306     for (auto &RefSummary : VI.getSummaryList())
  434       CalleeSummary = selectCallee(Index, VI.getSummaryList(), NewThreshold,
  580       if (!FailureInfo->VI.getSummaryList().empty())
  582             FailureInfo->VI.getSummaryList()[0]->getBaseObject());
  597     auto SL = VI.getSummaryList();
  750     for (auto &S : VI.getSummaryList())
  780     if (llvm::any_of(VI.getSummaryList(),
  794       for (auto &S : VI.getSummaryList()) {
  814     for (auto &S : VI.getSummaryList())
  822     for (auto &Summary : VI.getSummaryList()) {
lib/Transforms/IPO/LowerTypeTests.cpp
 1873             for (auto &GVS : VI.getSummaryList())
lib/Transforms/IPO/WholeProgramDevirt.cpp
  717     assert(VI.getSummaryList().size() == 1 &&
  719     auto &S = VI.getSummaryList()[0];
  846     assert(P.VTableVI.getSummaryList().size() == 1 ||
  848                P.VTableVI.getSummaryList(),
  853     const auto *VS = cast<GlobalVarSummary>(P.VTableVI.getSummaryList()[0].get());
  854     if (!P.VTableVI.getSummaryList()[0]->isLive())
  892   if (Callee.getSummaryList().empty())
  900   auto &S = Callee.getSummaryList()[0];
  985   auto Size = TheFn.getSummaryList().size();
  991   for (auto &S : TheFn.getSummaryList())
  999   auto &S = TheFn.getSummaryList()[0];
lib/Transforms/Utils/FunctionImportUtils.cpp
  212           for (auto &S : VI.getSummaryList()) {