reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineCompares.cpp
 5381   unsigned Op0Cplxity = getComplexity(Op0);
 5388       (Op0Cplxity == Op1Cplxity && swapMayExposeCSEOpportunities(Op0, Op1))) {
 5390     std::swap(Op0, Op1);
 5394   if (Value *V = SimplifyICmpInst(I.getPredicate(), Op0, Op1, Q))
 5401     if (match(Op0, m_Select(m_Value(Cond), m_Value(SelectTrue),
 5414   if (Op0->getType()->isIntOrIntVectorTy(1))
 5464       Constant *Zero = Constant::getNullValue(Op0->getType());
 5465       return new ICmpInst(ICmpInst::ICMP_SLT, Op0, Zero);
 5470       Constant *AllOnes = Constant::getAllOnesValue(Op0->getType());
 5471       return new ICmpInst(ICmpInst::ICMP_SGT, Op0, AllOnes);
 5487   if (GEPOperator *GEP = dyn_cast<GEPOperator>(Op0))
 5491     if (Instruction *NI = foldGEPICmp(GEP, Op0,
 5496   if (Op0->getType()->isPointerTy() && I.isEquality()) {
 5498     if (auto *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Op0, DL)))
 5502       if (Instruction *New = foldAllocaCmp(I, Alloca, Op0))
 5520     if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) &&
 5528     if (match(Op0, m_Not(m_Value(A)))) {
 5552     if (match(Op0, m_Mul(m_ZExt(m_Value(A)), m_ZExt(m_Value(B))))) {
 5553       if (Instruction *R = processUMulZExtIdiom(I, Op0, Op1, *this))
 5557       if (Instruction *R = processUMulZExtIdiom(I, Op1, Op0, *this))
 5575     if (auto *EVI = dyn_cast<ExtractValueInst>(Op0))
 5585     if (match(Op0, m_Add(m_Value(X), m_APInt(C))) && Op1 == X)
 5589     if (match(Op1, m_Add(m_Value(X), m_APInt(C))) && Op0 == X)