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

Derived Classes

include/llvm/IR/PassManagerInternal.h
  137   template <typename T> struct Checker : CheckerBase, T {};

Declarations

include/llvm/AsmParser/Parser.h
   23 class ModuleSummaryIndex;
include/llvm/LTO/Config.h
   28 class ModuleSummaryIndex;
include/llvm/LTO/SummaryBasedOptimizations.h
   12 class ModuleSummaryIndex;
include/llvm/Passes/PassBuilder.h
   30 class ModuleSummaryIndex;
include/llvm/Transforms/IPO.h
   25 class ModuleSummaryIndex;
include/llvm/Transforms/IPO/LowerTypeTests.h
   28 class ModuleSummaryIndex;
include/llvm/Transforms/IPO/PassManagerBuilder.h
   23 class ModuleSummaryIndex;
include/llvm/Transforms/IPO/WholeProgramDevirt.h
   32 class ModuleSummaryIndex;

References

include/llvm/ADT/Optional.h
   39     T value;
   72   T &getValue() LLVM_LVALUE_FUNCTION noexcept {
   76   T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
   81   T &&getValue() && noexcept {
   87   template <class... Args> void emplace(Args &&... args) {
   89     ::new ((void *)std::addressof(value)) T(std::forward<Args>(args)...);
   89     ::new ((void *)std::addressof(value)) T(std::forward<Args>(args)...);
  216   optional_detail::OptionalStorage<T> Storage;
  219   using value_type = T;
  224   Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
  227   Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
  230   Optional &operator=(T &&y) {
  237   template <typename... ArgTypes> void emplace(ArgTypes &&... Args) {
  238     Storage.emplace(std::forward<ArgTypes>(Args)...);
  241   static inline Optional create(const T *y) {
  245   Optional &operator=(const T &y) {
  253   const T *getPointer() const { return &Storage.getValue(); }
  254   T *getPointer() { return &Storage.getValue(); }
  255   const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
  256   T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
  260   const T *operator->() const { return getPointer(); }
  261   T *operator->() { return getPointer(); }
  262   const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
  263   T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
  266   constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
  271   T &&getValue() && { return std::move(Storage.getValue()); }
  272   T &&operator*() && { return std::move(Storage.getValue()); }
  275   T getValueOr(U &&value) && {
include/llvm/Analysis/ModuleSummaryAnalysis.h
   35 ModuleSummaryIndex buildModuleSummaryIndex(
   48   using Result = ModuleSummaryIndex;
   55   Optional<ModuleSummaryIndex> Index;
   63   ModuleSummaryIndex &getIndex() { return *Index; }
   64   const ModuleSummaryIndex &getIndex() const { return *Index; }
include/llvm/AsmParser/Parser.h
   74   std::unique_ptr<ModuleSummaryIndex> Index;
  107 std::unique_ptr<ModuleSummaryIndex>
  151 std::unique_ptr<ModuleSummaryIndex>
  170 bool parseAssemblyInto(MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index,
include/llvm/Bitcode/BitcodeReader.h
  110     Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary();
  114     Error readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath,
  173   Expected<std::unique_ptr<ModuleSummaryIndex>>
  178                                ModuleSummaryIndex &CombinedIndex,
  185   Expected<std::unique_ptr<ModuleSummaryIndex>>
include/llvm/Bitcode/BitcodeWriter.h
   89                      const ModuleSummaryIndex *Index = nullptr,
   99     void writeThinLinkBitcode(const Module &M, const ModuleSummaryIndex &Index,
  103         const ModuleSummaryIndex *Index,
  130                           const ModuleSummaryIndex *Index = nullptr,
  142                                   const ModuleSummaryIndex &Index,
  150   void WriteIndexToFile(const ModuleSummaryIndex &Index, raw_ostream &Out,
include/llvm/IR/ModuleSummaryIndex.h
 1420   static NodeRef getEntryNode(ModuleSummaryIndex *I) {
include/llvm/IR/ModuleSummaryIndexYAML.h
  274   static void mapping(IO &io, ModuleSummaryIndex& index) {
include/llvm/IR/PassManagerInternal.h
  137   template <typename T> struct Checker : CheckerBase, T {};
  139   static decltype(NonceFunction(&Checker<T>::invalidate)) check(rank<1>);
  147   enum { Value = sizeof(check<ResultT>(rank<2>())) == sizeof(EnabledType) };
  169   explicit AnalysisResultModel(ResultT Result) : Result(std::move(Result)) {}
  198   ResultT Result;
include/llvm/LTO/Config.h
  187       std::function<bool(const ModuleSummaryIndex &Index)>;
include/llvm/LTO/LTO.h
   50     ModuleSummaryIndex &Index,
   61     ModuleSummaryIndex &Index,
   71     const ModuleSummaryIndex &Index, StringRef ModuleID,
  225     Config &C, ModuleSummaryIndex &CombinedIndex,
  338     ModuleSummaryIndex CombinedIndex;
include/llvm/LTO/LTOBackend.h
   40               std::unique_ptr<Module> M, ModuleSummaryIndex &CombinedIndex);
   44                   const ModuleSummaryIndex &CombinedIndex,
include/llvm/LTO/SummaryBasedOptimizations.h
   13 void computeSyntheticCounts(ModuleSummaryIndex &Index);
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
  247   std::unique_ptr<ModuleSummaryIndex> linkCombinedIndex();
  254   void promote(Module &Module, ModuleSummaryIndex &Index,
  261                    ModuleSummaryIndex &Index,
  268   void crossModuleImport(Module &Module, ModuleSummaryIndex &Index,
  275       Module &Module, ModuleSummaryIndex &Index,
  282   void internalize(Module &Module, ModuleSummaryIndex &Index,
include/llvm/Passes/PassBuilder.h
  374                               const ModuleSummaryIndex *ImportSummary);
  404                                             ModuleSummaryIndex *ExportSummary);
include/llvm/Support/YAMLTraits.h
  313   using Signature_enumeration = void (*)(class IO&, T&);
  322     (sizeof(test<ScalarEnumerationTraits<T>>(nullptr)) == 1);
  329   using Signature_bitset = void (*)(class IO&, T&);
  337   static bool const value = (sizeof(test<ScalarBitSetTraits<T>>(nullptr)) == 1);
  344   using Signature_input = StringRef (*)(StringRef, void*, T&);
  345   using Signature_output = void (*)(const T&, void*, raw_ostream&);
  357       (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
  364   using Signature_input = StringRef (*)(StringRef, void *, T &);
  365   using Signature_output = void (*)(const T &, void *, raw_ostream &);
  375       (sizeof(test<BlockScalarTraits<T>>(nullptr, nullptr)) == 1);
  380   using Signature_input = StringRef (*)(StringRef, StringRef, void *, T &);
  381   using Signature_output = void (*)(const T &, void *, raw_ostream &,
  383   using Signature_mustQuote = QuotingType (*)(const T &, StringRef);
  393       (sizeof(test<TaggedScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
  412   using Signature_mapping = void (*)(class IO &, T &);
  419   static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
  438   using Signature_validate = StringRef (*)(class IO &, T &);
  445   static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
  452   using Signature_size = size_t (*)(class IO&, T&);
  460   static bool const value =  (sizeof(test<SequenceTraits<T>>(nullptr)) == 1);
  467   using Signature_input = void (*)(IO &io, StringRef key, T &v);
  476       (sizeof(test<CustomMappingTraits<T>>(nullptr)) == 1);
  516   using Signature_size = size_t (*)(class IO &, T &);
  524   static bool const value = (sizeof(test<DocumentListTraits<T>>(nullptr))==1);
  528   using Signature_getKind = NodeKind (*)(const T &);
  535   static bool const value = (sizeof(test<PolymorphicTraits<T>>(nullptr)) == 1);
  957 void doMapping(IO &io, T &Val, Context &Ctx) {
  961 template <typename T> void doMapping(IO &io, T &Val, EmptyContext &Ctx) {
  962   MappingTraits<T>::mapping(io, Val);
 1078 typename std::enable_if<unvalidatedMappingTraits<T, Context>::value, void>::type
 1079 yamlize(IO &io, T &Val, bool, Context &Ctx) {
 1080   if (has_FlowTraits<MappingTraits<T>>::value) {
 1708 inline typename std::enable_if<has_MappingTraits<T, EmptyContext>::value,
 1710 operator>>(Input &yin, T &docMap) {
 1791 inline typename std::enable_if<has_MappingTraits<T, EmptyContext>::value,
 1793 operator<<(Output &yout, T &map) {
include/llvm/Support/type_traits.h
   91     T t;
  145       std::is_copy_constructible<detail::trivial_helper<T>>::value;
  147       !std::is_copy_constructible<T>::value;
  151       std::is_move_constructible<detail::trivial_helper<T>>::value;
  153       !std::is_move_constructible<T>::value;
  157       is_copy_assignable<detail::trivial_helper<T>>::value;
  159       !is_copy_assignable<T>::value;
  163       is_move_assignable<detail::trivial_helper<T>>::value;
  165       !is_move_assignable<T>::value;
  169       std::is_destructible<detail::trivial_helper<T>>::value;
include/llvm/Transforms/IPO.h
  243 ModulePass *createLowerTypeTestsPass(ModuleSummaryIndex *ExportSummary,
  244                                      const ModuleSummaryIndex *ImportSummary);
  260 createWholeProgramDevirtPass(ModuleSummaryIndex *ExportSummary,
  261                              const ModuleSummaryIndex *ImportSummary);
include/llvm/Transforms/IPO/FunctionImport.h
  108   FunctionImporter(const ModuleSummaryIndex &Index, ModuleLoaderTy ModuleLoader)
  116   const ModuleSummaryIndex &Index;
  141     const ModuleSummaryIndex &Index,
  151     StringRef ModulePath, const ModuleSummaryIndex &Index,
  160     StringRef ModulePath, const ModuleSummaryIndex &Index,
  174     ModuleSummaryIndex &Index,
  181     ModuleSummaryIndex &Index,
include/llvm/Transforms/IPO/LowerTypeTests.h
  202   ModuleSummaryIndex *ExportSummary;
  203   const ModuleSummaryIndex *ImportSummary;
  204   LowerTypeTestsPass(ModuleSummaryIndex *ExportSummary,
  205                      const ModuleSummaryIndex *ImportSummary)
include/llvm/Transforms/IPO/PassManagerBuilder.h
  147   ModuleSummaryIndex *ExportSummary = nullptr;
  152   const ModuleSummaryIndex *ImportSummary = nullptr;
include/llvm/Transforms/IPO/WholeProgramDevirt.h
  224   ModuleSummaryIndex *ExportSummary;
  225   const ModuleSummaryIndex *ImportSummary;
  226   WholeProgramDevirtPass(ModuleSummaryIndex *ExportSummary,
  227                          const ModuleSummaryIndex *ImportSummary)
  247     ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs,
  253     ModuleSummaryIndex &Summary,
include/llvm/Transforms/Utils/FunctionImportUtils.h
   30   const ModuleSummaryIndex &ImportIndex;
   91       Module &M, const ModuleSummaryIndex &Index,
  118     Module &M, const ModuleSummaryIndex &Index,
  122 void computeSyntheticCounts(ModuleSummaryIndex &Index);
lib/Analysis/ModuleSummaryAnalysis.cpp
   88 static bool findRefEdges(ModuleSummaryIndex &Index, const User *CurUser,
  241 static void computeFunctionSummary(ModuleSummaryIndex &Index, const Module &M,
  487                              const Module &M, ModuleSummaryIndex &Index,
  527 static void computeVTableFuncs(ModuleSummaryIndex &Index,
  551 recordTypeIdCompatibleVtableReferences(ModuleSummaryIndex &Index,
  568 static void computeVariableSummary(ModuleSummaryIndex &Index,
  613 computeAliasSummary(ModuleSummaryIndex &Index, const GlobalAlias &A,
  632 static void setLiveRoot(ModuleSummaryIndex &Index, StringRef Name) {
  638 ModuleSummaryIndex llvm::buildModuleSummaryIndex(
  647   ModuleSummaryIndex Index(/*HaveGVs=*/true, EnableSplitLTOUnit);
  828 ModuleSummaryIndex
lib/AsmParser/LLParser.h
   96     ModuleSummaryIndex *Index;
  170              ModuleSummaryIndex *Index, LLVMContext &Context,
lib/AsmParser/Parser.cpp
   26                              ModuleSummaryIndex *Index, SMDiagnostic &Err,
   75   std::unique_ptr<ModuleSummaryIndex> Index =
   76       std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/true);
  111                                           ModuleSummaryIndex &Index,
  123 std::unique_ptr<ModuleSummaryIndex>
  125   std::unique_ptr<ModuleSummaryIndex> Index =
  126       std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false);
  134 std::unique_ptr<ModuleSummaryIndex>
lib/Bitcode/Reader/BitcodeReader.cpp
  769   ModuleSummaryIndex &TheIndex;
  812                                   ModuleSummaryIndex &TheIndex,
  839   ModuleSummaryIndex::ModuleInfo *getThisModule();
 5349     BitstreamCursor Cursor, StringRef Strtab, ModuleSummaryIndex &TheIndex,
 5358 ModuleSummaryIndex::ModuleInfo *
 5693                                      ModuleSummaryIndex &TheIndex) {
 6187   ModuleSummaryIndex::ModuleInfo *LastSeenModule = nullptr;
 6495 Error BitcodeModule::readSummary(ModuleSummaryIndex &CombinedIndex,
 6507 Expected<std::unique_ptr<ModuleSummaryIndex>> BitcodeModule::getSummary() {
 6512   auto Index = std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false);
 6694                                    ModuleSummaryIndex &CombinedIndex,
 6703 Expected<std::unique_ptr<ModuleSummaryIndex>>
 6720 Expected<std::unique_ptr<ModuleSummaryIndex>>
lib/Bitcode/Writer/BitcodeWriter.cpp
  161   const ModuleSummaryIndex *Index;
  181                           const ModuleSummaryIndex *Index)
  266                       const ModuleSummaryIndex *Index, bool GenerateHash,
  402   const ModuleSummaryIndex &Index;
  420                      const ModuleSummaryIndex &Index,
 4431                                 const ModuleSummaryIndex *Index,
 4449     const ModuleSummaryIndex *Index,
 4459                               const ModuleSummaryIndex *Index,
 4502     const ModuleSummaryIndex &Index, raw_ostream &Out,
 4525                         const ModuleSummaryIndex &Index,
 4642                                          const ModuleSummaryIndex &Index,
 4662                                       const ModuleSummaryIndex &Index,
lib/Bitcode/Writer/BitcodeWriterPass.cpp
   22   const ModuleSummaryIndex *Index =
   53       const ModuleSummaryIndex *Index =
lib/IR/AsmWriter.cpp
  685   const ModuleSummaryIndex *TheIndex = nullptr;
  733   explicit SlotTracker(const ModuleSummaryIndex *Index);
  907 SlotTracker::SlotTracker(const ModuleSummaryIndex *Index)
 2356   const ModuleSummaryIndex *TheIndex = nullptr;
 2377                  const ModuleSummaryIndex *Index, bool IsForDebug);
 2465                                const ModuleSummaryIndex *Index, bool IsForDebug)
lib/IR/ModuleSummaryIndex.cpp
  200   for (scc_iterator<ModuleSummaryIndex *> I =
  201            scc_begin<ModuleSummaryIndex *>(this);
lib/LTO/LTO.cpp
   72     SmallString<40> &Key, const Config &Conf, const ModuleSummaryIndex &Index,
  356     ModuleSummaryIndex &Index,
  417     ModuleSummaryIndex &Index,
 1031   ModuleSummaryIndex &CombinedIndex;
 1035   ThinBackendProc(Config &Conf, ModuleSummaryIndex &CombinedIndex,
 1063       Config &Conf, ModuleSummaryIndex &CombinedIndex,
 1080       BitcodeModule BM, ModuleSummaryIndex &CombinedIndex,
 1199       Config &Conf, ModuleSummaryIndex &CombinedIndex,
lib/LTO/LTOBackend.cpp
  155                            ModuleSummaryIndex *ExportSummary,
  156                            const ModuleSummaryIndex *ImportSummary) {
  270                            bool IsThinLTO, ModuleSummaryIndex *ExportSummary,
  271                            const ModuleSummaryIndex *ImportSummary) {
  301          bool IsThinLTO, ModuleSummaryIndex *ExportSummary,
  302          const ModuleSummaryIndex *ImportSummary) {
  430                    ModuleSummaryIndex &CombinedIndex) {
  461                             const ModuleSummaryIndex &Index) {
  482                        Module &Mod, const ModuleSummaryIndex &CombinedIndex,
lib/LTO/SummaryBasedOptimizations.cpp
   27 static void initializeCounts(ModuleSummaryIndex &Index) {
   44 void llvm::computeSyntheticCounts(ModuleSummaryIndex &Index) {
   82   SyntheticCountsUtils<ModuleSummaryIndex *>::propagate(&Index, GetProfileCount,
lib/LTO/ThinLTOCodeGenerator.cpp
  129     const ModuleSummaryIndex &Index,
  153 static void promoteModule(Module &TheModule, const ModuleSummaryIndex &Index) {
  205 crossImportIntoModule(Module &TheModule, const ModuleSummaryIndex &Index,
  230                            ModuleSummaryIndex *Index) {
  314       StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID,
  399 ProcessThinLTOModule(Module &TheModule, ModuleSummaryIndex &Index,
  449       auto Index = buildModuleSummaryIndex(TheModule, nullptr, &PSI);
  464     ModuleSummaryIndex &Index,
  565 std::unique_ptr<ModuleSummaryIndex> ThinLTOCodeGenerator::linkCombinedIndex() {
  566   std::unique_ptr<ModuleSummaryIndex> CombinedIndex =
  567       std::make_unique<ModuleSummaryIndex>(/*HaveGVs=*/false);
  617     ModuleSummaryIndex &Index,
  633 void ThinLTOCodeGenerator::promote(Module &TheModule, ModuleSummaryIndex &Index,
  682                                              ModuleSummaryIndex &Index,
  714     Module &TheModule, ModuleSummaryIndex &Index,
  748                                        ModuleSummaryIndex &Index,
  789                                        ModuleSummaryIndex &Index,
lib/Passes/PassBuilder.cpp
 1089     const ModuleSummaryIndex *ImportSummary) {
 1139                                      ModuleSummaryIndex *ExportSummary) {
lib/Transforms/IPO/FunctionImport.cpp
  176 selectCallee(const ModuleSummaryIndex &Index,
  268 updateValueInfoForIndirectCalls(const ModuleSummaryIndex &Index, ValueInfo VI) {
  348     const FunctionSummary &Summary, const ModuleSummaryIndex &Index,
  526     const GVSummaryMapTy &DefinedGVSummaries, const ModuleSummaryIndex &Index,
  594 static bool isGlobalVarSummary(const ModuleSummaryIndex &Index,
  607 static unsigned numGlobalVarSummaries(const ModuleSummaryIndex &Index,
  619     const ModuleSummaryIndex &Index,
  673 static void dumpImportListForModule(const ModuleSummaryIndex &Index,
  691     StringRef ModulePath, const ModuleSummaryIndex &Index,
  710     StringRef ModulePath, const ModuleSummaryIndex &Index,
  734     ModuleSummaryIndex &Index,
  850     ModuleSummaryIndex &Index,
 1023           ModuleSummaryIndex::getOriginalNameBeforePromote(GV.getName());
 1214   Expected<std::unique_ptr<ModuleSummaryIndex>> IndexPtrOrErr =
 1221   std::unique_ptr<ModuleSummaryIndex> Index = std::move(*IndexPtrOrErr);
lib/Transforms/IPO/LowerTypeTests.cpp
  382   ModuleSummaryIndex *ExportSummary;
  383   const ModuleSummaryIndex *ImportSummary;
  501   LowerTypeTestsModule(Module &M, ModuleSummaryIndex *ExportSummary,
  502                        const ModuleSummaryIndex *ImportSummary);
  516   ModuleSummaryIndex *ExportSummary;
  517   const ModuleSummaryIndex *ImportSummary;
  523   LowerTypeTests(ModuleSummaryIndex *ExportSummary,
  524                  const ModuleSummaryIndex *ImportSummary)
  545 llvm::createLowerTypeTestsPass(ModuleSummaryIndex *ExportSummary,
  546                                const ModuleSummaryIndex *ImportSummary) {
 1656     Module &M, ModuleSummaryIndex *ExportSummary,
 1657     const ModuleSummaryIndex *ImportSummary)
 1667   ModuleSummaryIndex Summary(/*HaveGVs=*/false);
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  208     ModuleSummaryIndex Index = buildModuleSummaryIndex(M, nullptr, &PSI);
  391   ModuleSummaryIndex Index = buildModuleSummaryIndex(M, nullptr, &PSI);
  396   ModuleSummaryIndex MergedMIndex =
  449                          Module &M, const ModuleSummaryIndex *Index) {
  450   std::unique_ptr<ModuleSummaryIndex> NewIndex = nullptr;
  469       NewIndex = std::make_unique<ModuleSummaryIndex>(
  510     const ModuleSummaryIndex *Index =
lib/Transforms/IPO/WholeProgramDevirt.cpp
  447   ModuleSummaryIndex *ExportSummary;
  448   const ModuleSummaryIndex *ImportSummary;
  474                ModuleSummaryIndex *ExportSummary,
  475                const ModuleSummaryIndex *ImportSummary)
  502   bool trySingleImplDevirt(ModuleSummaryIndex *ExportSummary,
  582   ModuleSummaryIndex &ExportSummary;
  594       ModuleSummaryIndex &ExportSummary,
  618   ModuleSummaryIndex *ExportSummary;
  619   const ModuleSummaryIndex *ImportSummary;
  625   WholeProgramDevirt(ModuleSummaryIndex *ExportSummary,
  626                      const ModuleSummaryIndex *ImportSummary)
  679 llvm::createWholeProgramDevirtPass(ModuleSummaryIndex *ExportSummary,
  680                                    const ModuleSummaryIndex *ImportSummary) {
  705     ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs,
  711     ModuleSummaryIndex &Summary,
  729       WPDRes->second.SingleImplName = ModuleSummaryIndex::getGlobalNameForLocal(
  742   ModuleSummaryIndex Summary(/*HaveGVs=*/false);
  919     ModuleSummaryIndex *ExportSummary,
 1012       Res->SingleImplName = ModuleSummaryIndex::getGlobalNameForLocal(
lib/Transforms/Utils/FunctionImportUtils.cpp
  102     return ModuleSummaryIndex::getGlobalNameForLocal(
  315 bool llvm::renameModuleForThinLTO(Module &M, const ModuleSummaryIndex &Index,
tools/clang/lib/CodeGen/BackendUtil.cpp
 1362 static void runThinLTOBackend(ModuleSummaryIndex *CombinedIndex, Module *M,
 1508     Expected<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr =
 1517     std::unique_ptr<ModuleSummaryIndex> CombinedIndex = std::move(*IndexOrErr);
tools/gold/gold-plugin.cpp
  956       ModuleSummaryIndex Index(/*HaveGVs*/ false);
tools/lld/ELF/LTO.cpp
  225     ModuleSummaryIndex m(/*HaveGVs*/ false);
tools/llvm-as/llvm-as.cpp
   71 static void WriteOutputFile(const Module *M, const ModuleSummaryIndex *Index) {
   92     const ModuleSummaryIndex *IndexToWrite = nullptr;
  129   std::unique_ptr<ModuleSummaryIndex> Index = std::move(ModuleAndIndex.Index);
tools/llvm-dis/llvm-dis.cpp
  169   std::unique_ptr<ModuleSummaryIndex> Index;
tools/llvm-link/llvm-link.cpp
  214   std::unique_ptr<ModuleSummaryIndex> Index =
  302       std::unique_ptr<ModuleSummaryIndex> Index =
tools/llvm-lto/llvm-lto.cpp
  333     std::unique_ptr<ModuleSummaryIndex> Index =
  412   ModuleSummaryIndex CombinedIndex(/*HaveGVs=*/false);
  463 loadAllFilesForIndex(const ModuleSummaryIndex &Index) {
  476 std::unique_ptr<ModuleSummaryIndex> loadCombinedIndex() {
usr/include/c++/7.4.0/bits/invoke.h
   59     __invoke_impl(__invoke_other, _Fn&& __f, _Args&&... __args)
   65 		  _Args&&... __args)
   71 		  _Args&&... __args)
   89     __invoke(_Callable&& __fn, _Args&&... __args)
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
   98     move(_Tp&& __t) noexcept
  136     inline _GLIBCXX17_CONSTEXPR _Tp*
  137     addressof(_Tp& __r) noexcept
  143     const _Tp* addressof(const _Tp&&) = delete;
  143     const _Tp* addressof(const _Tp&&) = delete;
usr/include/c++/7.4.0/bits/refwrap.h
   63     : _Maybe_get_result_type<_Functor>
  176     : _Weak_result_type_impl<typename remove_cv<_Functor>::type>
  215     : _Weak_result_type<_Tp>, _Refwrap_base_arg1<_Tp>, _Refwrap_base_arg2<_Tp>
  215     : _Weak_result_type<_Tp>, _Refwrap_base_arg1<_Tp>, _Refwrap_base_arg2<_Tp>
  215     : _Weak_result_type<_Tp>, _Refwrap_base_arg1<_Tp>, _Refwrap_base_arg2<_Tp>
  327     : public _Reference_wrapper_base<typename remove_cv<_Tp>::type>
  329       _Tp* _M_data;
  332       typedef _Tp type;
  334       reference_wrapper(_Tp& __indata) noexcept
  338       reference_wrapper(_Tp&&) = delete;
  345       operator _Tp&() const noexcept
  348       _Tp&
  353 	typename result_of<_Tp&(_Args&&...)>::type
  363     inline reference_wrapper<_Tp>
  364     ref(_Tp& __t) noexcept
  374     void ref(const _Tp&&) = delete;
usr/include/c++/7.4.0/bits/std_function.h
  299       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  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;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  824     make_unique(_Args&&... __args)
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/functional
  361 	_Tp&
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_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
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
  984       typedef decltype(__test<_Tp, _Arg>(0)) type;
  989     : public __and_<is_destructible<_Tp>,
  990                     __is_direct_constructible_impl<_Tp, _Arg>>
 1072 			 __is_direct_constructible_ref_cast<_Tp, _Arg>,
 1073 			 __is_direct_constructible_new_safe<_Tp, _Arg>
 1079     : public __is_direct_constructible_new<_Tp, _Arg>::type
 1119     : public __is_direct_constructible<_Tp, _Arg>
 1130     : public __is_constructible_impl<_Tp, _Args...>::type
 1142     : public is_constructible<_Tp, const _Tp&>
 1142     : public is_constructible<_Tp, const _Tp&>
 1148     : public __is_copy_constructible_impl<_Tp>
 1160     : public is_constructible<_Tp, _Tp&&>
 1160     : public is_constructible<_Tp, _Tp&&>
 1166     : public __is_move_constructible_impl<_Tp>
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1659     { typedef _Tp&&   type; };
 1664     : public __add_rvalue_reference_helper<_Tp>
 1955     { typedef _Tp     type; };
 2253     inline typename add_rvalue_reference<_Tp>::type