Home
last modified time | relevance | path

Searched refs:UseMD5 (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DSampleProfTest.cpp138 void testRoundTrip(SampleProfileFormat Format, bool Remap, bool UseMD5) { in testRoundTrip()
141 if (Format == SampleProfileFormat::SPF_Ext_Binary && UseMD5) in testRoundTrip()
245 if (!UseMD5) { in testRoundTrip()
280 if (!UseMD5) { in testRoundTrip()
309 getRepInFormat(MconstructName, UseMD5, MconstructGUID); in testRoundTrip()
312 getRepInFormat(StringviewName, UseMD5, StringviewGUID); in testRoundTrip()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp236 CalleeName = getRepInFormat(CalleeName, FunctionSamples::UseMD5, FGUID); in getCalleeContextSamplesFor()
326 Name = getRepInFormat(Name, FunctionSamples::UseMD5, FGUID); in getBaseSamplesFor()
458 if (!FunctionSamples::UseMD5) in getFuncNameFor()
509 if (FunctionSamples::UseMD5) { in getContextFor()
512 getRepInFormat(Location.second, FunctionSamples::UseMD5, MD5Names.back()); in getContextFor()
H A DSampleProfile.cpp1124 assert((!FunctionSamples::UseMD5 || FS->GUIDToFuncNameMap) && in inlineHotFunctions()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProfWriter.h197 UseMD5 = true; in setUseMD5()
316 bool UseMD5 = false; variable
H A DSampleProf.h107 static inline StringRef getRepInFormat(StringRef Name, bool UseMD5,
109 if (Name.empty() || !UseMD5)
1068 if (!UseMD5)
1117 static bool UseMD5;
1133 return UseMD5 ? std::stoull(Name.data()) : Function::getGUID(Name);
H A DSampleProfReader.h375 FunctionSamples::UseMD5 = useMD5(); in read()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DSampleProf.cpp46 bool FunctionSamples::UseMD5 = false; member in llvm::sampleprof::FunctionSamples
292 CalleeName = getRepInFormat(CalleeName, UseMD5, CalleeGUID); in findFunctionSamplesAt()
H A DSampleProfReader.cpp666 bool UseMD5 = hasSecFlag(Entry, SecNameTableFlags::SecFlagMD5Name); in readOneSection() local
667 assert((!FixedLengthMD5 || UseMD5) && in readOneSection()
671 if (std::error_code EC = readNameTableSec(UseMD5)) in readOneSection()
H A DSampleProfWriter.cpp240 if (!UseMD5) in writeNameTable()
/llvm-project-15.0.7/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp716 bool CompressAllSections, bool UseMD5, in handleExtBinaryWriter() argument
731 if (UseMD5) { in handleExtBinaryWriter()
749 bool UseMD5, bool GenPartialProfile, bool GenCSNestedProfile, in mergeSampleProfile() argument
841 CompressAllSections, UseMD5, GenPartialProfile); in mergeSampleProfile()
969 cl::opt<bool> UseMD5( in merge_main() local
1065 UseMD5, GenPartialProfile, GenCSNestedProfile, in merge_main()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp35 cl::opt<bool> UseMD5(
167 if (UseMD5) { in write()