Searched refs:CombinedIndex (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTOBackend.h46 ModuleSummaryIndex &CombinedIndex);
55 Module &M, const ModuleSummaryIndex &CombinedIndex,
73 bool initImportList(const Module &M, const ModuleSummaryIndex &CombinedIndex,
H A DLTO.h198 const Config &C, ModuleSummaryIndex &CombinedIndex,
341 ModuleSummaryIndex CombinedIndex; member in struct:llvm::lto::LTO::ThinLTOState
/freebsd-current/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp585 : Backend(Backend), CombinedIndex(/*HaveGVs*/ false) {
727 ThinLTO.CombinedIndex.setPartiallySplitLTOUnits();
764 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, ""))
962 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) {
1013 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(),
1037 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule(
1045 if (auto S = ThinLTO.CombinedIndex.findSummaryInModule(
1085 if (!ThinLTO.CombinedIndex.partiallySplitLTOUnits())
1108 for (auto &P : ThinLTO.CombinedIndex) {
1155 computeDeadSymbolsWithConstProp(ThinLTO.CombinedIndex, GUIDPreservedSymbol
1361 ModuleSummaryIndex &CombinedIndex; member in class:lto::ThinBackendProc
1367 ThinBackendProc( const Config &Conf, ModuleSummaryIndex &CombinedIndex, const DenseMap<StringRef, GVSummaryMapTy> &ModuleToDefinedGVSummaries, lto::IndexWriteCallback OnWrite, bool ShouldEmitImportsFiles) argument
1424 InProcessThinBackend( const Config &Conf, ModuleSummaryIndex &CombinedIndex, ThreadPoolStrategy ThinLTOParallelism, const DenseMap<StringRef, GVSummaryMapTy> &ModuleToDefinedGVSummaries, AddStreamFn AddStream, FileCache Cache, lto::IndexWriteCallback OnWrite, bool ShouldEmitIndexFiles, bool ShouldEmitImportsFiles) argument
1442 runThinLTOBackendThread( AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM, ModuleSummaryIndex &CombinedIndex, const FunctionImporter::ImportMapTy &ImportList, const FunctionImporter::ExportSetTy &ExportList, const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR, const GVSummaryMapTy &DefinedGlobals, MapVector<StringRef, BitcodeModule> &ModuleMap) argument
[all...]
H A DLTOBackend.cpp372 const ModuleSummaryIndex &CombinedIndex) {
415 createImmutableModuleSummaryIndexWrapperPass(&CombinedIndex));
431 const ModuleSummaryIndex &CombinedIndex) {
465 CombinedIndex);
506 ModuleSummaryIndex &CombinedIndex) {
516 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr,
522 codegen(C, TM.get(), AddStream, 0, Mod, CombinedIndex);
525 CombinedIndex);
552 Module &Mod, const ModuleSummaryIndex &CombinedIndex,
574 Mod.setPartialSampleProfileRatio(CombinedIndex);
370 codegen(const Config &Conf, TargetMachine *TM, AddStreamFn AddStream, unsigned Task, Module &Mod, const ModuleSummaryIndex &CombinedIndex) argument
428 splitCodeGen(const Config &C, TargetMachine *TM, AddStreamFn AddStream, unsigned ParallelCodeGenParallelismLevel, Module &Mod, const ModuleSummaryIndex &CombinedIndex) argument
504 backend(const Config &C, AddStreamFn AddStream, unsigned ParallelCodeGenParallelismLevel, Module &Mod, ModuleSummaryIndex &CombinedIndex) argument
551 thinBackend(const Config &Conf, unsigned Task, AddStreamFn AddStream, Module &Mod, const ModuleSummaryIndex &CombinedIndex, const FunctionImporter::ImportMapTy &ImportList, const GVSummaryMapTy &DefinedGlobals, MapVector<StringRef, BitcodeModule> *ModuleMap, const std::vector<uint8_t> &CmdArgs) argument
697 initImportList(const Module &M, const ModuleSummaryIndex &CombinedIndex, FunctionImporter::ImportMapTy &ImportList) argument
[all...]
H A DLTOCodeGenerator.cpp637 ModuleSummaryIndex CombinedIndex(false);
640 /*ExportSummary=*/&CombinedIndex, /*ImportSummary=*/nullptr,
662 ModuleSummaryIndex CombinedIndex(false);
666 CombinedIndex);
H A DThinLTOCodeGenerator.cpp619 std::unique_ptr<ModuleSummaryIndex> CombinedIndex = local
623 if (Error Err = M.readSummary(*CombinedIndex, Mod->getName())) {
631 return CombinedIndex;
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeReader.h158 /// into CombinedIndex.
160 readSummary(ModuleSummaryIndex &CombinedIndex, StringRef ModulePath,
225 /// Parse the specified bitcode buffer and merge the index into CombinedIndex.
227 ModuleSummaryIndex &CombinedIndex);
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp482 ModuleSummaryIndex CombinedIndex(/*HaveGVs=*/false);
487 ExitOnErr(readModuleSummaryIndex(*MB, CombinedIndex));
492 updateIndirectCalls(CombinedIndex);
498 writeIndexToFile(CombinedIndex, OS);
653 auto CombinedIndex = ThinGenerator.linkCombinedIndex(); local
654 if (!CombinedIndex)
659 writeIndexToFile(*CombinedIndex, OS);
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp1176 DiagnosticsEngine &Diags, ModuleSummaryIndex *CombinedIndex,
1184 CombinedIndex->collectDefinedGVSummariesPerModule(ModuleToDefinedGVSummaries);
1192 if (!lto::initImportList(*M, *CombinedIndex, ImportList))
1271 thinBackend(Conf, -1, AddStream, *M, *CombinedIndex, ImportList,
1294 std::unique_ptr<ModuleSummaryIndex> CombinedIndex; local
1298 .moveInto(CombinedIndex)) {
1305 // A null CombinedIndex means we should skip ThinLTO compilation
1308 if (CombinedIndex) {
1309 if (!CombinedIndex->skipModuleByDistributedBackend()) {
1310 runThinLTOBackend(Diags, CombinedIndex
1175 runThinLTOBackend( DiagnosticsEngine &Diags, ModuleSummaryIndex *CombinedIndex, llvm::Module *M, const HeaderSearchOptions &HeaderOpts, const CodeGenOptions &CGOpts, const clang::TargetOptions &TOpts, const LangOptions &LOpts, std::unique_ptr<raw_pwrite_stream> OS, std::string SampleProfile, std::string ProfileRemapping, BackendAction Action) argument
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp8040 // Parse the specified bitcode buffer and merge the index into CombinedIndex.
8045 ModuleSummaryIndex &CombinedIndex, StringRef ModulePath,
8051 ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, CombinedIndex,
8258 ModuleSummaryIndex &CombinedIndex) {
8263 return BM->readSummary(CombinedIndex, BM->getModuleIdentifier());
8044 readSummary( ModuleSummaryIndex &CombinedIndex, StringRef ModulePath, std::function<bool(GlobalValue::GUID)> IsPrevailing) argument
8257 readModuleSummaryIndex(MemoryBufferRef Buffer, ModuleSummaryIndex &CombinedIndex) argument

Completed in 205 milliseconds