Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp277 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 DSampleProfile.cpp705 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 DLowerTypeTests.cpp1785 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 DWholeProgramDevirt.cpp1615 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 DModuleSummaryAnalysis.cpp169 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 DSampleProf.h103 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 DModuleSummaryIndex.h177 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 DGlobalValue.h497 static GUID getGUID(StringRef GlobalName) { return MD5Hash(GlobalName); } in getGUID() function
501 GUID getGUID() const { return getGUID(getGlobalIdentifier()); } in getGUID() function
H A DModuleSummaryIndexYAML.h242 Refs.push_back(VI.getGUID());
264 V.insert({GlobalValue::getGUID(Key), {Key, TId}});
/freebsd-12.1/contrib/llvm/lib/IR/
H A DModuleSummaryIndex.cpp191 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 DAsmWriter.cpp2907 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 DLTO.cpp191 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 DLTOBackend.cpp446 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols()
H A DThinLTOCodeGenerator.cpp260 GUIDPreservedSymbols.insert(GlobalValue::getGUID(Name)); in computeGUIDPreservedSymbols()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp69 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 Dllvm-link.cpp265 Entry.insert(F->getGUID()); in importFunctions()
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProf.cpp345 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 DCGCUDANV.cpp523 OS << ModuleIDPrefix << llvm::format("%" PRIx64, FatbinWrapper->getGUID()); in makeModuleCtorFunction()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp203 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 DBitcodeReader.cpp4907 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 DLLParser.cpp7223 *TIDRef.first = GlobalValue::getGUID(Name); in ParseTypeIdEntry()
7551 GUID = GlobalValue::getGUID( in AddGlobalValueToIndex()