Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3017 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal() local
3018 assert(ICmpCst.isPowerOf2()); in foldICmpWithTruncSignExtendedVal()
3020 const APInt AddCst = ICmpCst.lshr(1); in foldICmpWithTruncSignExtendedVal()
3021 assert(AddCst.ult(ICmpCst) && AddCst.isPowerOf2()); in foldICmpWithTruncSignExtendedVal()
3026 Value *T1 = Builder.CreateICmp(DstPred, T0, ConstantInt::get(XType, ICmpCst)); in foldICmpWithTruncSignExtendedVal()