Searched refs:UnlikelyBranchWeight (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 53 static cl::opt<uint32_t> UnlikelyBranchWeight( variable 73 SmallVector<uint32_t, 16> Weights(n + 1, UnlikelyBranchWeight); 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/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/lib/Transforms/Utils/ |
D | LowerExpectIntrinsic.cpp | 24 UnlikelyBranchWeight("unlikely-branch-weight", cl::Hidden, cl::init(4), 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()
|