Home
last modified time | relevance | path

Searched refs:ModId (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DModuleSummaryIndex.cpp547 auto NodeId = [](uint64_t ModId, GlobalValue::GUID Id) { in exportToDot() argument
548 return ModId == (uint64_t)-1 ? std::to_string(Id) in exportToDot()
549 : std::string("M") + std::to_string(ModId) + in exportToDot()
580 auto ModId = getModuleId(ModIt.first); in exportToDot() local
582 OS << " subgraph cluster_" << std::to_string(ModId) << " {\n"; in exportToDot()
591 CrossModuleEdges.push_back({ModId, Hotness, IdFrom, IdTo}); in exportToDot()
594 DrawEdge(" ", ModId, IdFrom, ModId, IdTo, Hotness); in exportToDot()
598 NodeMap[SummaryIt.first].push_back(ModId); in exportToDot()
631 OS << " " << NodeId(ModId, SummaryIt.first) << " " << A.getAsString() in exportToDot()
H A DAsmWriter.cpp1071 for (auto &[ModPath, ModId] : TheIndex->modulePaths()) in processIndex()
1072 ModuleIdToPathMap[ModId.first] = ModPath; in processIndex()
2891 for (auto &[ModPath, ModId] : TheIndex->modulePaths()) in printModuleSummaryIndex()
2895 ModId.first == -1u ? RegularLTOModuleName : std::string(ModPath), in printModuleSummaryIndex()
2896 ModId.second); in printModuleSummaryIndex()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1640 ModuleInfo *addModule(StringRef ModPath, uint64_t ModId,
1642 return &*ModulePathStringTable.insert({ModPath, {ModId, Hash}}).first;