Searched refs:BitWidthC (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 839 Constant *BitWidthC = ConstantInt::get(Ty, Ty->getScalarSizeInBits()); in tryFoldInstWithCtpopWithNot() local 844 ConstantFoldCompareInstOperands(ICmpInst::ICMP_UGT, C, BitWidthC, DL); in tryFoldInstWithCtpopWithNot() 865 R = Builder.CreateAdd(CtpopOfNotOp, ConstantExpr::getSub(C, BitWidthC)); in tryFoldInstWithCtpopWithNot() 869 R = Builder.CreateSub(ConstantExpr::getAdd(C, BitWidthC), CtpopOfNotOp); in tryFoldInstWithCtpopWithNot() 873 CtpopOfNotOp, ConstantExpr::getSub(BitWidthC, C)); in tryFoldInstWithCtpopWithNot()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 8153 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandVPFunnelShift() local 8154 ShAmt = DAG.getNode(ISD::VP_UREM, DL, ShVT, Z, BitWidthC, Mask, VL); in expandVPFunnelShift() 8155 InvShAmt = DAG.getNode(ISD::VP_SUB, DL, ShVT, BitWidthC, ShAmt, Mask, VL); in expandVPFunnelShift() 8172 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandVPFunnelShift() local 8173 ShAmt = DAG.getNode(ISD::VP_UREM, DL, ShVT, Z, BitWidthC, Mask, VL); in expandVPFunnelShift() 8245 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandFunnelShift() local 8246 ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Z, BitWidthC); in expandFunnelShift() 8247 InvShAmt = DAG.getNode(ISD::SUB, DL, ShVT, BitWidthC, ShAmt); in expandFunnelShift() 8260 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandFunnelShift() local 8261 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 | 7329 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts() local 7330 ShAmt = MIRBuilder.buildURem(ShTy, Z, BitWidthC).getReg(0); in lowerFunnelShiftAsShifts() 7331 InvShAmt = MIRBuilder.buildSub(ShTy, BitWidthC, ShAmt).getReg(0); in lowerFunnelShiftAsShifts() 7345 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts() local 7346 ShAmt = MIRBuilder.buildURem(ShTy, Z, BitWidthC).getReg(0); in lowerFunnelShiftAsShifts() 7554 auto BitWidthC = MIRBuilder.buildConstant(AmtTy, EltSizeInBits); in lowerRotate() local 7555 auto ShAmt = MIRBuilder.buildURem(AmtTy, Amt, BitWidthC); in lowerRotate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 4068 SDValue BitWidthC = CurDAG->getConstant(NVT.getSizeInBits(), DL, MVT::i32); in matchBitExtract() local 4069 insertDAGNode(*CurDAG, SDValue(Node, 0), BitWidthC); in matchBitExtract() 4071 NBits = CurDAG->getNode(ISD::SUB, DL, MVT::i32, BitWidthC, NBits); in matchBitExtract()
|