| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | FunctionImport.cpp | 277 auto GUID = Index.getGUIDFromOriginalID(VI.getGUID()); in updateValueInfoForIndirectCalls() 288 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForReferencedGlobals() 373 if (DefinedGVSummaries.count(VI.getGUID())) { in computeImportForFunction() 485 ExportList.insert(VI.getGUID()); in computeImportForFunction() 494 auto CalleeGUID = Edge.first.getGUID(); in computeImportForFunction() 498 auto GUID = Ref.getGUID(); in computeImportForFunction() 612 if (isGlobalVarSummary(Index, getGUID(V))) in numGlobalVarSummaries() 1012 auto GS = DefinedGlobals.find(GV.getGUID()); in thinLTOInternalizeModule() 1106 auto GUID = F.getGUID(); in importFunctions() 1128 auto GUID = GV.getGUID(); in importFunctions() [all …]
|
| H A D | SampleProfile.cpp | 705 return FunctionSamples::getGUID(L->getName()) < in findIndirectCallFunctionSamples() 706 FunctionSamples::getGUID(R->getName()); in findIndirectCallFunctionSamples() 1195 R.push_back({FunctionSamples::getGUID(I->getKey()), I->getValue()}); in SortCallTargets()
|
| H A D | LowerTypeTests.cpp | 1785 AddressTaken.insert(Ref.getGUID()); in lower() 1798 const GlobalValue::GUID GUID = GlobalValue::getGUID( in lower() 1976 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in lower()
|
| H A D | WholeProgramDevirt.cpp | 1615 MetadataByGUID[GlobalValue::getGUID(TypeId->getString())].push_back( in run() 1693 GlobalValue::getGUID(cast<MDString>(S.first.TypeID)->getString()); in run()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 169 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary() 200 GlobalValue::GUID Guid = GlobalValue::getGUID(TypeId->getString()); in addIntrinsicToSummary() 405 CantBePromoted.insert(F.getGUID()); in computeFunctionSummary() 426 CantBePromoted.insert(V.getGUID()); in computeVariableSummary() 444 CantBePromoted.insert(A.getGUID()); in computeAliasSummary() 450 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot() 481 CantBePromoted.insert(V->getGUID()); in buildModuleSummaryIndex() 511 CantBePromoted.insert(GV->getGUID()); in buildModuleSummaryIndex() 612 return !CantBePromoted.count(VI.getGUID()); in buildModuleSummaryIndex() 622 return !CantBePromoted.count(Edge.first.getGUID()); in buildModuleSummaryIndex()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 103 GUIDBuf = std::to_string(Function::getGUID(Name)); 387 S.insert(getGUID(Name)); 396 S.insert(getGUID(TS.getKey())); 461 GUIDToFuncNameMap.insert({Function::getGUID(OrigName), OrigName}); 472 GUIDToFuncNameMap.insert({Function::getGUID(NewName), NewName}); 490 static uint64_t getGUID(StringRef Name) { 492 : Function::getGUID(Name);
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 177 GlobalValue::GUID getGUID() const { return getRef()->first; } in getGUID() function 204 OS << VI.getGUID(); 225 return A.getGUID() < B.getGUID(); 996 auto VP = getOrInsertValuePtr(GV->getGUID()); 1022 addGlobalValueSummary(getOrInsertValueInfo(GlobalValue::getGUID(ValueName)), 1029 addOriginalName(VI.getGUID(), Summary->getOriginalName()); 1070 return getGlobalValueSummary(GV.getGUID(), PerModuleIndex); 1147 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId)); 1152 {GlobalValue::getGUID(TypeId), {TypeId, TypeIdSummary()}}); 1159 auto TidIter = TypeIdMap.equal_range(GlobalValue::getGUID(TypeId));
|
| H A D | GlobalValue.h | 497 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function 501 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
|
| H A D | ModuleSummaryIndexYAML.h | 242 Refs.push_back(VI.getGUID()); 264 V.insert({GlobalValue::getGUID(Key), {Key, TId}});
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 191 O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) in dumpSCCs() 303 return VI.name().empty() ? getNodeVisualName(VI.getGUID()) : VI.name().str(); in getNodeVisualName() 429 Draw(SummaryIt.first, R.getGUID(), R.isReadOnly() ? -1 : -2); in exportToDot() 448 Draw(SummaryIt.first, CGEdge.first.getGUID(), in exportToDot()
|
| H A D | AsmWriter.cpp | 2907 Out << "(callee: ^" << Machine.getGUIDSlot(Call.first.getGUID()); in printFunctionSummary() 3044 Out << "^" << Machine.getGUIDSlot(Ref.getGUID()); in printSummary() 3057 Out << "guid: " << VI.getGUID(); in printSummaryInfo() 3069 Out << " ; guid = " << VI.getGUID(); in printSummaryInfo()
|
| /freebsd-12.1/contrib/llvm/lib/LTO/ |
| H A D | LTO.cpp | 191 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey() 208 AddUsedCfiGlobal(ET.first.getGUID()); in computeLTOCacheKey() 736 if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) in linkRegularLTO() 773 auto GUID = GlobalValue::getGUID(GlobalValue::getGlobalIdentifier( in addThinLTO() 822 GlobalValue::GUID GUID = GlobalValue::getGUID( in run() 826 GUIDPreservedSymbols.insert(GlobalValue::getGUID( in run() 976 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(Name))); in InProcessThinBackend() 979 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(Name))); in InProcessThinBackend() 1215 auto GUID = GlobalValue::getGUID( in runThinLTO() 1226 GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(Def))); in runThinLTO()
|
| H A D | LTOBackend.cpp | 446 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols()
|
| H A D | ThinLTOCodeGenerator.cpp | 260 GUIDPreservedSymbols.insert(GlobalValue::getGUID(Name)); in computeGUIDPreservedSymbols()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | FunctionImportUtils.cpp | 69 SGV->getGUID(), SGV->getParent()->getModuleIdentifier()); in shouldPromoteLocalToGlobal() 208 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-link/ |
| H A D | llvm-link.cpp | 265 Entry.insert(F->getGUID()); in importFunctions()
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 345 MD5FuncMap.emplace_back(Function::getGUID(PGOFuncName), &F); in create() 355 MD5FuncMap.emplace_back(Function::getGUID(OtherFuncName), &F); in create()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 523 OS << ModuleIDPrefix << llvm::format("%" PRIx64, FatbinWrapper->getGUID()); in makeModuleCtorFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 203 assignValueId(CallEdge.first.getGUID()); in ModuleBitcodeWriterBase() 236 return getValueId(VI.getGUID()); in getValueId() 3576 auto VI = Index->getValueInfo(V.getGUID()); in writeModuleLevelReferences() 3695 ValueInfo VI = Index->getValueInfo(F.getGUID()); in writePerModuleGlobalValueSummary() 3855 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary() 3886 auto RefValueId = getValueId(RI.getGUID()); in writeCombinedGlobalValueSummary() 3908 GlobalValue::GUID GUID = EI.first.getGUID(); in writeCombinedGlobalValueSummary()
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4907 auto ValueGUID = GlobalValue::getGUID(GlobalId); in setValueGUID() 4910 OriginalNameID = GlobalValue::getGUID(ValueName); in setValueGUID() 5410 getValueInfoFromValueId(AliaseeID).first.getGUID(); in parseEntireSummary() 5501 LastSeenGUID = VI.getGUID(); in parseEntireSummary() 5520 getValueInfoFromValueId(AliaseeValueId).first.getGUID(); in parseEntireSummary() 5527 LastSeenGUID = VI.getGUID(); in parseEntireSummary() 5550 LastSeenGUID = VI.getGUID(); in parseEntireSummary()
|
| /freebsd-12.1/contrib/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 7223 *TIDRef.first = GlobalValue::getGUID(Name); in ParseTypeIdEntry() 7551 GUID = GlobalValue::getGUID( in AddGlobalValueToIndex()
|