Home
last modified time | relevance | path

Searched refs:ShiftAmtTy (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2157 LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(SrcTy); in matchCombineShlOfExtend() local
2158 if (!isLegalOrBeforeLegalizer({TargetOpcode::G_SHL, {SrcTy, ShiftAmtTy}})) in matchCombineShlOfExtend()
5313 LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(Ty); in buildUDivorURemUsingMul() local
5314 LLT ScalarShiftAmtTy = ShiftAmtTy.getScalarType(); in buildUDivorURemUsingMul()
5353 Shift = MIB.buildBuildVector(ShiftAmtTy, Shifts).getReg(0); in buildUDivorURemUsingMul()
5426 PreShift = MIB.buildBuildVector(ShiftAmtTy, PreShifts).getReg(0); in buildUDivorURemUsingMul()
5429 PostShift = MIB.buildBuildVector(ShiftAmtTy, PostShifts).getReg(0); in buildUDivorURemUsingMul()
5452 NPQ = MIB.buildLShr(Ty, NPQ, MIB.buildConstant(ShiftAmtTy, 1)).getReg(0); in buildUDivorURemUsingMul()
5582 LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(Ty); in buildSDivUsingMul() local
5583 LLT ScalarShiftAmtTy = ShiftAmtTy.getScalarType(); in buildSDivUsingMul()
[all …]
H A DLegalizerHelper.cpp5983 LLT ShiftAmtTy = MRI.getType(Amt); in narrowScalarShift() local
5997 ShiftAmtTy); in narrowScalarShift()
6003 auto NewBits = MIRBuilder.buildConstant(ShiftAmtTy, NewBitSize); in narrowScalarShift()
6009 auto AmtExcess = MIRBuilder.buildSub(ShiftAmtTy, Amt, NewBits); in narrowScalarShift()
6010 auto AmtLack = MIRBuilder.buildSub(ShiftAmtTy, NewBits, Amt); in narrowScalarShift()
6012 auto Zero = MIRBuilder.buildConstant(ShiftAmtTy, 0); in narrowScalarShift()
6052 auto ShiftAmt = MIRBuilder.buildConstant(ShiftAmtTy, NewBitSize - 1); in narrowScalarShift()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp710 LLT ShiftAmtTy = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local
712 if (ShiftAmtTy.getSizeInBits() == 64 && SrcTy.getSizeInBits() == 32) in getInstrMapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h365 LLT ShiftAmtTy);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp5785 EVT ShiftAmtTy = TLI.getShiftAmountTy(NInVT, DAG.getDataLayout()); in WidenVecRes_BITCAST() local
5788 DAG.getConstant(ShiftAmt, dl, ShiftAmtTy)); in WidenVecRes_BITCAST()
H A DDAGCombiner.cpp5134 EVT ShiftAmtTy = getShiftAmountTy(N0.getValueType()); in visitSDIVLike() local
5135 SDValue Bits = DAG.getConstant(BitWidth, DL, ShiftAmtTy); in visitSDIVLike()
5137 C1 = DAG.getZExtOrTrunc(C1, DL, ShiftAmtTy); in visitSDIVLike()
5138 SDValue Inexact = DAG.getNode(ISD::SUB, DL, ShiftAmtTy, Bits, C1); in visitSDIVLike()
5144 DAG.getConstant(BitWidth - 1, DL, ShiftAmtTy)); in visitSDIVLike()