Searched refs:BitWidthC (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 810 Constant *BitWidthC = ConstantInt::get(Ty, Ty->getScalarSizeInBits()); in tryFoldInstWithCtpopWithNot() local 815 ConstantFoldCompareInstOperands(ICmpInst::ICMP_UGT, C, BitWidthC, DL); in tryFoldInstWithCtpopWithNot() 836 R = Builder.CreateAdd(CtpopOfNotOp, ConstantExpr::getSub(C, BitWidthC)); in tryFoldInstWithCtpopWithNot() 840 R = Builder.CreateSub(ConstantExpr::getAdd(C, BitWidthC), CtpopOfNotOp); in tryFoldInstWithCtpopWithNot() 844 CtpopOfNotOp, ConstantExpr::getSub(BitWidthC, C)); in tryFoldInstWithCtpopWithNot()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 7935 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandVPFunnelShift() local 7936 ShAmt = DAG.getNode(ISD::VP_UREM, DL, ShVT, Z, BitWidthC, Mask, VL); in expandVPFunnelShift() 7937 InvShAmt = DAG.getNode(ISD::VP_SUB, DL, ShVT, BitWidthC, ShAmt, Mask, VL); in expandVPFunnelShift() 7954 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandVPFunnelShift() local 7955 ShAmt = DAG.getNode(ISD::VP_UREM, DL, ShVT, Z, BitWidthC, Mask, VL); in expandVPFunnelShift() 8027 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandFunnelShift() local 8028 ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Z, BitWidthC); in expandFunnelShift() 8029 InvShAmt = DAG.getNode(ISD::SUB, DL, ShVT, BitWidthC, ShAmt); in expandFunnelShift() 8042 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandFunnelShift() local 8043 ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Z, BitWidthC); in expandFunnelShift() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 6639 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts() local 6640 ShAmt = MIRBuilder.buildURem(ShTy, Z, BitWidthC).getReg(0); in lowerFunnelShiftAsShifts() 6641 InvShAmt = MIRBuilder.buildSub(ShTy, BitWidthC, ShAmt).getReg(0); in lowerFunnelShiftAsShifts() 6655 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts() local 6656 ShAmt = MIRBuilder.buildURem(ShTy, Z, BitWidthC).getReg(0); in lowerFunnelShiftAsShifts() 6865 auto BitWidthC = MIRBuilder.buildConstant(AmtTy, EltSizeInBits); in lowerRotate() local 6866 auto ShAmt = MIRBuilder.buildURem(AmtTy, Amt, BitWidthC); in lowerRotate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 4002 SDValue BitWidthC = CurDAG->getConstant(NVT.getSizeInBits(), DL, MVT::i32); in matchBitExtract() local 4003 insertDAGNode(*CurDAG, SDValue(Node, 0), BitWidthC); in matchBitExtract() 4005 NBits = CurDAG->getNode(ISD::SUB, DL, MVT::i32, BitWidthC, NBits); in matchBitExtract()
|