Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp863 const APInt &CmpRHSV = CmpRHS->getValue(); in FoldICmpDivCst() local
925 if (CmpRHSV == 0) { // (X / pos) op 0 in FoldICmpDivCst()
929 } else if (CmpRHSV.isStrictlyPositive()) { // (X / pos) op pos in FoldICmpDivCst()
946 if (CmpRHSV == 0) { // (X / neg) op 0 in FoldICmpDivCst()
954 } else if (CmpRHSV.isStrictlyPositive()) { // (X / neg) op pos in FoldICmpDivCst()
1018 const APInt &CmpRHSV = cast<ConstantInt>(ICI.getOperand(1))->getValue(); in FoldICmpShrCst() local
1023 uint32_t TypeBits = CmpRHSV.getBitWidth(); in FoldICmpShrCst()
1070 APInt Comp = CmpRHSV << ShAmtVal; in FoldICmpShrCst()
1077 if (Comp != CmpRHSV) { // Comparing against a bit that we know is zero. in FoldICmpShrCst()