Home
last modified time | relevance | path

Searched refs:ShiftC (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1777 const APInt *ShiftC; in visitAnd() local
1778 if (match(Op0, m_OneUse(m_SExt(m_AShr(m_Value(X), m_APInt(ShiftC)))))) { in visitAnd()
1779 if (*C == APInt::getLowBitsSet(Width, Width - ShiftC->getZExtValue())) { in visitAnd()
1783 Constant *ShAmtC = ConstantInt::get(Ty, ShiftC->zext(Width)); in visitAnd()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp5676 auto *ShiftC = ConstantInt::get(Ty, Shift); in ReduceSwitchRange() local
5678 auto *LShr = Builder.CreateLShr(Sub, ShiftC); in ReduceSwitchRange()
5687 cast<ConstantInt>(ConstantInt::get(Ty, Sub.lshr(ShiftC->getValue())))); in ReduceSwitchRange()
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp5830 auto *ShiftC = ConstantInt::get(Ty, Shift); in ReduceSwitchRange() local
5832 auto *LShr = Builder.CreateLShr(Sub, ShiftC); in ReduceSwitchRange()
5841 cast<ConstantInt>(ConstantInt::get(Ty, Sub.lshr(ShiftC->getValue())))); in ReduceSwitchRange()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7140 ConstantSDNode *ShiftC = isConstOrConstSplat(N0.getOperand(1)); in visitXOR() local
7142 if (XorC && ShiftC) { in visitXOR()
7145 uint64_t ShiftAmt = ShiftC->getLimitedValue(); in visitXOR()
7834 SDValue ShiftC = DAG.getConstant(AddC->getAPIntValue().lshr(ShiftAmt). in visitSRA() local
7836 SDValue Add = DAG.getNode(ISD::ADD, DL, TruncVT, Trunc, ShiftC); in visitSRA()
10551 SDValue ShiftC = DAG.getConstant(ShAmt, DL, VT); in ReduceLoadWidth() local
10552 Result = DAG.getNode(ISD::SHL, DL, VT, Result, ShiftC); in ReduceLoadWidth()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7700 ConstantSDNode *ShiftC = isConstOrConstSplat(N0.getOperand(1)); in visitXOR() local
7702 if (XorC && ShiftC) { in visitXOR()
7705 uint64_t ShiftAmt = ShiftC->getLimitedValue(); in visitXOR()
8479 SDValue ShiftC = DAG.getConstant(AddC->getAPIntValue().lshr(ShiftAmt). in visitSRA() local
8481 SDValue Add = DAG.getNode(ISD::ADD, DL, TruncVT, Trunc, ShiftC); in visitSRA()
11500 SDValue ShiftC = DAG.getConstant(ShAmt, DL, VT); in ReduceLoadWidth() local
11501 Result = DAG.getNode(ISD::SHL, DL, VT, Result, ShiftC); in ReduceLoadWidth()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp39473 auto *ShiftC = dyn_cast<ConstantSDNode>(N1); in combineShiftRightLogical() local
39475 if (!ShiftC || !AndC) in combineShiftRightLogical()
39490 APInt NewMaskVal = MaskVal.lshr(ShiftC->getAPIntValue()); in combineShiftRightLogical()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp42571 auto *ShiftC = dyn_cast<ConstantSDNode>(N1); in combineShiftRightLogical() local
42573 if (!ShiftC || !AndC) in combineShiftRightLogical()
42588 APInt NewMaskVal = MaskVal.lshr(ShiftC->getAPIntValue()); in combineShiftRightLogical()