Searched refs:UnlikelyBranchWeight (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 54 static cl::opt<uint32_t> UnlikelyBranchWeight( variable 74 SmallVector<uint32_t, 16> Weights(n + 1, UnlikelyBranchWeight); in handleSwitchExpect() 82 .createMisExpect(Index, LikelyBranchWeight, UnlikelyBranchWeight)); in handleSwitchExpect() 230 MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight)); in handlePhiDef() 234 MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight)); in handlePhiDef() 294 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBrSelExpect() 295 ExpNode = MDB.createMisExpect(0, LikelyBranchWeight, UnlikelyBranchWeight); in handleBrSelExpect() 297 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBrSelExpect() 298 ExpNode = MDB.createMisExpect(1, LikelyBranchWeight, UnlikelyBranchWeight); in handleBrSelExpect()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 52 static cl::opt<uint32_t> UnlikelyBranchWeight( variable 72 SmallVector<uint32_t, 16> Weights(n + 1, UnlikelyBranchWeight); in handleSwitchExpect() 128 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBranchExpect() 130 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBranchExpect()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | MisExpect.cpp | 123 const uint64_t UnlikelyBranchWeight = UnlikelyCInt->getZExtValue(); in verifyMisExpect() local 130 LikelyBranchWeight + (UnlikelyBranchWeight * NumUnlikelyTargets); in verifyMisExpect()
|