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