Lines Matching defs:BM

766   BitcodeModule BM = Input.Mods[ModI];
786 return addThinLTO(BM, ModSyms, ResI, ResE);
790 addRegularLTO(BM, ModSyms, ResI, ResE);
799 if (Error Err = BM.readSummary(ThinLTO.CombinedIndex, ""))
839 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
844 BM.getLazyModule(RegularLTO.Ctx, /*ShouldLazyLoadMetadata*/ true,
1031 Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
1043 ThinLTO.PrevailingModuleForGUID[GUID] = BM.getModuleIdentifier();
1048 BM.readSummary(ThinLTO.CombinedIndex, BM.getModuleIdentifier(),
1051 BM.getModuleIdentifier();
1054 LLVM_DEBUG(dbgs() << "Module " << BM.getModuleIdentifier() << "\n");
1065 BM.getModuleIdentifier());
1073 GUID, BM.getModuleIdentifier()))
1081 GUID, BM.getModuleIdentifier())) {
1088 if (!ThinLTO.ModuleMap.insert({BM.getModuleIdentifier(), BM}).second)
1099 if (BM.getModuleIdentifier().contains(Name)) {
1100 ThinLTO.ModulesToCompile->insert({BM.getModuleIdentifier(), BM});
1101 LLVM_DEBUG(dbgs() << "[ThinLTO] Selecting " << BM.getModuleIdentifier()
1448 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM,
1457 Expected<std::unique_ptr<Module>> MOrErr = BM.parseModule(BackendContext);
1466 auto ModuleID = BM.getModuleIdentifier();
1495 unsigned Task, BitcodeModule BM,
1500 StringRef ModulePath = BM.getModuleIdentifier();
1505 [=](BitcodeModule BM, ModuleSummaryIndex &CombinedIndex,
1516 AddStream, Cache, Task, BM, CombinedIndex, ImportList, ExportList,
1528 BM, std::ref(CombinedIndex), std::ref(ImportList), std::ref(ExportList),
1562 BitcodeModule BM, ModuleSummaryIndex &CombinedIndex,
1571 Expected<std::unique_ptr<Module>> MOrErr = BM.parseModule(BackendContext);
1580 auto ModuleID = BM.getModuleIdentifier();
1622 << BM.getModuleIdentifier() << "\n");
1657 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM,
1667 cgdata::loadModuleForTwoRounds(BM, Task, BackendContext, *IRFiles);
1674 auto ModuleID = BM.getModuleIdentifier();
1696 << BM.getModuleIdentifier() << "\n");
1775 unsigned Task, BitcodeModule BM,
1780 StringRef ModulePath = BM.getModuleIdentifier();