Searched refs:RealWeights (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MisExpect.cpp | 158 void verifyMisExpect(Instruction &I, ArrayRef<uint32_t> RealWeights, in verifyMisExpect() argument 179 const uint64_t ProfiledWeight = RealWeights[MaxIndex]; in verifyMisExpect() 181 std::accumulate(RealWeights.begin(), RealWeights.end(), (uint64_t)0, in verifyMisExpect() 183 const uint64_t NumUnlikelyTargets = RealWeights.size() - 1; in verifyMisExpect() 220 const ArrayRef<uint32_t> RealWeights) { in checkBackendInstrumentation() argument 225 verifyMisExpect(I, RealWeights, ExpectedWeights); in checkBackendInstrumentation() 233 auto RealWeights = RealWeightsOpt.value(); in checkFrontendInstrumentation() local 234 verifyMisExpect(I, RealWeights, ExpectedWeights); in checkFrontendInstrumentation()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | MisExpect.h | 38 const llvm::ArrayRef<uint32_t> RealWeights); 61 void verifyMisExpect(Instruction &I, ArrayRef<uint32_t> RealWeights,
|