Searched refs:SarConst (Results 1 – 2 of 2) sorted by relevance
27770 APInt SarConst = (cast<ConstantSDNode>(N1))->getAPIntValue(); in combineShiftRightAlgebraic() local27773 if (SarConst.isNegative()) in combineShiftRightAlgebraic()27785 SarConst = SarConst - (Size - ShiftSize); in combineShiftRightAlgebraic()27786 if (SarConst == 0) in combineShiftRightAlgebraic()27788 else if (SarConst.isNegative()) in combineShiftRightAlgebraic()27790 DAG.getConstant(-SarConst, DL, CVT)); in combineShiftRightAlgebraic()27793 DAG.getConstant(SarConst, DL, CVT)); in combineShiftRightAlgebraic()
34089 APInt SarConst = (cast<ConstantSDNode>(N1))->getAPIntValue(); in combineShiftRightArithmetic() local34092 if (SarConst.isNegative()) in combineShiftRightArithmetic()34104 SarConst = SarConst - (Size - ShiftSize); in combineShiftRightArithmetic()34105 if (SarConst == 0) in combineShiftRightArithmetic()34107 else if (SarConst.isNegative()) in combineShiftRightArithmetic()34109 DAG.getConstant(-SarConst, DL, CVT)); in combineShiftRightArithmetic()34112 DAG.getConstant(SarConst, DL, CVT)); in combineShiftRightArithmetic()