Lines Matching refs:BM
745 BitcodeModule BM = Input.Mods[ModI]; in addModule() local
765 return addThinLTO(BM, ModSyms, ResI, ResE); in addModule()
769 addRegularLTO(BM, ModSyms, ResI, ResE); in addModule()
778 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, "")) in addModule()
818 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addRegularLTO() argument
823 BM.getLazyModule(RegularLTO.Ctx, /*ShouldLazyLoadMetadata*/ true, in addRegularLTO()
1010 Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addThinLTO() argument
1022 ThinLTO.PrevailingModuleForGUID[GUID] = BM.getModuleIdentifier(); in addThinLTO()
1027 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(), in addThinLTO()
1030 BM.getModuleIdentifier(); in addThinLTO()
1033 LLVM_DEBUG(dbgs() << "Module " << BM.getModuleIdentifier() << "\n"); in addThinLTO()
1044 BM.getModuleIdentifier()); in addThinLTO()
1052 GUID, BM.getModuleIdentifier())) in addThinLTO()
1060 GUID, BM.getModuleIdentifier())) { in addThinLTO()
1067 if (!ThinLTO.ModuleMap.insert({BM.getModuleIdentifier(), BM}).second) in addThinLTO()
1078 if (BM.getModuleIdentifier().contains(Name)) { in addThinLTO()
1079 ThinLTO.ModulesToCompile->insert({BM.getModuleIdentifier(), BM}); in addThinLTO()
1080 llvm::errs() << "[ThinLTO] Selecting " << BM.getModuleIdentifier() in addThinLTO()
1389 unsigned Task, BitcodeModule BM,
1460 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM, in runThinLTOBackendThread() argument
1469 Expected<std::unique_ptr<Module>> MOrErr = BM.parseModule(BackendContext); in runThinLTOBackendThread()
1477 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread()
1507 unsigned Task, BitcodeModule BM, in start() argument
1512 StringRef ModulePath = BM.getModuleIdentifier(); in start()
1517 [=](BitcodeModule BM, ModuleSummaryIndex &CombinedIndex, in start()
1528 AddStream, Cache, Task, BM, CombinedIndex, ImportList, ExportList, in start()
1540 BM, std::ref(CombinedIndex), std::ref(ImportList), std::ref(ExportList), in start()
1630 unsigned Task, BitcodeModule BM, in start() argument
1635 StringRef ModulePath = BM.getModuleIdentifier(); in start()