Searched refs:AdjustedRHS (Results 1 – 2 of 2) sorted by relevance
440 Constant *AdjustedRHS; in visitSelectInstWithICmp() local442 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()[all …]
716 Constant *AdjustedRHS; in adjustMinMax() local718 AdjustedRHS = ConstantInt::get(CmpRHS->getType(), *CmpC + 1); in adjustMinMax()720 AdjustedRHS = ConstantInt::get(CmpRHS->getType(), *CmpC - 1); in adjustMinMax()726 if ((CmpLHS == TrueVal && AdjustedRHS == FalseVal) || in adjustMinMax()727 (CmpLHS == FalseVal && AdjustedRHS == TrueVal)) { in adjustMinMax()734 Constant *SextRHS = ConstantExpr::getSExt(AdjustedRHS, SelTy); in adjustMinMax()742 AdjustedRHS = SextRHS; in adjustMinMax()746 AdjustedRHS = SextRHS; in adjustMinMax()748 Constant *ZextRHS = ConstantExpr::getZExt(AdjustedRHS, SelTy); in adjustMinMax()755 AdjustedRHS = ZextRHS; in adjustMinMax()[all …]