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

References

lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  202   std::string ModuleId = getUniqueModuleId(&M);
  206     ProfileSummaryInfo PSI(M);
  207     M.addModuleFlag(Module::Error, "ThinLTO", uint32_t(0));
  208     ModuleSummaryIndex Index = buildModuleSummaryIndex(M, nullptr, &PSI);
  209     WriteBitcodeToFile(M, OS, /*ShouldPreserveUseListOrder=*/false, &Index);
  214       WriteBitcodeToFile(M, *ThinLinkOS, /*ShouldPreserveUseListOrder=*/false,
  220   promoteTypeIds(M, ModuleId);
  253   for (GlobalVariable &GV : M.globals())
  275       CloneModule(M, VMap, [&](const GlobalValue *GV) -> bool {
  298   for (auto &F : M)
  304   filterModule(&M, [&](const GlobalValue *GV) {
  314   promoteInternals(*MergedM, M, ModuleId, CfiFunctions);
  315   promoteInternals(M, *MergedM, ModuleId, CfiFunctions);
  347   for (auto &A : M.aliases()) {
  372   ModuleSymbolTable::CollectAsmSymvers(M, [&](StringRef Name, StringRef Alias) {
  373     Function *F = M.getFunction(Name);
  390   ProfileSummaryInfo PSI(M);
  391   ModuleSummaryIndex Index = buildModuleSummaryIndex(M, nullptr, &PSI);
  406   W.writeModule(M, /*ShouldPreserveUseListOrder=*/false, &Index,
  419     StripDebugInfo(M);
  420     W2.writeThinLinkBitcode(M, Index, ModHash);