Home
last modified time | relevance | path

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

/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-7.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp50 static cl::opt<uint32_t> LikelyBranchWeight( variable
76 Weights[0] = LikelyBranchWeight; in handleSwitchExpect()
78 Weights[Case.getCaseIndex() + 1] = LikelyBranchWeight; in handleSwitchExpect()
224 MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight)); in handlePhiDef()
228 MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight)); in handlePhiDef()
287 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBrSelExpect()
289 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBrSelExpect()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerExpectIntrinsic.cpp21 LikelyBranchWeight("likely-branch-weight", cl::Hidden, cl::init(64), variable
70 Vec[i + 1] = ConstantInt::get(Int32Ty, i == caseNo ? LikelyBranchWeight : UnlikelyBranchWeight); in HandleSwitchExpect()
115 ConstantInt::get(Int32Ty, Likely ? LikelyBranchWeight : UnlikelyBranchWeight), in HandleIfExpect()
116 ConstantInt::get(Int32Ty, Likely ? UnlikelyBranchWeight : LikelyBranchWeight) in HandleIfExpect()