Home
last modified time | relevance | path

Searched refs:PosVal (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp144 const APInt &PosVal = Val.abs(); in visitMul() local
145 if (Val.isNegative() && PosVal.isPowerOf2()) { in visitMul()
157 ConstantInt::get(Y->getType(), PosVal)); in visitMul()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp249 const APInt &PosVal = Val.abs(); in visitMul() local
250 if (Val.isNegative() && PosVal.isPowerOf2()) { in visitMul()
262 ConstantInt::get(Y->getType(), PosVal)); in visitMul()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp196 const APInt &PosVal = Val.abs(); in visitMul() local
197 if (Val.isNegative() && PosVal.isPowerOf2()) { in visitMul()
209 ConstantInt::get(Y->getType(), PosVal)); in visitMul()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp3835 int64_t PosVal = std::max(Val1, Val2); in isSaturatingConditional() local
3839 Val1 == ~Val2 && isPowerOf2_64(PosVal + 1)) { in isSaturatingConditional()
3842 K = (uint64_t)PosVal; // At this point, PosVal is guaranteed to be positive in isSaturatingConditional()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp4367 int64_t PosVal = std::max(Val1, Val2); in isSaturatingConditional() local
4372 isPowerOf2_64(PosVal + 1)) { in isSaturatingConditional()
4383 K = (uint64_t)PosVal; // At this point, PosVal is guaranteed to be positive in isSaturatingConditional()