Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp51 static cl::opt<uint32_t> LikelyBranchWeight( variable
77 Weights[Index] = LikelyBranchWeight; 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/
DLowerExpectIntrinsic.cpp49 static cl::opt<uint32_t> LikelyBranchWeight( variable
75 Weights[0] = LikelyBranchWeight; in handleSwitchExpect()
77 Weights[Case.getCaseIndex() + 1] = LikelyBranchWeight; 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/
DMisExpect.cpp122 const uint64_t LikelyBranchWeight = LikelyCInt->getZExtValue(); in verifyMisExpect() local
130 LikelyBranchWeight + (UnlikelyBranchWeight * NumUnlikelyTargets); in verifyMisExpect()
132 const llvm::BranchProbability LikelyThreshold(LikelyBranchWeight, in verifyMisExpect()