Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp27770 APInt SarConst = (cast<ConstantSDNode>(N1))->getAPIntValue(); in combineShiftRightAlgebraic() local
27773 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp34089 APInt SarConst = (cast<ConstantSDNode>(N1))->getAPIntValue(); in combineShiftRightArithmetic() local
34092 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()