/external/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 138 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 …]
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 278 auto GUID = Index.getGUIDFromOriginalID(VI.getGUID()); in updateValueInfoForIndirectCalls() 291 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForReferencedGlobals() 314 auto ILI = ImportList[RefSummary->modulePath()].insert(VI.getGUID()); in computeImportForReferencedGlobals() 386 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForFunction() 405 VI.getGUID(), std::make_tuple(NewThreshold, nullptr, nullptr))); in computeImportForFunction() 449 Summary.modulePath(), Reason, VI.getGUID()); in computeImportForFunction() 484 auto ILI = ImportList[ExportModulePath].insert(VI.getGUID()); in computeImportForFunction() 647 if (!FlattenedImports.count(VI.getGUID()) && in checkVariableImport() 687 auto DS = DefinedGVSummaries.find(EI.getGUID()); in ComputeCrossModuleImport() 714 if (!DefinedGVSummaries.count(EI->getGUID())) in ComputeCrossModuleImport() [all …]
|
D | SampleProfileProbe.cpp | 79 uint64_t Guid = Function::getGUID(F.getName()); in instrumentOneFunc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 278 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 174 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 …]
|
/external/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 74 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()),
|
D | GlobalValue.h | 445 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function 449 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 174 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary() 205 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary() 483 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary() 613 CantBePromoted.insert(V.getGUID()); in computeVariableSummary() 630 auto AliaseeVI = Index.getValueInfo(Aliasee->getGUID()); in computeAliasSummary() 636 CantBePromoted.insert(A.getGUID()); in computeAliasSummary() 642 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot() 674 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex() 705 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex() 812 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex() [all …]
|
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/ |
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()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 179 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function 233 OS << VI.getGUID(); 254 return A.getGUID() < B.getGUID(); 474 return AliaseeValueInfo.getGUID(); 1258 auto VP = getOrInsertValuePtr(GV->getGUID()); 1284 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)), 1293 addOriginalName(VI.getGUID(), Summary->getOriginalName()); 1340 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex); 1419 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId)); 1424 {GlobalValue::getGUID(TypeId), {std::string(TypeId), TypeIdSummary()}}); [all …]
|
D | GlobalValue.h | 507 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function 511 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
|
D | ModuleSummaryIndexYAML.h | 245 Refs.push_back(VI.getGUID()); 268 V.insert({GlobalValue::getGUID(Key), {std::string(Key), TId}});
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 178 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 …]
|
D | GlobalValue.h | 506 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function 510 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
|
D | ModuleSummaryIndexYAML.h | 242 Refs.push_back(VI.getGUID()); 265 V.insert({GlobalValue::getGUID(Key), {Key, TId}});
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | LTO.cpp | 151 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 …]
|
/external/llvm-project/llvm/lib/LTO/ |
D | LTO.cpp | 147 auto GUID = VI.getGUID(); in computeLTOCacheKey() 210 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey() 229 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey() 339 if (isPrevailing(VI.getGUID(), S.get())) { in thinLTOResolvePrevailingGUID() 353 !GUIDPreservedSymbols.count(VI.getGUID())); in thinLTOResolvePrevailingGUID() 361 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID() 414 isPrevailing(VI.getGUID(), S.get())) && in thinLTOInternalizeAndPromoteGUID() 799 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) { in linkRegularLTO() 843 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO() 947 GlobalValue::GUID GUID = GlobalValue::getGUID( in run() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 109 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);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | GlobalValue.h | 462 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function 466 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ModuleSummaryIndex.cpp | 251 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()
|
/external/llvm-project/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 108 GUIDBuf = std::to_string(Function::getGUID(Name)); 673 S.insert(getGUID(Name)); 682 S.insert(getGUID(TS.getKey())); 790 static uint64_t getGUID(StringRef Name) { 791 return UseMD5 ? std::stoull(Name.data()) : Function::getGUID(Name);
|
/external/llvm-project/llvm/lib/IR/ |
D | ModuleSummaryIndex.cpp | 324 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs() 436 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str(); in getNodeVisualName() 589 Draw(SummaryIt.first, R.getGUID(), in exportToDot() 599 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | PseudoProbeInserter.cpp | 79 return Function::getGUID(Name); in getFuncGUID()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 199 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 199 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
|