Lines Matching refs:Summary
675 for (const auto &Summary : VI.getSummaryList()) in setLiveRoot() local
676 Summary->setLive(true); in setLiveRoot()
740 std::unique_ptr<FunctionSummary> Summary = in buildModuleSummaryIndex() local
762 Index.addGlobalValueSummary(*GV, std::move(Summary)); in buildModuleSummaryIndex()
764 std::unique_ptr<GlobalVarSummary> Summary = in buildModuleSummaryIndex() local
771 Index.addGlobalValueSummary(*GV, std::move(Summary)); in buildModuleSummaryIndex()
826 auto *Summary = Index.getGlobalValueSummary(*V); in buildModuleSummaryIndex() local
827 assert(Summary && "Missing summary for global value"); in buildModuleSummaryIndex()
828 Summary->setNotEligibleToImport(); in buildModuleSummaryIndex()
847 auto &Summary = GlobalList.second.SummaryList[0]; in buildModuleSummaryIndex() local
849 Summary->setNotEligibleToImport(); in buildModuleSummaryIndex()
854 llvm::all_of(Summary->refs(), [&](const ValueInfo &VI) { in buildModuleSummaryIndex()
858 Summary->setNotEligibleToImport(); in buildModuleSummaryIndex()
862 if (auto *FuncSummary = dyn_cast<FunctionSummary>(Summary.get())) { in buildModuleSummaryIndex()
868 Summary->setNotEligibleToImport(); in buildModuleSummaryIndex()