| /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/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 …]
|
| D | SampleProfile.cpp | 244 {Function::getGUID(OrigName), OrigName}); in GUIDToFuncNameMapper() 256 {Function::getGUID(CanonName), CanonName}); in GUIDToFuncNameMapper() 860 return FunctionSamples::getGUID(L->getName()) < in findIndirectCallFunctionSamples() 861 FunctionSamples::getGUID(R->getName()); in findIndirectCallFunctionSamples() 1448 R.emplace_back(InstrProfValueData{FunctionSamples::getGUID(I.first), I.second}); in GetSortedValueDataFromCallTargets()
|
| D | WholeProgramDevirt.cpp | 976 if (ValueInfo TheFnVI = ExportSummary->getValueInfo(TheFn->getGUID())) in trySingleImplDevirt() 1017 ExportedGUIDs.insert(TheFn.getGUID()); in trySingleImplDevirt() 1828 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in run() 1905 GlobalValue::getGUID(cast<MDString>(S.first.TypeID)->getString()); in run() 1949 NameByGUID[GlobalValue::getGUID(P.first)].push_back(P.first); in run()
|
| D | LowerTypeTests.cpp | 1849 AddressTaken.insert(Ref.getGUID()); in lower() 1862 const GlobalValue::GUID GUID = GlobalValue::getGUID( in lower() 2053 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in lower()
|
| /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/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 …]
|
| D | ThinLTOCodeGenerator.cpp | 264 PreservedGUID.insert(GlobalValue::getGUID(Sym.getIRName())); in addUsedSymbolToPreservedGUID() 277 GUIDPreservedSymbols.insert(GlobalValue::getGUID(Name)); in computeGUIDPreservedSymbols() 596 GUIDPreservedSymbols.count(VI.getGUID()); in operator ()()
|
| D | LTOBackend.cpp | 485 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols()
|
| /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()
|
| D | AsmWriter.cpp | 1049 CreateGUIDSlot(GlobalValue::getGUID(TId.first)); in processIndex() 2736 auto GUID = GlobalValue::getGUID(TId.first); in printModuleSummaryIndex() 2831 Out << "^" << Machine.getGUIDSlot(P.VTableVI.getGUID()); in printTypeIdCompatibleVtableSummary() 2914 Out << "(virtFunc: ^" << Machine.getGUIDSlot(P.FuncVI.getGUID()) in printGlobalVarSummary() 2979 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary() 3119 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary() 3132 Out << "guid: " << VI.getGUID(); in printSummaryInfo() 3144 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
| D | FunctionImportUtils.cpp | 199 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
| D | BitcodeWriter.cpp | 203 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase() 237 return getValueId(VI.getGUID()); in getValueId() 3689 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences() 3843 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary() 3998 DefOrUseGUIDs.insert(VI.getGUID()); in writeCombinedGlobalValueSummary() 4023 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary() 4055 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary() 4080 GlobalValue::GUID GUID = EI.first.getGUID(); in writeCombinedGlobalValueSummary() 4144 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary() 4158 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(S)))) { in writeCombinedGlobalValueSummary()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
| D | InstrProf.cpp | 345 MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F); in create() 355 MD5FuncMap.emplace_back(Function::getGUID(OtherFuncName), &F); in create()
|
| /external/llvm/lib/LTO/ |
| D | ThinLTOCodeGenerator.cpp | 189 GUIDPreservedSymbols.insert(GlobalValue::getGUID(Name)); in computeGUIDPreservedSymbols()
|
| /external/llvm/lib/ProfileData/ |
| D | InstrProf.cpp | 232 MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F); in create()
|
| /external/llvm/lib/Bitcode/Writer/ |
| D | BitcodeWriter.cpp | 3452 NameVals.push_back(getValueId(RI.getGUID())); in writeCombinedGlobalValueSummary() 3471 NameVals.push_back(getValueId(RI.getGUID())); in writeCombinedGlobalValueSummary() 3484 if (!hasValueId(EI.first.getGUID())) in writeCombinedGlobalValueSummary() 3486 NameVals.push_back(getValueId(EI.first.getGUID())); in writeCombinedGlobalValueSummary()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
| D | BitcodeReader.cpp | 5390 auto ValueGUID = GlobalValue::getGUID(GlobalId); in setValueGUID() 5393 OriginalNameID = GlobalValue::getGUID(ValueName); in setValueGUID() 6070 LastSeenGUID = VI.getGUID(); in parseEntireSummary() 6093 LastSeenGUID = VI.getGUID(); in parseEntireSummary() 6117 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
|