Searched refs:ExpectedWeights (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | MisExpect.cpp | 125 ArrayRef<uint32_t> ExpectedWeights) { in verifyMisExpect() argument 134 for (size_t Idx = 0, End = ExpectedWeights.size(); Idx < End; Idx++) { in verifyMisExpect() 135 uint32_t V = ExpectedWeights[Idx]; in verifyMisExpect() 190 SmallVector<uint32_t> ExpectedWeights; in checkBackendInstrumentation() local 191 if (!extractBranchWeights(I, ExpectedWeights)) in checkBackendInstrumentation() 193 verifyMisExpect(I, RealWeights, ExpectedWeights); in checkBackendInstrumentation() 197 const ArrayRef<uint32_t> ExpectedWeights) { in checkFrontendInstrumentation() argument 201 verifyMisExpect(I, RealWeights, ExpectedWeights); in checkFrontendInstrumentation()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | MisExpect.h | 52 const ArrayRef<uint32_t> ExpectedWeights); 62 const ArrayRef<uint32_t> ExpectedWeights);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerExpectIntrinsic.cpp | 333 SmallVector<uint32_t, 4> ExpectedWeights; in handleBrSelExpect() local 338 ExpectedWeights = {LikelyBranchWeightVal, UnlikelyBranchWeightVal}; in handleBrSelExpect() 342 ExpectedWeights = {UnlikelyBranchWeightVal, LikelyBranchWeightVal}; in handleBrSelExpect() 350 misexpect::checkFrontendInstrumentation(BSI, ExpectedWeights); in handleBrSelExpect()
|