Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp138 return canBeExternallyReferenced(Index, VI.getGUID()); in eligibleForImport()
146 return canBeExternallyReferenced(Index, Edge.first.getGUID()); in eligibleForImport()
252 auto GUID = Ref.getGUID(); in exportGlobalInModule()
272 auto GUID = Edge.first.getGUID(); in computeImportForFunction()
319 auto CalleeGUID = Edge.first.getGUID(); in computeImportForFunction()
323 auto GUID = Ref.getGUID(); in computeImportForFunction()
483 const auto &GS = DefinedGlobals.find(GV.getGUID()); in thinLTOResolveWeakForLinkerModule()
524 const auto &GS = DefinedGlobals.find(GV.getGUID()); in thinLTOInternalizeModule()
537 const auto &GS = DefinedGlobals.find(GlobalValue::getGUID(OrigId)); in thinLTOInternalizeModule()
545 const auto &GS = DefinedGlobals.find(GlobalValue::getGUID(OrigName)); in thinLTOInternalizeModule()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp278 auto GUID = Index.getGUIDFromOriginalID(VI.getGUID()); in updateValueInfoForIndirectCalls()
290 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForReferencedGlobals()
318 auto ILI = ImportList[RefSummary->modulePath()].insert(VI.getGUID()); in computeImportForReferencedGlobals()
387 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForFunction()
406 VI.getGUID(), std::make_tuple(NewThreshold, nullptr, nullptr))); in computeImportForFunction()
450 Summary.modulePath(), Reason, VI.getGUID()); in computeImportForFunction()
485 auto ILI = ImportList[ExportModulePath].insert(VI.getGUID()); in computeImportForFunction()
531 Worklist.emplace_back(ResolvedCalleeSummary, AdjThreshold, VI.getGUID()); in computeImportForFunction()
657 if (!FlattenedImports.count(VI.getGUID()) && in checkVariableImport()
690 if (!DefinedGVSummaries.count(EI->getGUID())) in ComputeCrossModuleImport()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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 …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp174 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
205 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
479 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary()
606 CantBePromoted.insert(V.getGUID()); in computeVariableSummary()
623 auto AliaseeVI = Index.getValueInfo(Aliasee->getGUID()); in computeAliasSummary()
629 CantBePromoted.insert(A.getGUID()); in computeAliasSummary()
635 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot()
666 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex()
697 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex()
800 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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 …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h178 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function
232 OS << VI.getGUID();
253 return A.getGUID() < B.getGUID();
473 return AliaseeValueInfo.getGUID();
1149 auto VP = getOrInsertValuePtr(GV->getGUID());
1175 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)),
1182 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1229 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex);
1308 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1313 {GlobalValue::getGUID(TypeId), {TypeId, TypeIdSummary()}});
[all …]
H A DGlobalValue.h506 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
510 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
H A DLTO.cpp151 auto GUID = VI.getGUID(); in computeLTOCacheKey()
197 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey()
216 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey()
326 if (isPrevailing(VI.getGUID(), S.get())) { in thinLTOResolvePrevailingGUID()
340 !GUIDPreservedSymbols.count(VI.getGUID())); in thinLTOResolvePrevailingGUID()
348 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID()
401 isPrevailing(VI.getGUID(), S.get())) && in thinLTOInternalizeAndPromoteGUID()
784 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) in linkRegularLTO()
821 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO()
909 GlobalValue::GUID GUID = GlobalValue::getGUID( in run()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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 …]
/aosp_15_r20/external/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h74 GlobalValue::GUID getGUID() const { in getGUID() function
356 return GlobalValueMap[GlobalValue::getGUID(ValueName)]; in getGlobalValueSummaryList()
362 return GlobalValueMap.find(GlobalValue::getGUID(ValueName)); in findGlobalValueSummaryList()
374 GlobalValueMap[GlobalValue::getGUID(ValueName)].push_back( in addGlobalValueSummary()
407 return getGlobalValueSummary(GlobalValue::getGUID(GV.getName()),
H A DGlobalValue.h445 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
449 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/IR/
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 …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/IR/
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 …]
DGlobalValue.h590 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
594 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/IR/
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();
1594 auto VP = getOrInsertValuePtr(GV->getGUID());
1620 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)),
1629 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1676 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex);
1759 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1764 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}});
[all …]
DGlobalValue.h591 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
595 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/IR/
DModuleSummaryIndex.h192 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function
253 OS << VI.getGUID();
274 return A.getGUID() < B.getGUID();
660 return AliaseeValueInfo.getGUID();
1623 auto VP = getOrInsertValuePtr(GV->getGUID());
1649 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)),
1658 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1705 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex);
1788 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
1793 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}});
[all …]
DGlobalValue.h591 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
595 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
H A DSampleProf.h109 GUIDBuf = std::to_string(Function::getGUID(Name));
473 S.insert(getGUID(Name));
482 S.insert(getGUID(TS.getKey()));
569 static uint64_t getGUID(StringRef Name) {
571 : Function::getGUID(Name);
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DModuleSummaryIndex.cpp251 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs()
363 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str(); in getNodeVisualName()
508 Draw(SummaryIt.first, R.getGUID(), in exportToDot()
518 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
/aosp_15_r20/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DGlobalValue.h462 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
466 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/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()

1234