Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp2624 EVT ShTy = N->getOperand(1).getValueType(); in ExpandShiftByConstant() local
2632 NVT, InL, DAG.getConstant(Amt - NVTBits, DL, ShTy)); in ExpandShiftByConstant()
2637 Lo = DAG.getNode(ISD::SHL, DL, NVT, InL, DAG.getConstant(Amt, DL, ShTy)); in ExpandShiftByConstant()
2640 DAG.getConstant(Amt, DL, ShTy)), in ExpandShiftByConstant()
2642 DAG.getConstant(-Amt + NVTBits, DL, ShTy))); in ExpandShiftByConstant()
2652 NVT, InH, DAG.getConstant(Amt - NVTBits, DL, ShTy)); in ExpandShiftByConstant()
2660 DAG.getConstant(Amt, DL, ShTy)), in ExpandShiftByConstant()
2662 DAG.getConstant(-Amt + NVTBits, DL, ShTy))); in ExpandShiftByConstant()
2663 Hi = DAG.getNode(ISD::SRL, DL, NVT, InH, DAG.getConstant(Amt, DL, ShTy)); in ExpandShiftByConstant()
2671 DAG.getConstant(NVTBits - 1, DL, ShTy)); in ExpandShiftByConstant()
[all …]
DSelectionDAG.cpp2261 EVT ShTy = TLI->getShiftAmountTy(LHSTy, getDataLayout()); in getShiftAmountOperand() local
2262 if (OpTy == ShTy || OpTy.isVector()) return Op; in getShiftAmountOperand()
2264 return getZExtOrTrunc(Op, SDLoc(Op), ShTy); in getShiftAmountOperand()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp5816 LLT ShTy = MRI.getType(Z); in lowerFunnelShiftWithInverse() local
5829 auto Zero = MIRBuilder.buildConstant(ShTy, 0); in lowerFunnelShiftWithInverse()
5834 auto One = MIRBuilder.buildConstant(ShTy, 1); in lowerFunnelShiftWithInverse()
5843 Z = MIRBuilder.buildNot(ShTy, Z).getReg(0); in lowerFunnelShiftWithInverse()
5858 LLT ShTy = MRI.getType(Z); in lowerFunnelShiftAsShifts() local
5871 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts()
5872 ShAmt = MIRBuilder.buildURem(ShTy, Z, BitWidthC).getReg(0); in lowerFunnelShiftAsShifts()
5873 InvShAmt = MIRBuilder.buildSub(ShTy, BitWidthC, ShAmt).getReg(0); in lowerFunnelShiftAsShifts()
5879 auto Mask = MIRBuilder.buildConstant(ShTy, BW - 1); in lowerFunnelShiftAsShifts()
5882 ShAmt = MIRBuilder.buildAnd(ShTy, Z, Mask).getReg(0); in lowerFunnelShiftAsShifts()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp3649 CreateShiftedRegister(ARM_AM::ShiftOpc ShTy, unsigned SrcReg, in CreateShiftedRegister() argument
3653 Op->RegShiftedReg.ShiftTy = ShTy; in CreateShiftedRegister()
3663 CreateShiftedImmediate(ARM_AM::ShiftOpc ShTy, unsigned SrcReg, in CreateShiftedImmediate() argument
3666 Op->RegShiftedImm.ShiftTy = ShTy; in CreateShiftedImmediate()