Home
last modified time | relevance | path

Searched refs:NewEntryCount (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1988 const uint64_t NewEntryCount = in updateProfileCallee() local
1993 auto updateVTableProfWeight = [](CallBase *CB, const uint64_t NewEntryCount, in updateProfileCallee()
1997 scaleProfData(*VPtr, NewEntryCount, PriorEntryCount); in updateProfileCallee()
2002 uint64_t CloneEntryCount = PriorEntryCount - NewEntryCount; in updateProfileCallee()
2019 Callee->setEntryCount(NewEntryCount); in updateProfileCallee()
2026 CI->updateProfWeight(NewEntryCount, PriorEntryCount); in updateProfileCallee()
2027 updateVTableProfWeight(CI, NewEntryCount, PriorEntryCount); in updateProfileCallee()
2030 II->updateProfWeight(NewEntryCount, PriorEntryCount); in updateProfileCallee()
2031 updateVTableProfWeight(II, NewEntryCount, PriorEntryCount); in updateProfileCallee()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1964 uint64_t NewEntryCount = 0.5 + FuncEntryCount * Scale; in fixFuncEntryCount() local
1965 if (NewEntryCount == 0) in fixFuncEntryCount()
1966 NewEntryCount = 1; in fixFuncEntryCount()
1967 if (NewEntryCount != FuncEntryCount) { in fixFuncEntryCount()
1968 F.setEntryCount(ProfileCount(NewEntryCount, Function::PCT_Real)); in fixFuncEntryCount()
1971 << NewEntryCount << "\n"); in fixFuncEntryCount()