Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1673 LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(SrcTy); in matchCombineShlOfExtend() local
4940 LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(Ty); in buildUDivUsingMul() local
4941 LLT ScalarShiftAmtTy = ShiftAmtTy.getScalarType(); in buildUDivUsingMul()
4997 PreShift = MIB.buildBuildVector(ShiftAmtTy, PreShifts).getReg(0); in buildUDivUsingMul()
5000 PostShift = MIB.buildBuildVector(ShiftAmtTy, PostShifts).getReg(0); in buildUDivUsingMul()
5126 LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(Ty); in buildSDivUsingMul() local
5127 LLT ScalarShiftAmtTy = ShiftAmtTy.getScalarType(); in buildSDivUsingMul()
5171 Shift = MIB.buildBuildVector(ShiftAmtTy, Shifts).getReg(0); in buildSDivUsingMul()
5191 LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(Ty); in matchUMulHToLShr() local
5207 LLT ShiftAmtTy = getTargetLowering().getPreferredShiftAmountTy(Ty); in applyUMulHToLShr() local
[all …]
H A DLegalizerHelper.cpp4691 LLT ShiftAmtTy = MRI.getType(Amt); in narrowScalarShift() local
4705 ShiftAmtTy); in narrowScalarShift()
4711 auto NewBits = MIRBuilder.buildConstant(ShiftAmtTy, NewBitSize); in narrowScalarShift()
4717 auto AmtExcess = MIRBuilder.buildSub(ShiftAmtTy, Amt, NewBits); in narrowScalarShift()
4718 auto AmtLack = MIRBuilder.buildSub(ShiftAmtTy, NewBits, Amt); in narrowScalarShift()
4720 auto Zero = MIRBuilder.buildConstant(ShiftAmtTy, 0); in narrowScalarShift()
4760 auto ShiftAmt = MIRBuilder.buildConstant(ShiftAmtTy, NewBitSize - 1); in narrowScalarShift()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp621 LLT ShiftAmtTy = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local
623 if (ShiftAmtTy.getSizeInBits() == 64 && SrcTy.getSizeInBits() == 32) in getInstrMapping()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h331 LLT HalfTy, LLT ShiftAmtTy);
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2134 EVT ShiftAmtTy = getShiftAmountTy(VT, DL); in SimplifyDemandedBits() local
2136 SDValue ShAmt = TLO.DAG.getConstant(ShiftAmount, dl, ShiftAmtTy); in SimplifyDemandedBits()
2575 EVT ShiftAmtTy = getShiftAmountTy(VT, TLO.DAG.getDataLayout()); in SimplifyDemandedBits() local
2576 SDValue AmtC = TLO.DAG.getConstant(CTZ, dl, ShiftAmtTy); in SimplifyDemandedBits()
2674 EVT ShiftAmtTy = getShiftAmountTy(VT, TLO.DAG.getDataLayout()); in SimplifyDemandedBits() local
2675 SDValue ShlAmtC = TLO.DAG.getConstant(ShlAmt, dl, ShiftAmtTy); in SimplifyDemandedBits()
9982 EVT ShiftAmtTy = getShiftAmountTy(VT, DAG.getDataLayout()); in expandMULO() local
9983 SDValue ShiftAmt = DAG.getConstant(C.logBase2(), dl, ShiftAmtTy); in expandMULO()
H A DDAGCombiner.cpp4462 EVT ShiftAmtTy = getShiftAmountTy(N0.getValueType()); in visitSDIVLike() local
4463 SDValue Bits = DAG.getConstant(BitWidth, DL, ShiftAmtTy); in visitSDIVLike()
4465 C1 = DAG.getZExtOrTrunc(C1, DL, ShiftAmtTy); in visitSDIVLike()
4466 SDValue Inexact = DAG.getNode(ISD::SUB, DL, ShiftAmtTy, Bits, C1); in visitSDIVLike()
4472 DAG.getConstant(BitWidth - 1, DL, ShiftAmtTy)); in visitSDIVLike()
25361 EVT ShiftAmtTy = getShiftAmountTy(N0.getValueType()); in foldSelectCCToShiftAnd() local
25366 SDValue ShiftAmt = DAG.getConstant(ShCt, DL, ShiftAmtTy); in foldSelectCCToShiftAnd()
25386 SDValue ShiftAmt = DAG.getConstant(ShCt, DL, ShiftAmtTy); in foldSelectCCToShiftAnd()
H A DLegalizeVectorTypes.cpp4821 EVT ShiftAmtTy = TLI.getShiftAmountTy(NInVT, DAG.getDataLayout()); in WidenVecRes_BITCAST() local
4824 DAG.getConstant(ShiftAmt, dl, ShiftAmtTy)); in WidenVecRes_BITCAST()