Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp316 !IsPrevailing(VI.getGUID(), GVS->second)) in shouldImportGlobal()
460 auto It = DefinedGVSummaries.find(VI.getGUID()); in computeImportForModule()
462 IsPrevailing(VI.getGUID(), It->second)) { in computeImportForModule()
702 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForFunction()
978 if (!FlattenedImports.count(VI.getGUID()) && in checkVariableImport()
1020 auto DS = DefinedGVSummaries.find(EI.getGUID()); in ComputeCrossModuleImport()
1047 if (!DefinedGVSummaries.count(EI->getGUID())) in ComputeCrossModuleImport()
1542 auto GS = DefinedGlobals.find(GV.getGUID()); in thinLTOInternalizeModule()
1637 auto GUID = F.getGUID(); in importFunctions()
1659 auto GUID = GV.getGUID(); in importFunctions()
[all …]
H A DSampleProfile.cpp343 {Function::getGUID(OrigName), OrigName}); in GUIDToFuncNameMapper()
355 {Function::getGUID(CanonName), CanonName}); in GUIDToFuncNameMapper()
428 return LCS->getGUID() < RCS->getGUID(); in operator ()()
772 return L->getGUID() < R->getGUID(); in findIndirectCallFunctionSamples()
864 if (ValueData[I].Value == Function::getGUID(Candidate)) in doesHistoryAllowICP()
1003 Function::getGUID(R->second->getName()), NOMORE_ICP_MAGICNUM}}; in tryPromoteAndInlineCandidate()
1091 Function::getGUID(CB->getCalledFunction()->getName())); in findExternalInlineCandidate()
1136 InlinedGUIDs.insert(CalleeSample->getGUID()); in findExternalInlineCandidate()
2194 const auto *FuncDesc = ProbeManager->getDesc(FS.getGUID()); in countMismatchedSamples()
2649 GUIDsInProfile.count(Function::getGUID(CanonName))) || in runOnFunction()
H A DWholeProgramDevirt.cpp840 !DynamicExportSymbols.count(GV.getGUID()) && in updateVCallVisibilityInModule()
887 VisibleToRegularObjSymbols.insert(P.VTableVI.getGUID()); in getVisibleToRegularObjVtableGUIDs()
1328 if (ValueInfo TheFnVI = ExportSummary->getValueInfo(TheFn->getGUID())) in trySingleImplDevirt()
1374 ExportedGUIDs.insert(TheFn.getGUID()); in trySingleImplDevirt()
2214 const auto TheFnGUID = TheFn->getGUID(); in lookUpFunctionValueInfo()
2215 const auto TheFnGUIDWithExportedName = GlobalValue::getGUID(TheFn->getName()); in lookUpFunctionValueInfo()
2313 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in run()
2398 GlobalValue::getGUID(cast<MDString>(S.first.TypeID)->getString()); in run()
2454 NameByGUID[GlobalValue::getGUID(P.first)].push_back(P.first); in run()
H A DSampleProfileProbe.cpp270 uint64_t Guid = Function::getGUID(FName); in instrumentOneFunc()
H A DMemProfContextDisambiguation.cpp1601 !isPrevailing(VI.getGUID(), S.get())) in IndexCallsiteContextGraph()
1962 !isPrevailing(CurCallee.getGUID(), S.get())) in findProfiledCalleeThroughTailCalls()
3253 ValueInfo TheFnVI = ImportSummary->getValueInfo(F.getGUID()); in findValueInfoForFunc()
3258 TheFnVI = ImportSummary->getValueInfo(GlobalValue::getGUID(F.getName())); in findValueInfoForFunc()
3266 TheFnVI = ImportSummary->getValueInfo(GlobalValue::getGUID(OrigId)); in findValueInfoForFunc()
3275 ImportSummary->getGUIDFromOriginalID(GlobalValue::getGUID(OrigName)); in findValueInfoForFunc()
H A DFunctionAttrs.cpp375 assert(IsPrevailing(VI.getGUID(), GVS.get())); in calculatePrevailingSummary()
382 if (IsPrevailing(VI.getGUID(), GVS.get())) { in calculatePrevailingSummary()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp189 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
217 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
639 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary()
772 CantBePromoted.insert(V.getGUID()); in computeVariableSummary()
792 auto AliaseeVI = Index.getValueInfo(Aliasee->getGUID()); in computeAliasSummary()
798 CantBePromoted.insert(A.getGUID()); in computeAliasSummary()
804 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot()
840 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex()
871 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex()
990 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp162 auto GUID = VI.getGUID(); in computeLTOCacheKey()
241 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey()
260 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey()
375 if (isPrevailing(VI.getGUID(), S.get())) { in thinLTOResolvePrevailingGUID()
389 !GUIDPreservedSymbols.count(VI.getGUID())); in thinLTOResolvePrevailingGUID()
406 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID()
1005 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO()
1026 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO()
1136 GlobalValue::GUID GUID = GlobalValue::getGUID( in run()
1756 auto GUID = GlobalValue::getGUID( in runThinLTO()
[all …]
H A DThinLTOCodeGenerator.cpp300 PreservedGUID.insert(GlobalValue::getGUID(Sym.getIRName())); in addUsedSymbolToPreservedGUID()
313 GUIDs.insert(GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in computeGUIDPreservedSymbols()
647 GUIDPreservedSymbols.count(VI.getGUID()); in operator ()()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h192 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function
253 OS << VI.getGUID();
274 return A.getGUID() < B.getGUID();
637 return AliaseeValueInfo.getGUID();
1600 auto VP = getOrInsertValuePtr(GV->getGUID());
1626 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)),
1635 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1682 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex);
1765 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1770 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}});
[all …]
H A DGlobalValue.h590 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
594 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
H A DModuleSummaryIndexYAML.h248 Refs.push_back(VI.getGUID());
271 V.insert({GlobalValue::getGUID(Key), {std::string(Key), TId}});
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProf.cpp78 GlobalValue::GUID IndexedMemProfRecord::getGUID(const StringRef FunctionName) { in getGUID() function in llvm::memprof::IndexedMemProfRecord
91 return Function::getGUID(CanonicalName); in getGUID()
H A DRawMemProfReader.cpp515 IndexedMemProfRecord::getGUID(DIFrame.FunctionName); in symbolizeAndFilterStackFrames()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DPseudoProbePrinter.cpp39 CallerGuid = Function::getGUID(Name); in emitPseudoProbe()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp377 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs()
497 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str(); in getNodeVisualName()
665 Draw(SummaryIt.first, R.getGUID(), in exportToDot()
675 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
H A DAsmWriter.cpp2994 auto GUID = GlobalValue::getGUID(TId.first); in printModuleSummaryIndex()
3100 Out << "^" << Machine.getGUIDSlot(P.VTableVI.getGUID()); in printTypeIdCompatibleVtableSummary()
3188 Out << "(virtFunc: ^" << Machine.getGUIDSlot(P.FuncVI.getGUID()) in printGlobalVarSummary()
3255 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary()
3323 Out << "(callee: ^" << Machine.getGUIDSlot(CI.Callee.getGUID()); in printFunctionSummary()
3360 Out << "(callee: ^" << Machine.getGUIDSlot(Call.Callee.getGUID()); in printFunctionSummary()
3503 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary()
3516 Out << "guid: " << VI.getGUID(); in printSummaryInfo()
3528 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DPseudoProbeInserter.cpp132 return Function::getGUID(Name); in getFuncGUID()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp224 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1047 S.insert(getGUID());
1204 uint64_t getGUID() const {
1295 return FunctionId(Function::getGUID(Name));
H A DMemProf.h395 static GlobalValue::GUID getGUID(const StringRef FunctionName);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp687 auto FuncGUID = Function::getGUID(FuncName); in readMemprof()
798 auto CalleeGUID = Function::getGUID(Name); in readMemprof()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h111 return getDesc(Function::getGUID(FProfileName));
115 return getDesc(Function::getGUID(FunctionSamples::getCanonicalFnName(F)));
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp370 Entry.insert(F->getGUID()); in importFunctions()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp209 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase()
241 return getValueId(VI.getGUID()); in getValueId()
474 GUIDToValueIdMap[CI.Callee.getGUID()] = ++GlobalValueId; in IndexBitcodeWriter()
4102 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences()
4281 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary()
4454 DefOrUseGUIDs.insert(VI.getGUID()); in writeCombinedGlobalValueSummary()
4480 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
4497 return getValueId(VI.getGUID()); in writeCombinedGlobalValueSummary()
4540 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
4594 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary()
[all …]

12