Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMisExpect.cpp124 void verifyMisExpect(Instruction &I, ArrayRef<uint32_t> RealWeights, in verifyMisExpect() argument
145 const uint64_t ProfiledWeight = RealWeights[MaxIndex]; in verifyMisExpect()
147 std::accumulate(RealWeights.begin(), RealWeights.end(), (uint64_t)0, in verifyMisExpect()
149 const uint64_t NumUnlikelyTargets = RealWeights.size() - 1; in verifyMisExpect()
182 const ArrayRef<uint32_t> RealWeights) { in checkBackendInstrumentation() argument
193 verifyMisExpect(I, RealWeights, ExpectedWeights); in checkBackendInstrumentation()
198 SmallVector<uint32_t> RealWeights; in checkFrontendInstrumentation() local
199 if (!extractBranchWeights(I, RealWeights)) in checkFrontendInstrumentation()
201 verifyMisExpect(I, RealWeights, ExpectedWeights); in checkFrontendInstrumentation()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DMisExpect.h38 const llvm::ArrayRef<uint32_t> RealWeights);
61 void verifyMisExpect(Instruction &I, ArrayRef<uint32_t> RealWeights,