Searched refs:ShiftC (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 6227 auto *ShiftC = ConstantInt::get(Ty, Shift); in ReduceSwitchRange() local 6229 auto *LShr = Builder.CreateLShr(Sub, ShiftC); in ReduceSwitchRange() 6238 cast<ConstantInt>(ConstantInt::get(Ty, Sub.lshr(ShiftC->getValue())))); in ReduceSwitchRange()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 7857 ConstantSDNode *ShiftC = isConstOrConstSplat(N0.getOperand(1)); in visitXOR() local 7859 if (XorC && ShiftC) { in visitXOR() 7862 uint64_t ShiftAmt = ShiftC->getLimitedValue(); in visitXOR() 8651 SDValue ShiftC = DAG.getConstant(AddC->getAPIntValue().lshr(ShiftAmt). in visitSRA() local 8653 SDValue Add = DAG.getNode(ISD::ADD, DL, TruncVT, Trunc, ShiftC); in visitSRA() 11795 SDValue ShiftC = DAG.getConstant(ShAmt, DL, VT); in ReduceLoadWidth() local 11796 Result = DAG.getNode(ISD::SHL, DL, VT, Result, ShiftC); in ReduceLoadWidth()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 43444 auto *ShiftC = dyn_cast<ConstantSDNode>(N1); in combineShiftRightLogical() local 43446 if (!ShiftC || !AndC) in combineShiftRightLogical() 43461 APInt NewMaskVal = MaskVal.lshr(ShiftC->getAPIntValue()); in combineShiftRightLogical()
|