Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp790 Constant *BitWidthC = ConstantInt::get(Ty, Ty->getScalarSizeInBits()); in tryFoldInstWithCtpopWithNot() local
794 !ConstantExpr::getICmp(ICmpInst::ICMP_UGT, C, BitWidthC)->isZeroValue()) in tryFoldInstWithCtpopWithNot()
813 R = Builder.CreateAdd(CtpopOfNotOp, ConstantExpr::getSub(C, BitWidthC)); in tryFoldInstWithCtpopWithNot()
817 R = Builder.CreateSub(ConstantExpr::getAdd(C, BitWidthC), CtpopOfNotOp); in tryFoldInstWithCtpopWithNot()
821 CtpopOfNotOp, ConstantExpr::getSub(BitWidthC, C)); in tryFoldInstWithCtpopWithNot()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp7795 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandVPFunnelShift() local
7796 ShAmt = DAG.getNode(ISD::VP_UREM, DL, ShVT, Z, BitWidthC, Mask, VL); in expandVPFunnelShift()
7814 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandVPFunnelShift() local
7815 ShAmt = DAG.getNode(ISD::VP_UREM, DL, ShVT, Z, BitWidthC, Mask, VL); in expandVPFunnelShift()
7887 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandFunnelShift() local
7888 ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Z, BitWidthC); in expandFunnelShift()
7889 InvShAmt = DAG.getNode(ISD::SUB, DL, ShVT, BitWidthC, ShAmt); in expandFunnelShift()
7902 SDValue BitWidthC = DAG.getConstant(BW, DL, ShVT); in expandFunnelShift() local
7903 ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Z, BitWidthC); in expandFunnelShift()
7966 SDValue BitWidthC = DAG.getConstant(EltSizeInBits, DL, ShVT); in expandROT() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp6273 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts() local
6274 ShAmt = MIRBuilder.buildURem(ShTy, Z, BitWidthC).getReg(0); in lowerFunnelShiftAsShifts()
6275 InvShAmt = MIRBuilder.buildSub(ShTy, BitWidthC, ShAmt).getReg(0); in lowerFunnelShiftAsShifts()
6289 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts() local
6290 ShAmt = MIRBuilder.buildURem(ShTy, Z, BitWidthC).getReg(0); in lowerFunnelShiftAsShifts()
6499 auto BitWidthC = MIRBuilder.buildConstant(AmtTy, EltSizeInBits); in lowerRotate() local
6500 auto ShAmt = MIRBuilder.buildURem(AmtTy, Amt, BitWidthC); in lowerRotate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3940 SDValue BitWidthC = CurDAG->getConstant(NVT.getSizeInBits(), DL, MVT::i32); in matchBitExtract() local
3941 insertDAGNode(*CurDAG, SDValue(Node, 0), BitWidthC); in matchBitExtract()
3943 NBits = CurDAG->getNode(ISD::SUB, DL, MVT::i32, BitWidthC, NBits); in matchBitExtract()