ΒΆtemplate <typename LHS, typename RHS>
inline CmpClass_match<LHS,
                      RHS,
                      llvm::ICmpInst,
                      ICmpInst::Predicate,
                      true>
m_c_ICmp(ICmpInst::Predicate& Pred,
         const LHS& L,
         const RHS& R)

Description

Matches an ICmp with a predicate over LHS and RHS in either order. Does not swap the predicate.

Declared at: llvm/include/llvm/IR/PatternMatch.h:1853

Templates

LHS
RHS

Parameters

ICmpInst::Predicate& Pred
const LHS& L
const RHS& R