Home
last modified time | relevance | path

Searched refs:getGUID (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp402 const auto &GVS = DefinedGVSummaries.find(VI.getGUID()); in shouldImportGlobal()
417 !IsPrevailing(VI.getGUID(), GVS->second)) in shouldImportGlobal()
450 VI.getGUID()); in onImportingSummaryImpl()
457 if (ImportList.addDefinition(RefSummary->modulePath(), VI.getGUID()) != in onImportingSummaryImpl()
581 auto It = DefinedGVSummaries.find(VI.getGUID()); in computeImportForModule()
583 IsPrevailing(VI.getGUID(), It->second)) { in computeImportForModule()
609 << VI.getGUID() << "\n"); in computeImportForModule()
628 return IsPrevailing(VI.getGUID(), Candidate); in computeImportForModule()
662 << ExportingModule << " : " << VI.getGUID() << "\n"); in computeImportForModule()
663 ImportList.addDefinition(ExportingModule, VI.getGUID()); in computeImportForModule()
[all …]
H A DSampleProfile.cpp452 return LCS->getGUID() < RCS->getGUID(); in operator ()()
735 return L->getGUID() < R->getGUID(); in findIndirectCallFunctionSamples()
1089 InlinedGUIDs.insert(CalleeSample->getGUID()); in findExternalInlineCandidate()
2106 const auto *FuncDesc = ProbeManager->getDesc(FS.getGUID()); in rejectHighStalenessProfile()
H A DWholeProgramDevirt.cpp871 !DynamicExportSymbols.count(GV.getGUID()) && in updateVCallVisibilityInModule()
918 VisibleToRegularObjSymbols.insert(P.VTableVI.getGUID()); in getVisibleToRegularObjVtableGUIDs()
1359 if (ValueInfo TheFnVI = ExportSummary->getValueInfo(TheFn->getGUID())) in trySingleImplDevirt()
1405 ExportedGUIDs.insert(TheFn.getGUID()); in trySingleImplDevirt()
2288 const auto TheFnGUID = TheFn->getGUID(); in lookUpFunctionValueInfo()
H A DSampleProfileMatcher.cpp477 const auto *FuncDesc = ProbeManager->getDesc(FS.getGUID()); in countMismatchedFuncSamples()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfFlattening.cpp129 auto FlatProfIter = FlatIndCalls.find(AssignGUIDPass::getGUID(F)); in annotateIndirectCalls()
182 auto It = FlattenedProfile.find(AssignGUIDPass::getGUID(F)); in run()
H A DMemProfUse.cpp226 uint64_t CallerGUID = memprof::getGUID(CallerName); in extractCallsFromIR()
227 uint64_t CalleeGUID = memprof::getGUID(CalleeName); in extractCallsFromIR()
H A DPGOCtxProfLowering.cpp284 AssignGUIDPass::getGUID(cast<Function>(*Mark->getNameValue()))); in lowerFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp730 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary()
895 CantBePromoted.insert(V.getGUID()); in computeVariableSummary()
916 auto AliaseeVI = Index.getValueInfo(Aliasee->getGUID()); in computeAliasSummary()
922 CantBePromoted.insert(A.getGUID()); in computeAliasSummary()
965 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex()
997 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex()
1116 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex()
1126 return !CantBePromoted.count(Edge.first.getGUID()); in buildModuleSummaryIndex()
H A DCtxProfAnalysis.cpp427 const GlobalValue::GUID GUID = F.getGUID(); in run()
436 GlobalValue::GUID AssignGUIDPass::getGUID(const Function &F) { in getGUID() function in AssignGUIDPass
439 return F.getGUID(); in getGUID()
516 auto GUID = AssignGUIDPass::getGUID(F); in run()
552 if (auto It = FuncInfo.find(AssignGUIDPass::getGUID(F)); It != FuncInfo.end()) in getDefinedFunctionGUID()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp388 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs()
508 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str(); in getNodeVisualName()
680 Draw(SummaryIt.first, R.getGUID(), in exportToDot()
690 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
H A DAsmWriter.cpp3353 Out << "^" << Machine.getGUIDSlot(P.VTableVI.getGUID()); in printTypeIdCompatibleVtableSummary()
3441 Out << "(virtFunc: ^" << Machine.getGUIDSlot(P.FuncVI.getGUID()) in printGlobalVarSummary()
3518 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary()
3586 Out << "(callee: ^" << Machine.getGUIDSlot(CI.Callee.getGUID()); in printFunctionSummary()
3623 Out << "(callee: ^" << Machine.getGUIDSlot(Call.Callee.getGUID()); in printFunctionSummary()
3768 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary()
3781 Out << "guid: " << VI.getGUID(); in printSummaryInfo()
3793 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp182 return SymbolsToMove.contains(SGV->getGUID()) in getLinkage()
258 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
H A DCallPromotionUtils.cpp619 const GlobalValue::GUID CalleeGUID = AssignGUIDPass::getGUID(Callee); in promoteCallWithIfThenElse()
623 assert(Ctx.guid() == AssignGUIDPass::getGUID(Caller)); in promoteCallWithIfThenElse()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h197 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function
263 OS << VI.getGUID();
284 return A.getGUID() < B.getGUID();
685 return AliaseeValueInfo.getGUID();
1710 auto VP = getOrInsertValuePtr(GV->getGUID());
1747 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1793 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex);
H A DGlobalValue.h600 GUID getGUID() const { in getGUID() function
H A DModuleSummaryIndexYAML.h268 Refs.push_back(VI.getGUID());
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp180 ExportsGUID.push_back(VI.getGUID()); in computeLTOCacheKey()
246 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey()
265 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey()
392 if (isPrevailing(VI.getGUID(), S.get())) { in thinLTOResolvePrevailingGUID()
406 !GUIDPreservedSymbols.count(VI.getGUID())); in thinLTOResolvePrevailingGUID()
426 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID()
540 if (isPrevailing(VI.getGUID(), S.get()) && ExternallyVisibleCopies == 1) in thinLTOInternalizeAndPromoteGUID()
1001 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) { in linkRegularLTO()
2021 ExportedGUIDs.count(VI.getGUID()); in runThinLTO()
H A DLTOBackend.cpp582 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCtxProfAnalysis.h209 LLVM_ABI static uint64_t getGUID(const Function &F);
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProfYAML.h65 Val = memprof::getGUID(Scalar);
H A DSampleProf.h1064 S.insert(getGUID());
1223 uint64_t getGUID() const {
H A DMemProf.h494 LLVM_ABI GlobalValue::GUID getGUID(const StringRef FunctionName);
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProf.cpp344 GlobalValue::GUID getGUID(const StringRef FunctionName) { in getGUID() function
/freebsd/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp374 FileNameStringCache.insert(FileName).first->getKey(), F->getGUID()); in importFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp239 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase()
247 assignValueId(RefEdge.getGUID()); in ModuleBitcodeWriterBase()
282 return getValueId(VI.getGUID()); in getValueId()
548 GUIDToValueIdMap[CI.Callee.getGUID()] = ++GlobalValueId; in IndexBitcodeWriter()
4587 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences()
4815 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary()
4847 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary()
5096 DefOrUseGUIDs.insert(VI.getGUID()); in writeCombinedGlobalValueSummary()
5123 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
5140 return getValueId(VI.getGUID()); in writeCombinedGlobalValueSummary()
[all …]

12