/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | FunctionImport.cpp | 250 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 D | SampleProfile.cpp | 333 {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 D | SampleProfileProbe.cpp | 188 Function::getGUID(FunctionSamples::getCanonicalFnName(F))); in getDesc() 288 uint64_t Guid = Function::getGUID(F.getName()); in instrumentOneFunc()
|
H A D | WholeProgramDevirt.cpp | 799 !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 D | CSPreInliner.h | 53 return LHS.CalleeSamples->getGUID(LHS.CalleeSamples->getName()) < in operator() 54 RHS.CalleeSamples->getGUID(RHS.CalleeSamples->getName()); in operator()
|
H A D | ProfiledBinary.cpp | 386 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 D | ProfileGenerator.cpp | 609 Function::getGUID(FunctionProfile->getName())); in getLeafProfileAndAddTotalSamples() 629 Function::getGUID(FunctionProfile->getName())); in getLeafProfileAndAddTotalSamples()
|
/openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
H A D | ModuleSummaryAnalysis.cpp | 177 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 D | LLJITWithThinLTOSummaries.cpp | 80 << "' (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 D | LTO.cpp | 154 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 D | ThinLTOCodeGenerator.cpp | 298 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 D | ModuleSummaryIndex.h | 182 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 D | GlobalValue.h | 587 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function 591 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
|
H A D | ModuleSummaryIndexYAML.h | 248 Refs.push_back(VI.getGUID()); 271 V.insert({GlobalValue::getGUID(Key), {std::string(Key), TId}});
|
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/ |
H A D | MemProf.cpp | 73 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 D | RawMemProfReader.cpp | 426 IndexedMemProfRecord::getGUID(DIFrame.FunctionName); in symbolizeAndFilterStackFrames()
|
/openbsd-src/gnu/llvm/llvm/lib/IR/ |
H A D | ModuleSummaryIndex.cpp | 365 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 D | AsmWriter.cpp | 1083 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 D | PseudoProbePrinter.cpp | 43 CallerGuid = Function::getGUID(Name); in emitPseudoProbe()
|
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
H A D | PseudoProbeInserter.cpp | 135 return Function::getGUID(Name); in getFuncGUID()
|
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/ |
H A D | SampleProf.h | 112 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 D | MemProf.h | 392 static GlobalValue::GUID getGUID(const StringRef FunctionName);
|
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 224 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
|
/openbsd-src/gnu/llvm/llvm/tools/llvm-link/ |
H A D | llvm-link.cpp | 364 Entry.insert(F->getGUID()); in importFunctions()
|
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 208 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()
|