Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp276 auto GUID = Index.getGUIDFromOriginalID(VI.getGUID()); in updateValueInfoForIndirectCalls()
284 const auto &GVS = DefinedGVSummaries.find(VI.getGUID()); in shouldImportGlobal()
407 if (DefinedGVSummaries.count(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()
1047 const auto &GS = DefinedGlobals.find(GV.getGUID()); in thinLTOResolvePrevailingInModule()
1122 auto GS = DefinedGlobals.find(GV.getGUID()); in thinLTOInternalizeModule()
1217 auto GUID = F.getGUID(); in importFunctions()
1239 auto GUID = GV.getGUID(); in importFunctions()
[all …]
H A DSampleProfile.cpp255 {Function::getGUID(OrigName), OrigName}); in GUIDToFuncNameMapper()
267 {Function::getGUID(CanonName), CanonName}); in GUIDToFuncNameMapper()
340 return LCS->getGUID(LCS->getName()) < RCS->getGUID(RCS->getName()); in operator ()()
662 return FunctionSamples::getGUID(L->getName()) < in findIndirectCallFunctionSamples()
663 FunctionSamples::getGUID(R->getName()); in findIndirectCallFunctionSamples()
756 if (ValueData[I].Value == Function::getGUID(Candidate)) in doesHistoryAllowICP()
880 Function::getGUID(R->getValue()->getName()), NOMORE_ICP_MAGICNUM}}; in tryPromoteAndInlineCandidate()
985 InlinedGUIDs.insert(FunctionSamples::getGUID(Name)); in findExternalInlineCandidate()
995 InlinedGUIDs.insert(FunctionSamples::getGUID(CalleeName)); in findExternalInlineCandidate()
1431 InstrProfValueData{FunctionSamples::getGUID(I.first), I.second}); in GetSortedValueDataFromCallTargets()
H A DSampleProfileProbe.cpp189 Function::getGUID(FunctionSamples::getCanonicalFnName(F))); in getDesc()
289 uint64_t Guid = Function::getGUID(F.getName()); in instrumentOneFunc()
H A DWholeProgramDevirt.cpp807 !DynamicExportSymbols.count(GV.getGUID())) in updateVCallVisibilityInModule()
1184 if (ValueInfo TheFnVI = ExportSummary->getValueInfo(TheFn->getGUID())) in trySingleImplDevirt()
1230 ExportedGUIDs.insert(TheFn.getGUID()); in trySingleImplDevirt()
2082 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in run()
2167 GlobalValue::getGUID(cast<MDString>(S.first.TypeID)->getString()); in run()
2211 NameByGUID[GlobalValue::getGUID(P.first)].push_back(P.first); in run()
H A DLowerTypeTests.cpp1917 AddressTaken.insert(Ref.getGUID()); in lower()
1930 const GlobalValue::GUID GUID = GlobalValue::getGUID( in lower()
2136 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in lower()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp173 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 DStackSafetyAnalysis.cpp711 findCalleeFunctionSummary(Index->getValueInfo(C.first.Callee->getGUID()), in resolveAllCalls()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h181 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function
242 OS << VI.getGUID();
263 return A.getGUID() < B.getGUID();
495 return AliaseeValueInfo.getGUID();
1287 auto VP = getOrInsertValuePtr(GV->getGUID());
1313 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)),
1322 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1369 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex);
1448 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1453 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}});
[all …]
H A DGlobalValue.h507 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
511 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
H A DModuleSummaryIndexYAML.h247 Refs.push_back(VI.getGUID());
270 V.insert({GlobalValue::getGUID(Key), {std::string(Key), TId}});
/freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp150 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()
901 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO()
1005 GlobalValue::GUID GUID = GlobalValue::getGUID( in run()
1471 auto GUID = GlobalValue::getGUID( in runThinLTO()
[all …]
H A DThinLTOCodeGenerator.cpp335 PreservedGUID.insert(GlobalValue::getGUID(Sym.getIRName())); in addUsedSymbolToPreservedGUID()
348 GUIDs.insert(GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in computeGUIDPreservedSymbols()
695 GUIDPreservedSymbols.count(VI.getGUID()); in operator ()()
H A DLTOBackend.cpp527 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp359 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 DAsmWriter.cpp1068 CreateGUIDSlot(GlobalValue::getGUID(TId.first)); in processIndex()
2948 auto GUID = GlobalValue::getGUID(TId.first); in printModuleSummaryIndex()
3054 Out << "^" << Machine.getGUIDSlot(P.VTableVI.getGUID()); in printTypeIdCompatibleVtableSummary()
3142 Out << "(virtFunc: ^" << Machine.getGUIDSlot(P.FuncVI.getGUID()) in printGlobalVarSummary()
3219 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary()
3249 Out << "(callee: ^" << Machine.getGUIDSlot(Call.Callee.getGUID()); in printFunctionSummary()
3392 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary()
3405 Out << "guid: " << VI.getGUID(); in printSummaryInfo()
3417 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DPseudoProbePrinter.cpp38 uint64_t CallerGuid = Function::getGUID(Name); in emitPseudoProbe()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h109 GUIDBuf = std::to_string(Function::getGUID(Name));
761 S.insert(getGUID(Name));
770 S.insert(getGUID(TS.getKey()));
907 static uint64_t getGUID(StringRef Name) {
908 return UseMD5 ? std::stoull(Name.data()) : Function::getGUID(Name);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DPseudoProbeInserter.cpp130 return Function::getGUID(Name); in getFuncGUID()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp199 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp352 Entry.insert(F->getGUID()); in importFunctions()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp206 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase()
240 return getValueId(VI.getGUID()); in getValueId()
3858 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences()
4012 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary()
4157 DefOrUseGUIDs.insert(VI.getGUID()); in writeCombinedGlobalValueSummary()
4182 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
4197 GlobalValue::GUID GUID = VI.getGUID(); in writeCombinedGlobalValueSummary()
4244 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
4309 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary()
4323 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp355 MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F); in create()
379 MD5FuncMap.emplace_back(Function::getGUID(OtherFuncName), &F); in create()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp880 OS << ModuleIDPrefix << llvm::format("%" PRIx64, FatbinWrapper->getGUID()); in makeModuleCtorFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5676 auto ValueGUID = GlobalValue::getGUID(GlobalId); in setValueGUID()
5679 OriginalNameID = GlobalValue::getGUID(ValueName); in setValueGUID()
6368 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
6391 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
6417 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp7771 *TIDRef.first = GlobalValue::getGUID(Name); in parseTypeIdEntry()
7876 *TIDRef.first = GlobalValue::getGUID(Name); in parseTypeIdCompatibleVtableEntry()
8190 GUID = GlobalValue::getGUID( in addGlobalValueToIndex()