Searched refs:ShiftC (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1869 const APInt *ShiftC; in visitAnd() local 1870 if (match(Op0, m_OneUse(m_SExt(m_AShr(m_Value(X), m_APInt(ShiftC)))))) { in visitAnd() 1871 if (*C == APInt::getLowBitsSet(Width, Width - ShiftC->getZExtValue())) { in visitAnd() 1875 Constant *ShAmtC = ConstantInt::get(Ty, ShiftC->zext(Width)); in visitAnd()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 6090 auto *ShiftC = ConstantInt::get(Ty, Shift); in ReduceSwitchRange() local 6092 auto *LShr = Builder.CreateLShr(Sub, ShiftC); in ReduceSwitchRange() 6101 cast<ConstantInt>(ConstantInt::get(Ty, Sub.lshr(ShiftC->getValue())))); in ReduceSwitchRange()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 7895 ConstantSDNode *ShiftC = isConstOrConstSplat(N0.getOperand(1)); in visitXOR() local 7897 if (XorC && ShiftC) { in visitXOR() 7900 uint64_t ShiftAmt = ShiftC->getLimitedValue(); in visitXOR() 8694 SDValue ShiftC = DAG.getConstant(AddC->getAPIntValue().lshr(ShiftAmt). in visitSRA() local 8696 SDValue Add = DAG.getNode(ISD::ADD, DL, TruncVT, Trunc, ShiftC); in visitSRA() 11992 SDValue ShiftC = DAG.getConstant(ShAmt, DL, VT); in ReduceLoadWidth() local 11993 Result = DAG.getNode(ISD::SHL, DL, VT, Result, ShiftC); in ReduceLoadWidth()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 43759 auto *ShiftC = dyn_cast<ConstantSDNode>(N1); in combineShiftRightLogical() local 43761 if (!ShiftC || !AndC) in combineShiftRightLogical() 43776 APInt NewMaskVal = MaskVal.lshr(ShiftC->getAPIntValue()); in combineShiftRightLogical()
|