Home
last modified time | relevance | path

Searched refs:ExpectedWeights (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DMisExpect.cpp159 ArrayRef<uint32_t> ExpectedWeights) { in verifyMisExpect() argument
168 for (size_t Idx = 0, End = ExpectedWeights.size(); Idx < End; Idx++) { in verifyMisExpect()
169 uint32_t V = ExpectedWeights[Idx]; in verifyMisExpect()
224 auto ExpectedWeights = ExpectedWeightsOpt.value(); in checkBackendInstrumentation() local
225 verifyMisExpect(I, RealWeights, ExpectedWeights); in checkBackendInstrumentation()
229 const ArrayRef<uint32_t> ExpectedWeights) { in checkFrontendInstrumentation() argument
234 verifyMisExpect(I, RealWeights, ExpectedWeights); in checkFrontendInstrumentation()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DMisExpect.h52 const ArrayRef<uint32_t> ExpectedWeights);
62 const ArrayRef<uint32_t> ExpectedWeights);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp319 SmallVector<uint32_t, 4> ExpectedWeights; in handleBrSelExpect() local
324 ExpectedWeights = {LikelyBranchWeightVal, UnlikelyBranchWeightVal}; in handleBrSelExpect()
328 ExpectedWeights = {UnlikelyBranchWeightVal, LikelyBranchWeightVal}; in handleBrSelExpect()
336 misexpect::checkFrontendInstrumentation(BSI, ExpectedWeights); in handleBrSelExpect()