Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp589 int32_t ShlConst = cast<ConstantSDNode>(Shl_1)->getSExtValue(); in SelectSHL() local
596 int32_t ValConst = C->getSExtValue() << ShlConst; in SelectSHL()
617 int32_t ValConst = 1 << (ShlConst + C2->getSExtValue()); in SelectSHL()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp48210 APInt ShlConst = N01->getAsAPIntVal(); in combineShiftRightArithmetic() local
48222 if (ShiftSize >= Size || ShlConst != Size - ShiftSize) in combineShiftRightArithmetic()
48226 if (SraConst.eq(ShlConst)) in combineShiftRightArithmetic()
48228 if (SraConst.ult(ShlConst)) in combineShiftRightArithmetic()
48230 DAG.getConstant(ShlConst - SraConst, DL, CVT)); in combineShiftRightArithmetic()
48232 DAG.getConstant(SraConst - ShlConst, DL, CVT)); in combineShiftRightArithmetic()