HomeSort by: relevance | last modified time | path
    Searched defs:CmpC (Results 1 - 3 of 3) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 786 const APInt *C, *CmpC;
789 match(FVal, m_AllOnes()) && match(Cmp1, m_APInt(CmpC)) && *CmpC == ~*C) {
953 const APInt *CmpC;
954 if (!Cmp.hasOneUse() || !match(CmpRHS, m_APInt(CmpC)))
966 AdjustedRHS = ConstantInt::get(CmpRHS->getType(), *CmpC + 1);
968 AdjustedRHS = ConstantInt::get(CmpRHS->getType(), *CmpC - 1);
InstCombineCompares.cpp 5113 auto *CmpC = ConstantInt::get(XTy, ValToCheck.countTrailingZeros());
5115 return new ICmpInst(NewPred, X, CmpC);
5119 auto *CmpC = ConstantInt::get(XTy, ValToCheck.countTrailingZeros());
5122 return new ICmpInst(NewPred, X, CmpC);
5147 const APInt *CmpC;
5148 if (match(Op1, m_APInt(CmpC))) {
5150 if (*CmpC == Op0Min + 1)
5152 ConstantInt::get(Op1->getType(), *CmpC - 1));
5155 if (Op0Known.countMinTrailingZeros() >= CmpC->ceilLogBase2())
5169 const APInt *CmpC;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
CodeGenPrepare.cpp 1543 const APInt *CmpC, *AddC;
1545 match(B, m_APInt(CmpC)) && *AddC == -(*CmpC)) {
1769 auto *CmpC = dyn_cast<ConstantInt>(User->getOperand(1));
1770 if (!CmpC || !CmpC->isZero())
7710 APInt CmpC = cast<ConstantInt>(Cmp->getOperand(1))->getValue();
7723 if (CmpC.isPowerOf2() && Cmp->getPredicate() == ICmpInst::ICMP_ULT &&
7724 match(UI, m_Shr(m_Specific(X), m_SpecificInt(CmpC.logBase2())))) {
7736 (match(UI, m_Add(m_Specific(X), m_SpecificInt(-CmpC))) ||
    [all...]

Completed in 81 milliseconds