Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCompares.cpp793 const APInt &CmpRHSV = CmpRHS->getValue(); in FoldICmpDivCst() local
856 if (CmpRHSV == 0) { // (X / pos) op 0 in FoldICmpDivCst()
860 } else if (CmpRHSV.isStrictlyPositive()) { // (X / pos) op pos in FoldICmpDivCst()
877 if (CmpRHSV == 0) { // (X / neg) op 0 in FoldICmpDivCst()
885 } else if (CmpRHSV.isStrictlyPositive()) { // (X / neg) op pos in FoldICmpDivCst()
949 const APInt &CmpRHSV = cast<ConstantInt>(ICI.getOperand(1))->getValue(); in FoldICmpShrCst() local
954 uint32_t TypeBits = CmpRHSV.getBitWidth(); in FoldICmpShrCst()
1002 APInt Comp = CmpRHSV << ShAmtVal; in FoldICmpShrCst()
1009 if (Comp != CmpRHSV) { // Comparing against a bit that we know is zero. in FoldICmpShrCst()