Searched refs:AddC (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1880 const APInt *AddC; in visitAnd() local 1881 if (match(Op0, m_Add(m_Value(X), m_APInt(AddC)))) { in visitAnd() 1886 if ((*AddC & LowMask).isNullValue()) in visitAnd() 1893 if (Op0->hasOneUse() && C->isPowerOf2() && (*AddC & (*C - 1)) == 0) { in visitAnd() 1894 assert((*C & *AddC) != 0 && "Expected common bit"); in visitAnd() 2520 ConstantInt *AddC; in foldOrOfICmps() local 2521 if (match(LHS0, m_Add(m_Specific(RHS0), m_ConstantInt(AddC)))) in foldOrOfICmps() 2522 if (RHSC->getValue() + AddC->getValue() == LHSC->getValue()) in foldOrOfICmps()
|
| H A D | InstCombineAddSub.cpp | 2095 const APInt *AddC, *AndC; in visitSub() local 2096 if (match(Op0, m_Add(m_Value(X), m_APInt(AddC))) && in visitSub() 2099 unsigned Cttz = AddC->countTrailingZeros(); in visitSub()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 1543 const APInt *CmpC, *AddC; in combineToUSubWithOverflow() local 1544 if (match(U, m_Add(m_Specific(A), m_APInt(AddC))) && in combineToUSubWithOverflow() 1545 match(B, m_APInt(CmpC)) && *AddC == -(*CmpC)) { in combineToUSubWithOverflow()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 8633 if (ConstantSDNode *AddC = isConstOrConstSplat(N0.getOperand(1))) { in visitSRA() local 8651 SDValue ShiftC = DAG.getConstant(AddC->getAPIntValue().lshr(ShiftAmt). in visitSRA()
|