Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2076 const uint64_t NewEntryCount = in updateProfileCallee() local
2081 auto updateVTableProfWeight = [](CallBase *CB, const uint64_t NewEntryCount, in updateProfileCallee()
2085 scaleProfData(*VPtr, NewEntryCount, PriorEntryCount); in updateProfileCallee()
2090 uint64_t CloneEntryCount = PriorEntryCount - NewEntryCount; in updateProfileCallee()
2107 Callee->setEntryCount(NewEntryCount); in updateProfileCallee()
2114 CI->updateProfWeight(NewEntryCount, PriorEntryCount); in updateProfileCallee()
2115 updateVTableProfWeight(CI, NewEntryCount, PriorEntryCount); in updateProfileCallee()
2118 II->updateProfWeight(NewEntryCount, PriorEntryCount); in updateProfileCallee()
2119 updateVTableProfWeight(II, NewEntryCount, PriorEntryCount); in updateProfileCallee()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp2066 uint64_t NewEntryCount = 0.5 + FuncEntryCount * Scale; in fixFuncEntryCount() local
2067 if (NewEntryCount == 0) in fixFuncEntryCount()
2068 NewEntryCount = 1; in fixFuncEntryCount()
2069 if (NewEntryCount != FuncEntryCount) { in fixFuncEntryCount()
2070 F.setEntryCount(ProfileCount(NewEntryCount, Function::PCT_Real)); in fixFuncEntryCount()
2073 << NewEntryCount << "\n"); in fixFuncEntryCount()