Searched refs:AddC (Results 1 – 6 of 6) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 415 const APInt *AC, *AddC; in commonShiftTransforms() local 421 if (match(Op0, m_APInt(AC)) && match(Op1, m_Add(m_Value(A), m_APInt(AddC))) && in commonShiftTransforms() 422 AddC->isNegative() && (-*AddC).ult(BitWidth)) { in commonShiftTransforms() 424 unsigned PosOffset = (-*AddC).getZExtValue(); in commonShiftTransforms()
|
| H A D | InstCombineAddSub.cpp | 2325 const APInt *AddC, *AndC; in visitSub() local 2326 if (match(Op0, m_Add(m_Value(X), m_APInt(AddC))) && in visitSub() 2328 unsigned Cttz = AddC->countTrailingZeros(); in visitSub()
|
| H A D | InstCombineAndOrXor.cpp | 2032 const APInt *AddC; in visitAnd() local 2033 if (match(Op0, m_Add(m_Value(X), m_APInt(AddC)))) { in visitAnd() 2038 if ((*AddC & LowMask).isZero()) in visitAnd() 2045 if (Op0->hasOneUse() && C->isPowerOf2() && (*AddC & (*C - 1)) == 0) { in visitAnd() 2046 assert((*C & *AddC) != 0 && "Expected common bit"); in visitAnd()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 1651 const APInt *CmpC, *AddC; in combineToUSubWithOverflow() local 1652 if (match(U, m_Add(m_Specific(A), m_APInt(AddC))) && in combineToUSubWithOverflow() 1653 match(B, m_APInt(CmpC)) && *AddC == -(*CmpC)) { in combineToUSubWithOverflow()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 9805 ConstantSDNode *AddC = nullptr; in performSRACombine() local 9811 AddC = dyn_cast<ConstantSDNode>(N0.getOperand(IsAdd ? 1 : 0)); in performSRACombine() 9812 if (!AddC) in performSRACombine() 9816 if (AddC->getAPIntValue().countTrailingZeros() < 32) in performSRACombine() 9844 if (!AddC && !Shl.hasOneUse()) in performSRACombine() 9852 if (AddC) { in performSRACombine() 9854 DAG.getConstant(AddC->getAPIntValue().lshr(32), DL, MVT::i64); in performSRACombine()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 9644 if (ConstantSDNode *AddC = in visitSRA() local 9663 DAG.getConstant(AddC->getAPIntValue().lshr(ShiftAmt).trunc( in visitSRA()
|