[#llvm-PatternMatch-m_ICmp-0b] = xref:llvm.adoc[llvm]::xref:llvm/PatternMatch.adoc[PatternMatch]::m_ICmp :relfileprefix: ../../ :mrdocs: `m_ICmp` overloads == Synopses Declared in `<llvm/IR/PatternMatch.h>` Matches an icmp of `L` and `R.` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename LHS, typename RHS> xref:llvm/PatternMatch/CmpClass_match.adoc[CmpClass_match<LHS, RHS, ICmpInst>] xref:llvm/PatternMatch/m_ICmp-0fb.adoc[m_ICmp]( LHS const& L, RHS const& R); ---- [.small]#xref:llvm/PatternMatch/m_ICmp-0fb.adoc[_» more..._]# Matches an icmp of `L` and `R,` binding the predicate to `Pred.` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename LHS, typename RHS> xref:llvm/PatternMatch/CmpClass_match.adoc[CmpClass_match<LHS, RHS, ICmpInst>] xref:llvm/PatternMatch/m_ICmp-0f1.adoc[m_ICmp]( xref:llvm/CmpPredicate.adoc[CmpPredicate]& Pred, LHS const& L, RHS const& R); ---- [.small]#xref:llvm/PatternMatch/m_ICmp-0f1.adoc[_» more..._]# == Return Value * A matcher for an icmp of `L` and `R.` * A matcher for an icmp of `L` and `R,` binding the predicate to `Pred.` == Parameters [cols="1,4"] |=== | Name| Description | *L* | Sub‐pattern for the left‐hand operand. | *R* | Sub‐pattern for the right‐hand operand. | *Pred* | Output that receives the matched predicate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#