[#llvm-PatternMatch-m_Cmp-025] = xref:llvm.adoc[llvm]::xref:llvm/PatternMatch.adoc[PatternMatch]::m_Cmp :relfileprefix: ../../ :mrdocs: Matches any compare of `L` and `R.` == Synopsis Declared in `<llvm/IR/PatternMatch.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename LHS, typename RHS> xref:llvm/PatternMatch/CmpClass_match.adoc[CmpClass_match<LHS, RHS, CmpInst>] m_Cmp( LHS const& L, RHS const& R); ---- == Return Value A matcher for any compare of `L` and `R.` == Parameters [cols="1,4"] |=== | Name| Description | *L* | Sub‐pattern for the left‐hand operand. | *R* | Sub‐pattern for the right‐hand operand. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#