Home
last modified time | relevance | path

Searched refs:ShiftedVal (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3834 auto CanShrinkImmediate = [&](int64_t &ShiftedVal) { in tryShrinkShlLogicImm() argument
3838 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp826 if (auto ShiftedVal = getShiftedVal<12>()) in isAddSubImm() local
827 return ShiftedVal->first >= 0 && ShiftedVal->first <= 0xfff; in isAddSubImm()
839 if (auto ShiftedVal = getShiftedVal<12>()) in isAddSubImmNeg() local
840 return ShiftedVal->first < 0 && -ShiftedVal->first <= 0xfff; in isAddSubImmNeg()
1540 if (auto ShiftedVal = getShiftedVal<Shift>()) { in addImmWithOptionalShiftOperands() local
1541 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() local
1556 Inst.addOperand(MCOperand::createImm(-ShiftedVal->first)); in addImmNegWithOptionalShiftOperands()
1557 Inst.addOperand(MCOperand::createImm(ShiftedVal->second)); in addImmNegWithOptionalShiftOperands()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp9837 SDValue ShiftedVal = DAG.getNode(ISD::SHL, DL, VT, N0, in performMulCombine() local
9840 SDValue AddSubN0 = ShiftValUseIsN0 ? ShiftedVal : N0; in performMulCombine()
9841 SDValue AddSubN1 = ShiftValUseIsN0 ? N0 : ShiftedVal; in performMulCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp5407 APInt ShiftedVal = N1C->getAPIntValue().lshr(Shift); in getNode() local
5408 return getConstant(ShiftedVal.trunc(ElementSize), DL, VT); in getNode()