Home
last modified time | relevance | path

Searched refs:ShiftOp (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.cpp774 unsigned ShiftOp = MI->getOperand(OpNum).getImm(); in printShiftImmOperand() local
775 bool isASR = (ShiftOp & (1 << 5)) != 0; in printShiftImmOperand()
776 unsigned Amt = ShiftOp & 0x1f; in printShiftImmOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp806 unsigned ShiftOp; in PromoteIntRes_ADDSUBSHLSAT() local
811 ShiftOp = ISD::SRA; in PromoteIntRes_ADDSUBSHLSAT()
814 ShiftOp = ISD::SRL; in PromoteIntRes_ADDSUBSHLSAT()
832 return DAG.getNode(ShiftOp, dl, PromotedType, Result, ShiftAmount); in PromoteIntRes_ADDSUBSHLSAT()
877 unsigned ShiftOp = Signed ? ISD::SRA : ISD::SRL; in PromoteIntRes_MULFIX() local
878 return DAG.getNode(ShiftOp, dl, PromotedType, Result, in PromoteIntRes_MULFIX()
3772 SDValue ShiftOp = N->getOperand(1); in ExpandIntRes_Shift() local
3777 if (ShiftOp.getValueType() != ShiftTy) in ExpandIntRes_Shift()
3778 ShiftOp = DAG.getZExtOrTrunc(ShiftOp, dl, ShiftTy); in ExpandIntRes_Shift()
3780 SDValue Ops[] = { LHSL, LHSH, ShiftOp }; in ExpandIntRes_Shift()
H A DDAGCombiner.cpp2217 SDValue ShiftOp = IsAdd ? N->getOperand(0) : N->getOperand(1); in foldAddSubOfSignBit() local
2219 ShiftOp.getOpcode() != ISD::SRL) in foldAddSubOfSignBit()
2223 SDValue Not = ShiftOp.getOperand(0); in foldAddSubOfSignBit()
2228 EVT VT = ShiftOp.getValueType(); in foldAddSubOfSignBit()
2229 SDValue ShAmt = ShiftOp.getOperand(1); in foldAddSubOfSignBit()
7145 auto ShiftOp = dyn_cast<ConstantSDNode>(Op->getOperand(1)); in calculateByteProvider() local
7146 if (!ShiftOp) in calculateByteProvider()
7149 uint64_t BitShift = ShiftOp->getZExtValue(); in calculateByteProvider()
7959 auto matchFirstShift = [&](SDValue V, SDValue &ShiftOp, in combineShiftOfShiftedLogic()
7969 ShiftOp = V.getOperand(0); in combineShiftOfShiftedLogic()
H A DSelectionDAGBuilder.cpp2814 SDValue ShiftOp = DAG.getCopyFromReg(getControlRoot(), dl, Reg, VT); in visitBitTestCase() local
2823 ShiftOp, DAG.getConstant(countTrailingZeros(B.Mask), dl, VT), in visitBitTestCase()
2829 ShiftOp, DAG.getConstant(countTrailingOnes(B.Mask), dl, VT), in visitBitTestCase()
2834 DAG.getConstant(1, dl, VT), ShiftOp); in visitBitTestCase()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1904 unsigned ShiftOp = TrueOp->getSExtValue() == 1 ? ISD::SRL : ISD::SRA; in expandSelectBoolean() local
1905 Result = CurDAG->getNode(ShiftOp, DL, MVT::i32, Result, in expandSelectBoolean()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp3341 unsigned ShiftOp = Subtarget.isABI_N64() ? Mips::DSLL : Mips::SLL; in emitINSERT_DF_VIDX() local
3386 BuildMI(*BB, MI, DL, TII->get(ShiftOp), LaneTmp1) in emitINSERT_DF_VIDX()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp6793 unsigned ShiftOp = IsSigned ? TargetOpcode::G_ASHR : TargetOpcode::G_LSHR; in lowerSMULH_UMULH() local
6796 auto Shifted = MIRBuilder.buildInstr(ShiftOp, {WideTy}, {Mul, ShiftAmt}); in lowerSMULH_UMULH()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp216 for (auto ShiftOp : {ISD::FSHL, ISD::FSHR}) { in X86TargetLowering()
220 setOperationAction(ShiftOp , MVT::i8 , Custom); in X86TargetLowering()
221 setOperationAction(ShiftOp , MVT::i16 , Custom); in X86TargetLowering()
222 setOperationAction(ShiftOp , MVT::i32 , ShiftDoubleAction); in X86TargetLowering()
224 setOperationAction(ShiftOp , MVT::i64 , ShiftDoubleAction); in X86TargetLowering()
45026 SDValue ShiftOp = Shift.getOperand(0); in foldXorTruncShiftIntoCmp() local
45027 EVT ShiftOpTy = ShiftOp.getValueType(); in foldXorTruncShiftIntoCmp()
45031 SDValue Cond = DAG.getSetCC(DL, SetCCResultType, ShiftOp, in foldXorTruncShiftIntoCmp()