Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp250 const auto &GVS = DefinedGVSummaries.find(VI.getGUID()); in shouldImportGlobal()
301 auto ILI = ImportList[RefSummary->modulePath()].insert(VI.getGUID()); in computeImportForReferencedGlobals()
369 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForFunction()
391 VI.getGUID(), std::make_tuple(NewThreshold, nullptr, nullptr))); in computeImportForFunction()
435 Summary.modulePath(), Reason, VI.getGUID()); in computeImportForFunction()
481 auto ILI = ImportList[ExportModulePath].insert(VI.getGUID()); in computeImportForFunction()
644 if (!FlattenedImports.count(VI.getGUID()) && in checkVariableImport()
684 auto DS = DefinedGVSummaries.find(EI.getGUID()); in ComputeCrossModuleImport()
711 if (!DefinedGVSummaries.count(EI->getGUID())) in ComputeCrossModuleImport()
813 auto GUID = Index.getGUIDFromOriginalID(EI.first.getGUID()); in updateValueInfoForIndirectCalls()
[all …]
H A DSampleProfile.cpp333 {Function::getGUID(OrigName), OrigName}); in GUIDToFuncNameMapper()
345 {Function::getGUID(CanonName), CanonName}); in GUIDToFuncNameMapper()
418 return LCS->getGUID(LCS->getName()) < RCS->getGUID(RCS->getName()); in operator ()()
730 return FunctionSamples::getGUID(L->getName()) < in findIndirectCallFunctionSamples()
731 FunctionSamples::getGUID(R->getName()); in findIndirectCallFunctionSamples()
824 if (ValueData[I].Value == Function::getGUID(Candidate)) in doesHistoryAllowICP()
963 Function::getGUID(R->getValue()->getName()), NOMORE_ICP_MAGICNUM}}; in tryPromoteAndInlineCandidate()
1051 FunctionSamples::getGUID(CB->getCalledFunction()->getName())); in findExternalInlineCandidate()
1091 InlinedGUIDs.insert(FunctionSamples::getGUID(CalleeSample->getName())); in findExternalInlineCandidate()
1101 InlinedGUIDs.insert(FunctionSamples::getGUID(TS.getKey())); in findExternalInlineCandidate()
[all …]
H A DSampleProfileProbe.cpp188 Function::getGUID(FunctionSamples::getCanonicalFnName(F))); in getDesc()
288 uint64_t Guid = Function::getGUID(F.getName()); in instrumentOneFunc()
H A DWholeProgramDevirt.cpp799 !DynamicExportSymbols.count(GV.getGUID())) in updateVCallVisibilityInModule()
1245 if (ValueInfo TheFnVI = ExportSummary->getValueInfo(TheFn->getGUID())) in trySingleImplDevirt()
1291 ExportedGUIDs.insert(TheFn.getGUID()); in trySingleImplDevirt()
2088 const auto TheFnGUID = TheFn->getGUID(); in lookUpFunctionValueInfo()
2089 const auto TheFnGUIDWithExportedName = GlobalValue::getGUID(TheFn->getName()); in lookUpFunctionValueInfo()
2180 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in run()
2265 GlobalValue::getGUID(cast<MDString>(S.first.TypeID)->getString()); in run()
2311 NameByGUID[GlobalValue::getGUID(P.first)].push_back(P.first); in run()
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DCSPreInliner.h53 return LHS.CalleeSamples->getGUID(LHS.CalleeSamples->getName()) < in operator()
54 RHS.CalleeSamples->getGUID(RHS.CalleeSamples->getName()); in operator()
H A DProfiledBinary.cpp386 auto GUID = Function::getGUID(F.first()); in decodePseudoProbe()
390 GuidFilter.insert(Function::getGUID(Range.getFuncName())); in decodePseudoProbe()
396 GuidFilter.insert(Function::getGUID(F->FuncName)); in decodePseudoProbe()
743 uint64_t GUID = Function::getGUID(Name); in populateElfSymbolAddressList()
H A DProfileGenerator.cpp609 Function::getGUID(FunctionProfile->getName())); in getLeafProfileAndAddTotalSamples()
629 Function::getGUID(FunctionProfile->getName())); in getLeafProfileAndAddTotalSamples()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp177 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
204 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
572 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary()
700 CantBePromoted.insert(V.getGUID()); in computeVariableSummary()
720 auto AliaseeVI = Index.getValueInfo(Aliasee->getGUID()); in computeAliasSummary()
726 CantBePromoted.insert(A.getGUID()); in computeAliasSummary()
732 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot()
764 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex()
795 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex()
914 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex()
[all …]
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/
H A DLLJITWithThinLTOSummaries.cpp80 << "' (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()
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DLTO.cpp154 auto GUID = VI.getGUID(); in computeLTOCacheKey()
218 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey()
237 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey()
351 if (isPrevailing(VI.getGUID(), S.get())) { in thinLTOResolvePrevailingGUID()
365 !GUIDPreservedSymbols.count(VI.getGUID())); in thinLTOResolvePrevailingGUID()
382 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID()
445 isPrevailing(VI.getGUID(), S.get())) && in thinLTOInternalizeAndPromoteGUID()
878 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) { in linkRegularLTO()
921 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO()
941 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO()
[all …]
H A DThinLTOCodeGenerator.cpp298 PreservedGUID.insert(GlobalValue::getGUID(Sym.getIRName())); in addUsedSymbolToPreservedGUID()
311 GUIDs.insert(GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in computeGUIDPreservedSymbols()
661 GUIDPreservedSymbols.count(VI.getGUID()); in operator ()()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h182 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function
243 OS << VI.getGUID();
264 return A.getGUID() < B.getGUID();
569 return AliaseeValueInfo.getGUID();
1499 auto VP = getOrInsertValuePtr(GV->getGUID());
1525 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)),
1534 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1581 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex);
1665 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1670 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}});
[all …]
H A DGlobalValue.h587 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
591 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}});
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DMemProf.cpp73 GlobalValue::GUID IndexedMemProfRecord::getGUID(const StringRef FunctionName) { in getGUID() function in llvm::memprof::IndexedMemProfRecord
81 return Function::getGUID(FunctionName.take_front(Pos)); in getGUID()
H A DRawMemProfReader.cpp426 IndexedMemProfRecord::getGUID(DIFrame.FunctionName); in symbolizeAndFilterStackFrames()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DModuleSummaryIndex.cpp365 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs()
485 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str(); in getNodeVisualName()
639 Draw(SummaryIt.first, R.getGUID(), in exportToDot()
649 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
H A DAsmWriter.cpp1083 CreateGUIDSlot(GlobalValue::getGUID(TId.first)); in processIndex()
2935 auto GUID = GlobalValue::getGUID(TId.first); in printModuleSummaryIndex()
3041 Out << "^" << Machine.getGUIDSlot(P.VTableVI.getGUID()); in printTypeIdCompatibleVtableSummary()
3129 Out << "(virtFunc: ^" << Machine.getGUIDSlot(P.FuncVI.getGUID()) in printGlobalVarSummary()
3196 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary()
3263 Out << "(callee: ^" << Machine.getGUIDSlot(CI.Callee.getGUID()); in printFunctionSummary()
3300 Out << "(callee: ^" << Machine.getGUIDSlot(Call.Callee.getGUID()); in printFunctionSummary()
3443 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary()
3456 Out << "guid: " << VI.getGUID(); in printSummaryInfo()
3468 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DPseudoProbePrinter.cpp43 CallerGuid = Function::getGUID(Name); in emitPseudoProbe()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DPseudoProbeInserter.cpp135 return Function::getGUID(Name); in getFuncGUID()
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DSampleProf.h112 GUIDBuf = std::to_string(Function::getGUID(Name));
997 S.insert(getGUID(getName()));
1006 S.insert(getGUID(TS.getKey()));
1144 static uint64_t getGUID(StringRef Name) {
1145 return UseMD5 ? std::stoull(Name.data()) : Function::getGUID(Name);
H A DMemProf.h392 static GlobalValue::GUID getGUID(const StringRef FunctionName);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp224 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
/openbsd-src/gnu/llvm/llvm/tools/llvm-link/
H A Dllvm-link.cpp364 Entry.insert(F->getGUID()); in importFunctions()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp208 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase()
240 return getValueId(VI.getGUID()); in getValueId()
4040 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences()
4219 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary()
4408 DefOrUseGUIDs.insert(VI.getGUID()); in writeCombinedGlobalValueSummary()
4433 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
4450 return getValueId(VI.getGUID()); in writeCombinedGlobalValueSummary()
4492 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
4557 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary()
4571 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary()

12