Searched refs:ShiftedVal (Results 1 – 4 of 4) sorted by relevance
3834 auto CanShrinkImmediate = [&](int64_t &ShiftedVal) { in tryShrinkShlLogicImm() argument3838 ShiftedVal = (uint64_t)Val >> ShAmt; in tryShrinkShlLogicImm()3839 if (NVT == MVT::i64 && !isUInt<32>(Val) && isUInt<32>(ShiftedVal)) in tryShrinkShlLogicImm()3842 if (ShiftedVal == UINT8_MAX || ShiftedVal == UINT16_MAX) in tryShrinkShlLogicImm()3845 ShiftedVal = Val >> ShAmt; in tryShrinkShlLogicImm()3846 if ((!isInt<8>(Val) && isInt<8>(ShiftedVal)) || in tryShrinkShlLogicImm()3847 (!isInt<32>(Val) && isInt<32>(ShiftedVal))) in tryShrinkShlLogicImm()3851 ShiftedVal = (uint64_t)Val >> ShAmt; in tryShrinkShlLogicImm()3852 if (NVT == MVT::i64 && !isUInt<32>(Val) && isUInt<32>(ShiftedVal)) in tryShrinkShlLogicImm()3858 int64_t ShiftedVal; in tryShrinkShlLogicImm() local[all …]
826 if (auto ShiftedVal = getShiftedVal<12>()) in isAddSubImm() local827 return ShiftedVal->first >= 0 && ShiftedVal->first <= 0xfff; in isAddSubImm()839 if (auto ShiftedVal = getShiftedVal<12>()) in isAddSubImmNeg() local840 return ShiftedVal->first < 0 && -ShiftedVal->first <= 0xfff; in isAddSubImmNeg()1540 if (auto ShiftedVal = getShiftedVal<Shift>()) { in addImmWithOptionalShiftOperands() local1541 Inst.addOperand(MCOperand::createImm(ShiftedVal->first)); in addImmWithOptionalShiftOperands()1542 Inst.addOperand(MCOperand::createImm(ShiftedVal->second)); in addImmWithOptionalShiftOperands()1555 if (auto ShiftedVal = getShiftedVal<Shift>()) { in addImmNegWithOptionalShiftOperands() local1556 Inst.addOperand(MCOperand::createImm(-ShiftedVal->first)); in addImmNegWithOptionalShiftOperands()1557 Inst.addOperand(MCOperand::createImm(ShiftedVal->second)); in addImmNegWithOptionalShiftOperands()
9837 SDValue ShiftedVal = DAG.getNode(ISD::SHL, DL, VT, N0, in performMulCombine() local9840 SDValue AddSubN0 = ShiftValUseIsN0 ? ShiftedVal : N0; in performMulCombine()9841 SDValue AddSubN1 = ShiftValUseIsN0 ? N0 : ShiftedVal; in performMulCombine()
5407 APInt ShiftedVal = N1C->getAPIntValue().lshr(Shift); in getNode() local5408 return getConstant(ShiftedVal.trunc(ElementSize), DL, VT); in getNode()