| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMInstPrinter.cpp | 774 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 D | LegalizeIntegerTypes.cpp | 806 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 D | DAGCombiner.cpp | 2217 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 D | SelectionDAGBuilder.cpp | 2814 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 D | SystemZISelDAGToDAG.cpp | 1904 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 D | MipsSEISelLowering.cpp | 3341 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 D | LegalizerHelper.cpp | 6793 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 D | X86ISelLowering.cpp | 216 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()
|