/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionImport.cpp | 329 const auto &GVS = DefinedGVSummaries.find(VI.getGUID()); in shouldImportGlobal() 344 !IsPrevailing(VI.getGUID(), GVS->second)) in shouldImportGlobal() 389 VI.getGUID(), GlobalValueSummary::Definition); in onImportingSummaryImpl() 497 auto It = DefinedGVSummaries.find(VI.getGUID()); in computeImportForModule() 499 IsPrevailing(VI.getGUID(), It->second)) { in computeImportForModule() 525 << Function::getGUID(VI.name()) << "\n"); in computeImportForModule() 544 return IsPrevailing(VI.getGUID(), Candidate); in computeImportForModule() 579 << Function::getGUID(VI.name()) << "\n"); in computeImportForModule() 580 ImportList[ExportingModule][VI.getGUID()] = in computeImportForModule() 670 << " Would include: " << VI.getGUID() << "\n"; in WorkloadImportsManager() [all …]
|
H A D | SampleProfile.cpp | 364 {Function::getGUID(OrigName), OrigName}); in GUIDToFuncNameMapper() 376 {Function::getGUID(CanonName), CanonName}); in GUIDToFuncNameMapper() 452 return LCS->getGUID() < RCS->getGUID(); in operator ()() 733 return L->getGUID() < R->getGUID(); in findIndirectCallFunctionSamples() 821 if (V.Value == Function::getGUID(Candidate)) in doesHistoryAllowICP() 952 Function::getGUID(R->second->getName()), NOMORE_ICP_MAGICNUM}}; in tryPromoteAndInlineCandidate() 1040 Function::getGUID(CB->getCalledFunction()->getName())); in findExternalInlineCandidate() 1088 InlinedGUIDs.insert(CalleeSample->getGUID()); in findExternalInlineCandidate() 2097 const auto *FuncDesc = ProbeManager->getDesc(FS.getGUID()); in rejectHighStalenessProfile() 2261 GUIDsInProfile.count(Function::getGUID(CanonName))) || in runOnFunction()
|
H A D | WholeProgramDevirt.cpp | 840 !DynamicExportSymbols.count(GV.getGUID()) && in updateVCallVisibilityInModule() 887 VisibleToRegularObjSymbols.insert(P.VTableVI.getGUID()); in getVisibleToRegularObjVtableGUIDs() 1320 if (ValueInfo TheFnVI = ExportSummary->getValueInfo(TheFn->getGUID())) in trySingleImplDevirt() 1366 ExportedGUIDs.insert(TheFn.getGUID()); in trySingleImplDevirt() 2206 const auto TheFnGUID = TheFn->getGUID(); in lookUpFunctionValueInfo() 2207 const auto TheFnGUIDWithExportedName = GlobalValue::getGUID(TheFn->getName()); in lookUpFunctionValueInfo() 2305 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in run() 2390 GlobalValue::getGUID(cast<MDString>(S.first.TypeID)->getString()); in run() 2446 NameByGUID[GlobalValue::getGUID(P.first)].push_back(P.first); in run()
|
H A D | MemProfContextDisambiguation.cpp | 1745 !isPrevailing(VI.getGUID(), S.get())) in IndexCallsiteContextGraph() 2116 !isPrevailing(CurCallee.getGUID(), S.get())) in findProfiledCalleeThroughTailCalls() 3464 ValueInfo TheFnVI = ImportSummary->getValueInfo(F.getGUID()); in findValueInfoForFunc() 3469 TheFnVI = ImportSummary->getValueInfo(GlobalValue::getGUID(F.getName())); in findValueInfoForFunc() 3477 TheFnVI = ImportSummary->getValueInfo(GlobalValue::getGUID(OrigId)); in findValueInfoForFunc() 3486 ImportSummary->getGUIDFromOriginalID(GlobalValue::getGUID(OrigName)); in findValueInfoForFunc()
|
H A D | SampleProfileProbe.cpp | 356 uint64_t Guid = Function::getGUID(FName); in instrumentOneFunc()
|
H A D | FunctionAttrs.cpp | 375 assert(IsPrevailing(VI.getGUID(), GVS.get())); in calculatePrevailingSummary() 382 if (IsPrevailing(VI.getGUID(), GVS.get())) { in calculatePrevailingSummary()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ModuleSummaryAnalysis.cpp | 220 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary() 248 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary() 681 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary() 846 CantBePromoted.insert(V.getGUID()); in computeVariableSummary() 867 auto AliaseeVI = Index.getValueInfo(Aliasee->getGUID()); in computeAliasSummary() 873 CantBePromoted.insert(A.getGUID()); in computeAliasSummary() 879 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot() 915 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex() 947 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex() 1066 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTO.cpp | 170 ExportsGUID.push_back(VI.getGUID()); in computeLTOCacheKey() 253 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey() 272 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey() 387 if (isPrevailing(VI.getGUID(), S.get())) { in thinLTOResolvePrevailingGUID() 401 !GUIDPreservedSymbols.count(VI.getGUID())); in thinLTOResolvePrevailingGUID() 418 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID() 532 if (isPrevailing(VI.getGUID(), S.get()) && ExternallyVisibleCopies == 1) in thinLTOInternalizeAndPromoteGUID() 976 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) { in linkRegularLTO() 1019 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO() 1040 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO() [all …]
|
H A D | ThinLTOCodeGenerator.cpp | 301 PreservedGUID.insert(GlobalValue::getGUID(Sym.getIRName())); in addUsedSymbolToPreservedGUID() 314 GUIDs.insert(GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in computeGUIDPreservedSymbols() 639 GUIDPreservedSymbols.count(VI.getGUID()); in operator ()()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 193 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function 254 OS << VI.getGUID(); 275 return A.getGUID() < B.getGUID(); 679 return AliaseeValueInfo.getGUID(); 1645 auto VP = getOrInsertValuePtr(GV->getGUID()); 1671 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)), 1680 addOriginalName(VI.getGUID(), Summary->getOriginalName()); 1727 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex); 1810 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId)); 1815 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}}); [all …]
|
H A D | GlobalValue.h | 591 static GUID getGUID(StringRef GlobalName); 595 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
|
H A D | ModuleSummaryIndexYAML.h | 251 Refs.push_back(VI.getGUID()); 274 V.insert({GlobalValue::getGUID(Key), {std::string(Key), TId}});
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ModuleSummaryIndex.cpp | 377 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs() 497 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str(); in getNodeVisualName() 669 Draw(SummaryIt.first, R.getGUID(), in exportToDot() 679 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
|
H A D | AsmWriter.cpp | 3084 auto GUID = GlobalValue::getGUID(TId.first); in printModuleSummaryIndex() 3190 Out << "^" << Machine.getGUIDSlot(P.VTableVI.getGUID()); in printTypeIdCompatibleVtableSummary() 3278 Out << "(virtFunc: ^" << Machine.getGUIDSlot(P.FuncVI.getGUID()) in printGlobalVarSummary() 3355 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary() 3423 Out << "(callee: ^" << Machine.getGUIDSlot(CI.Callee.getGUID()); in printFunctionSummary() 3460 Out << "(callee: ^" << Machine.getGUIDSlot(Call.Callee.getGUID()); in printFunctionSummary() 3605 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary() 3618 Out << "guid: " << VI.getGUID(); in printSummaryInfo() 3630 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
|
H A D | Globals.cpp | 75 GlobalValue::GUID GlobalValue::getGUID(StringRef GlobalName) { in getGUID() function in GlobalValue
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | PseudoProbePrinter.cpp | 37 CallerGuid = Function::getGUID(Name); in emitPseudoProbe()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PseudoProbeInserter.cpp | 132 return Function::getGUID(Name); in getFuncGUID()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | MemProf.cpp | 360 GlobalValue::GUID IndexedMemProfRecord::getGUID(const StringRef FunctionName) { in getGUID() function in llvm::memprof::IndexedMemProfRecord 373 return Function::getGUID(CanonicalName); in getGUID()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 224 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOCtxProfLowering.cpp | 227 Guid = Builder.getInt64(F.getGUID()); in lowerFunction()
|
H A D | MemProfiler.cpp | 798 auto FuncGUID = Function::getGUID(FuncName); in readMemprof() 914 auto CalleeGUID = Function::getGUID(Name); in readMemprof()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | SampleProf.h | 1052 S.insert(getGUID()); 1211 uint64_t getGUID() const { 1302 return FunctionId(Function::getGUID(Name));
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SampleProfileLoaderBaseImpl.h | 112 return getDesc(Function::getGUID(FProfileName)); 116 return getDesc(Function::getGUID(FunctionSamples::getCanonicalFnName(F)));
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 214 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase() 222 assignValueId(RefEdge.getGUID()); in ModuleBitcodeWriterBase() 255 return getValueId(VI.getGUID()); in getValueId() 511 GUIDToValueIdMap[CI.Callee.getGUID()] = ++GlobalValueId; in IndexBitcodeWriter() 4276 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences() 4457 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary() 4634 DefOrUseGUIDs.insert(VI.getGUID()); in writeCombinedGlobalValueSummary() 4660 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary() 4677 return getValueId(VI.getGUID()); in writeCombinedGlobalValueSummary() 4723 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-link/ |
H A D | llvm-link.cpp | 386 Entry[F->getGUID()] = GlobalValueSummary::Definition; in importFunctions()
|