Lines Matching refs:AdjustedRHS
440 Constant *AdjustedRHS; in visitSelectInstWithICmp() local
442 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() + 1); in visitSelectInstWithICmp()
444 AdjustedRHS = ConstantInt::get(CI->getContext(), CI->getValue() - 1); in visitSelectInstWithICmp()
448 if ((CmpLHS == TrueVal && AdjustedRHS == FalseVal) || in visitSelectInstWithICmp()
449 (CmpLHS == FalseVal && AdjustedRHS == TrueVal)) in visitSelectInstWithICmp()
457 Constant *sextRHS = ConstantExpr::getSExt(AdjustedRHS, SelectTy); in visitSelectInstWithICmp()
466 AdjustedRHS = sextRHS; in visitSelectInstWithICmp()
470 AdjustedRHS = sextRHS; in visitSelectInstWithICmp()
472 Constant *zextRHS = ConstantExpr::getZExt(AdjustedRHS, SelectTy); in visitSelectInstWithICmp()
480 AdjustedRHS = zextRHS; in visitSelectInstWithICmp()
484 AdjustedRHS = zextRHS; in visitSelectInstWithICmp()
493 CmpRHS = AdjustedRHS; in visitSelectInstWithICmp()