/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | FunctionImport.cpp | 276 auto GUID = Index.getGUIDFromOriginalID(VI.getGUID()); in updateValueInfoForIndirectCalls() 284 const auto &GVS = DefinedGVSummaries.find(VI.getGUID()); in shouldImportGlobal() 335 auto ILI = ImportList[RefSummary->modulePath()].insert(VI.getGUID()); in computeImportForReferencedGlobals() 407 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForFunction() 429 VI.getGUID(), std::make_tuple(NewThreshold, nullptr, nullptr))); in computeImportForFunction() 473 Summary.modulePath(), Reason, VI.getGUID()); in computeImportForFunction() 519 auto ILI = ImportList[ExportModulePath].insert(VI.getGUID()); in computeImportForFunction() 682 if (!FlattenedImports.count(VI.getGUID()) && in checkVariableImport() 722 auto DS = DefinedGVSummaries.find(EI.getGUID()); in ComputeCrossModuleImport() 749 if (!DefinedGVSummaries.count(EI->getGUID())) in ComputeCrossModuleImport() [all …]
|
H A D | SampleProfile.cpp | 249 {Function::getGUID(OrigName), OrigName}); in GUIDToFuncNameMapper() 261 {Function::getGUID(CanonName), CanonName}); in GUIDToFuncNameMapper() 334 return LCS->getGUID(LCS->getName()) < RCS->getGUID(RCS->getName()); in operator ()() 665 return FunctionSamples::getGUID(L->getName()) < in findIndirectCallFunctionSamples() 666 FunctionSamples::getGUID(R->getName()); in findIndirectCallFunctionSamples() 759 if (ValueData[I].Value == Function::getGUID(Candidate)) in doesHistoryAllowICP() 883 Function::getGUID(R->getValue()->getName()), NOMORE_ICP_MAGICNUM}}; in tryPromoteAndInlineCandidate() 988 InlinedGUIDs.insert(FunctionSamples::getGUID(Name)); in findExternalInlineCandidate() 998 InlinedGUIDs.insert(FunctionSamples::getGUID(CalleeName)); in findExternalInlineCandidate() 1427 InstrProfValueData{FunctionSamples::getGUID(I.first), I.second}); in GetSortedValueDataFromCallTargets()
|
H A D | SampleProfileProbe.cpp | 189 Function::getGUID(FunctionSamples::getCanonicalFnName(F))); in getDesc() 289 uint64_t Guid = Function::getGUID(F.getName()); in instrumentOneFunc()
|
H A D | WholeProgramDevirt.cpp | 802 !DynamicExportSymbols.count(GV.getGUID())) in updateVCallVisibilityInModule() 1175 if (ValueInfo TheFnVI = ExportSummary->getValueInfo(TheFn->getGUID())) in trySingleImplDevirt() 1221 ExportedGUIDs.insert(TheFn.getGUID()); in trySingleImplDevirt() 2066 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in run() 2151 GlobalValue::getGUID(cast<MDString>(S.first.TypeID)->getString()); in run() 2195 NameByGUID[GlobalValue::getGUID(P.first)].push_back(P.first); in run()
|
H A D | LowerTypeTests.cpp | 1903 AddressTaken.insert(Ref.getGUID()); in lower() 1916 const GlobalValue::GUID GUID = GlobalValue::getGUID( in lower() 2122 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in lower()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ModuleSummaryAnalysis.cpp | 173 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary() 200 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary() 479 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary() 608 CantBePromoted.insert(V.getGUID()); in computeVariableSummary() 626 auto AliaseeVI = Index.getValueInfo(Aliasee->getGUID()); in computeAliasSummary() 632 CantBePromoted.insert(A.getGUID()); in computeAliasSummary() 638 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot() 670 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex() 702 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex() 809 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex() [all …]
|
H A D | StackSafetyAnalysis.cpp | 709 findCalleeFunctionSummary(Index->getValueInfo(C.first.Callee->getGUID()), in resolveAllCalls()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 179 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function 240 OS << VI.getGUID(); 261 return A.getGUID() < B.getGUID(); 493 return AliaseeValueInfo.getGUID(); 1285 auto VP = getOrInsertValuePtr(GV->getGUID()); 1311 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)), 1320 addOriginalName(VI.getGUID(), Summary->getOriginalName()); 1367 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex); 1446 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId)); 1451 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}}); [all …]
|
H A D | GlobalValue.h | 507 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function 511 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
|
H A D | ModuleSummaryIndexYAML.h | 247 Refs.push_back(VI.getGUID()); 270 V.insert({GlobalValue::getGUID(Key), {std::string(Key), TId}});
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
H A D | CSPreInliner.h | 53 return LHS.CalleeSamples->getGUID(LHS.CalleeSamples->getName()) < in operator() 54 RHS.CalleeSamples->getGUID(RHS.CalleeSamples->getName()); in operator()
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/ |
H A D | LLJITWithThinLTOSummaries.cpp | 80 << "' (GUID: " << GlobalValue::getGUID(GlobalValueName) << ") in:\n"; in log() 114 << "' (GUID: " << GlobalValue::getGUID(GlobalValueName) << ") in:\n"; in log() 138 GlobalValue::GUID G = GlobalValue::getGUID(FunctionName); in getMainModulePath()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/ |
H A D | LTO.cpp | 150 auto GUID = VI.getGUID(); in computeLTOCacheKey() 214 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey() 233 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey() 347 if (isPrevailing(VI.getGUID(), S.get())) { in thinLTOResolvePrevailingGUID() 361 !GUIDPreservedSymbols.count(VI.getGUID())); in thinLTOResolvePrevailingGUID() 378 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID() 441 isPrevailing(VI.getGUID(), S.get())) && in thinLTOInternalizeAndPromoteGUID() 857 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) { in linkRegularLTO() 901 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO() 1005 GlobalValue::GUID GUID = GlobalValue::getGUID( in run() [all …]
|
H A D | ThinLTOCodeGenerator.cpp | 270 PreservedGUID.insert(GlobalValue::getGUID(Sym.getIRName())); in addUsedSymbolToPreservedGUID() 283 GUIDs.insert(GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in computeGUIDPreservedSymbols() 625 GUIDPreservedSymbols.count(VI.getGUID()); in operator ()()
|
H A D | LTOBackend.cpp | 527 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | ModuleSummaryIndex.cpp | 359 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs() 471 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str(); in getNodeVisualName() 626 Draw(SummaryIt.first, R.getGUID(), in exportToDot() 636 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
|
H A D | AsmWriter.cpp | 1094 CreateGUIDSlot(GlobalValue::getGUID(TId.first)); in processIndex() 2960 auto GUID = GlobalValue::getGUID(TId.first); in printModuleSummaryIndex() 3066 Out << "^" << Machine.getGUIDSlot(P.VTableVI.getGUID()); in printTypeIdCompatibleVtableSummary() 3154 Out << "(virtFunc: ^" << Machine.getGUIDSlot(P.FuncVI.getGUID()) in printGlobalVarSummary() 3231 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary() 3261 Out << "(callee: ^" << Machine.getGUIDSlot(Call.Callee.getGUID()); in printFunctionSummary() 3404 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary() 3417 Out << "guid: " << VI.getGUID(); in printSummaryInfo() 3429 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/ |
H A D | SampleProf.h | 109 GUIDBuf = std::to_string(Function::getGUID(Name)); 754 S.insert(getGUID(Name)); 763 S.insert(getGUID(TS.getKey())); 901 static uint64_t getGUID(StringRef Name) { 902 return UseMD5 ? std::stoull(Name.data()) : Function::getGUID(Name);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | PseudoProbeInserter.cpp | 159 return Function::getGUID(Name); in getFuncGUID()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 199 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-link/ |
H A D | llvm-link.cpp | 339 Entry.insert(F->getGUID()); in importFunctions()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 206 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase() 240 return getValueId(VI.getGUID()); in getValueId() 3854 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences() 4008 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary() 4153 DefOrUseGUIDs.insert(VI.getGUID()); in writeCombinedGlobalValueSummary() 4178 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary() 4193 GlobalValue::GUID GUID = VI.getGUID(); in writeCombinedGlobalValueSummary() 4240 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary() 4305 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary() 4319 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 354 MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F); in create() 378 MD5FuncMap.emplace_back(Function::getGUID(OtherFuncName), &F); in create()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 872 OS << ModuleIDPrefix << llvm::format("%" PRIx64, FatbinWrapper->getGUID()); in makeModuleCtorFunction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 5745 auto ValueGUID = GlobalValue::getGUID(GlobalId); in setValueGUID() 5748 OriginalNameID = GlobalValue::getGUID(ValueName); in setValueGUID() 6437 LastSeenGUID = VI.getGUID(); in parseEntireSummary() 6460 LastSeenGUID = VI.getGUID(); in parseEntireSummary() 6486 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
|