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