Home
last modified time | relevance | path

Searched refs:ModuleId (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp48 void promoteInternals(Module &ExportM, Module &ImportM, StringRef ModuleId, in promoteInternals() argument
69 std::string NewName = (Name + ModuleId).str(); in promoteInternals()
107 void promoteTypeIds(Module &M, StringRef ModuleId) { in promoteTypeIds() argument
116 std::string NewName = (Twine(LocalToGlobal.size()) + ModuleId).str(); in promoteTypeIds()
278 std::string ModuleId = getUniqueModuleId(&M); in splitAndWriteThinLTOBitcode() local
279 if (ModuleId.empty()) { in splitAndWriteThinLTOBitcode()
298 promoteTypeIds(M, ModuleId); in splitAndWriteThinLTOBitcode()
399 promoteInternals(*MergedM, M, ModuleId, CfiFunctions); in splitAndWriteThinLTOBitcode()
400 promoteInternals(M, *MergedM, ModuleId, CfiFunctions); in splitAndWriteThinLTOBitcode()
543 std::string ModuleId = getUniqueModuleId(&M); in writeThinLTOBitcode() local
[all …]
H A DSampleProfileProbe.cpp456 auto ModuleId = getUniqueModuleId(&M); in run() local
465 SampleProfileProber ProbeManager(F, ModuleId); in run()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h54 using ModuleId = SmallVector<std::pair<std::string, SourceLocation>, 2>; variable
424 ModuleId Id;
439 SmallVector<ModuleId, 2> UnresolvedDirectUses;
477 ModuleId Id;
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeReader.h
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp131 Module *ModuleMap::resolveModuleId(const ModuleId &Id, Module *Mod, in resolveModuleId()
1567 bool parseModuleId(ModuleId &Id);
1810 bool ModuleMapParser::parseModuleId(ModuleId &Id) { in parseModuleId()
1973 ModuleId Id; in parseModuleDecl()
2269 ModuleId Id; in parseExternModuleDecl()
2619 ModuleId ParsedModuleId; in parseExportDecl()
2698 ModuleId ParsedModuleId; in parseUseDecl()
2794 static std::string formatModuleId(const ModuleId &Id) { in formatModuleId()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1700 GlobalValueSummary *findSummaryInModule(ValueInfo VI, StringRef ModuleId) const {
1705 return Summary->modulePath() == ModuleId;
1715 StringRef ModuleId) const {
1719 return findSummaryInModule(CalleeInfo, ModuleId);
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h317 Module *resolveModuleId(const ModuleId &Id, Module *Mod, bool Complain) const;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp724 FunctionSummary *findCalleeFunctionSummary(ValueInfo VI, StringRef ModuleId) { in findCalleeFunctionSummary() argument
738 if (GVS->modulePath() == ModuleId) { in findCalleeFunctionSummary()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp1571 std::string ModuleId = SrcM->getModuleIdentifier(); in run() local
1572 StringRef FileName = llvm::sys::path::filename(ModuleId); in run()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7774 uint64_t ModuleId = Record[1]; in parseEntireSummary() local
7828 FS->setModulePath(ModuleIdMap[ModuleId]); in parseEntireSummary()
7837 uint64_t ModuleId = Record[1]; in parseEntireSummary() local
7843 AS->setModulePath(ModuleIdMap[ModuleId]); in parseEntireSummary()
7857 uint64_t ModuleId = Record[1]; in parseEntireSummary() local
7874 FS->setModulePath(ModuleIdMap[ModuleId]); in parseEntireSummary()
8112 uint64_t ModuleId = Record[0]; in parseModuleStringTable() local
8118 ModuleIdMap[ModuleId] = LastSeenModule->first(); in parseModuleStringTable()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3979 auto ModuleId = ModuleIdMap.size(); in writeModStrings() local
3980 ModuleIdMap[Key] = ModuleId; in writeModStrings()
3981 Vals.push_back(ModuleId); in writeModStrings()