LLVM 22.0.0git
|
Cmp_match is a variant of BinaryRecipe_match that also binds the comparison predicate. More...
#include "Transforms/Vectorize/VPlanPatternMatch.h"
Public Member Functions | |
Cmp_match (CmpPredicate &Pred, const Op0_t &Op0, const Op1_t &Op1) | |
Cmp_match (const Op0_t &Op0, const Op1_t &Op1) | |
bool | match (const VPValue *V) const |
bool | match (const VPRecipeBase *V) const |
Public Attributes | |
CmpPredicate * | Predicate = nullptr |
Op0_t | Op0 |
Op1_t | Op1 |
Cmp_match is a variant of BinaryRecipe_match that also binds the comparison predicate.
Opcodes must either be Instruction::ICmp or Instruction::FCmp, or both.
Definition at line 437 of file VPlanPatternMatch.h.
|
inline |
Definition at line 448 of file VPlanPatternMatch.h.
|
inline |
Definition at line 450 of file VPlanPatternMatch.h.
|
inline |
Definition at line 457 of file VPlanPatternMatch.h.
References llvm::cast(), llvm::VPlanPatternMatch::m_Binary(), match(), Op0, Op1, and Predicate.
|
inline |
Definition at line 452 of file VPlanPatternMatch.h.
References match().
Op0_t llvm::VPlanPatternMatch::Cmp_match< Op0_t, Op1_t, Opcodes >::Op0 |
Definition at line 445 of file VPlanPatternMatch.h.
Referenced by Cmp_match(), Cmp_match(), and match().
Op1_t llvm::VPlanPatternMatch::Cmp_match< Op0_t, Op1_t, Opcodes >::Op1 |
Definition at line 446 of file VPlanPatternMatch.h.
Referenced by Cmp_match(), Cmp_match(), and match().
CmpPredicate* llvm::VPlanPatternMatch::Cmp_match< Op0_t, Op1_t, Opcodes >::Predicate = nullptr |
Definition at line 444 of file VPlanPatternMatch.h.
Referenced by Cmp_match(), and match().