Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp240 auto GUID = Index.getGUIDFromOriginalID(VI.getGUID()); in updateValueInfoForIndirectCalls()
251 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForReferencedGlobals()
264 ImportList[RefSummary->modulePath()].insert(VI.getGUID()); in computeImportForReferencedGlobals()
266 (*ExportLists)[RefSummary->modulePath()].insert(VI.getGUID()); in computeImportForReferencedGlobals()
300 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForFunction()
319 std::make_pair(VI.getGUID(), std::make_pair(NewThreshold, nullptr))); in computeImportForFunction()
370 auto ILI = ImportList[ExportModulePath].insert(VI.getGUID()); in computeImportForFunction()
378 ExportList.insert(VI.getGUID()); in computeImportForFunction()
387 auto CalleeGUID = Edge.first.getGUID(); in computeImportForFunction()
391 auto GUID = Ref.getGUID(); in computeImportForFunction()
[all …]
DLowerTypeTests.cpp1771 AddressTaken.insert(Ref.getGUID()); in lower()
1784 const GlobalValue::GUID GUID = GlobalValue::getGUID( in lower()
1961 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in lower()
DWholeProgramDevirt.cpp1579 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in run()
1657 GlobalValue::getGUID(cast<MDString>(S.first.TypeID)->getString()); in run()
/external/llvm/lib/Transforms/IPO/
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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp168 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
199 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary()
374 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary()
390 CantBePromoted.insert(V.getGUID()); in computeVariableSummary()
408 CantBePromoted.insert(A.getGUID()); in computeAliasSummary()
414 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot()
441 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex()
471 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex()
568 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex()
578 return !CantBePromoted.count(Edge.first.getGUID()); in buildModuleSummaryIndex()
/external/llvm/include/llvm/IR/
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()),
DGlobalValue.h445 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-7.0/llvm/lib/IR/
DModuleSummaryIndex.cpp100 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs()
202 return VI.name().empty() ? std::string("@") + std::to_string(VI.getGUID()) in getNodeVisualName()
225 auto StrId = std::to_string(VI.getGUID()); in defineExternalNode()
311 Draw(SummaryIt.first, R.getGUID(), -1); in exportToDot()
323 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
DAsmWriter.cpp1029 CreateGUIDSlot(GlobalValue::getGUID(TId.first)); in processIndex()
2647 auto GUID = GlobalValue::getGUID(TId.first); in printModuleSummaryIndex()
2877 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary()
2992 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary()
3005 Out << "guid: " << VI.getGUID(); in printSummaryInfo()
3017 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h160 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function
185 OS << VI.getGUID();
206 return A.getGUID() < B.getGUID();
921 auto VP = getOrInsertValuePtr(GV->getGUID());
947 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)),
954 addOriginalName(VI.getGUID(), Summary->getOriginalName());
995 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex);
DGlobalValue.h496 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
500 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
DModuleSummaryIndexYAML.h243 Refs.push_back(VI.getGUID());
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTO.cpp190 AddUsedCfiGlobal(VI.getGUID()); in computeCacheKey()
205 AddUsedCfiGlobal(ET.first.getGUID()); in computeCacheKey()
698 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) in linkRegularLTO()
735 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO()
784 GlobalValue::GUID GUID = GlobalValue::getGUID( in run()
788 GUIDPreservedSymbols.insert(GlobalValue::getGUID( in run()
941 TypeIdSummariesByGuid[GlobalValue::getGUID(TId.first)].push_back(&TId); in InProcessThinBackend()
944 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(Name))); in InProcessThinBackend()
947 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(Name))); in InProcessThinBackend()
1183 auto GUID = GlobalValue::getGUID( in runThinLTO()
[all …]
DLTOBackend.cpp439 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols()
DThinLTOCodeGenerator.cpp258 GUIDPreservedSymbols.insert(GlobalValue::getGUID(Name)); in computeGUIDPreservedSymbols()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalValue.h462 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-7.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp69 SGV->getGUID(), SGV->getParent()->getModuleIdentifier()); in shouldPromoteLocalToGlobal()
208 ValueInfo VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DSampleProf.h102 GUIDBuf = std::to_string(Function::getGUID(Name));
383 S.insert(Function::getGUID(Name));
392 : Function::getGUID(TS.getKey()));
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-link/
Dllvm-link.cpp265 Entry.insert(F->getGUID()); in importFunctions()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProf.cpp344 MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F); in create()
354 MD5FuncMap.emplace_back(Function::getGUID(OtherFuncName), &F); in create()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp201 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase()
234 return getValueId(VI.getGUID()); in getValueId()
3493 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences()
3602 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary()
3752 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
3779 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary()
3798 GlobalValue::GUID GUID = EI.first.getGUID(); in writeCombinedGlobalValueSummary()
3877 if (!ReferencedTypeIds.count(GlobalValue::getGUID(S.first))) in writeCombinedGlobalValueSummary()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4843 auto ValueGUID = GlobalValue::getGUID(GlobalId); in setValueGUID()
4846 OriginalNameID = GlobalValue::getGUID(ValueName); in setValueGUID()
5319 getValueInfoFromValueId(AliaseeID).first.getGUID(); in parseEntireSummary()
5390 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
5409 getValueInfoFromValueId(AliaseeValueId).first.getGUID(); in parseEntireSummary()
5416 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
5432 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp189 GUIDPreservedSymbols.insert(GlobalValue::getGUID(Name)); in computeGUIDPreservedSymbols()
/external/llvm/lib/ProfileData/
DInstrProf.cpp232 MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F); in create()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp3452 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()

12