Lines Matching defs:ModuleId
47 // changing visibility and appending the given ModuleId.
48 void promoteInternals(Module &ExportM, Module &ImportM, StringRef ModuleId,
69 std::string NewName = (Name + ModuleId).str();
107 void promoteTypeIds(Module &M, StringRef ModuleId) {
116 std::string NewName = (Twine(LocalToGlobal.size()) + ModuleId).str();
278 std::string ModuleId = getUniqueModuleId(&M);
279 if (ModuleId.empty()) {
298 promoteTypeIds(M, ModuleId);
399 promoteInternals(*MergedM, M, ModuleId, CfiFunctions);
400 promoteInternals(M, *MergedM, ModuleId, CfiFunctions);
543 std::string ModuleId = getUniqueModuleId(&M);
544 if (!ModuleId.empty()) {
545 promoteTypeIds(M, ModuleId);