LLVM 22.0.0git
|
This helper class is used to match constant scalars, vector splats, and fixed width vectors that satisfy a specified predicate. More...
#include "llvm/IR/PatternMatch.h"
Public Member Functions | |
template<typename ITy> | |
bool | match_impl (ITy *V) const |
template<typename ITy> | |
bool | match (ITy *V) const |
Public Member Functions inherited from Predicate | |
Predicate (std::function< bool(const MachineInstr &)> Pred) | |
bool | operator() (const MachineInstr &MI) const |
Predicate | operator! () const |
Predicate | operator&& (const Predicate &RHS) const |
Predicate | operator|| (const Predicate &RHS) const |
Public Attributes | |
const Constant ** | Res = nullptr |
This helper class is used to match constant scalars, vector splats, and fixed width vectors that satisfy a specified predicate.
For fixed width vector constants, poison elements are ignored if AllowPoison is true.
Definition at line 369 of file PatternMatch.h.
|
inline |
Definition at line 405 of file PatternMatch.h.
|
inline |
Definition at line 371 of file PatternMatch.h.
Referenced by llvm::PatternMatch::cstval_pred_ty< Predicate, ConstantInt, AllowPoison >::match().
const Constant** llvm::PatternMatch::cstval_pred_ty< Predicate, ConstantVal, AllowPoison >::Res = nullptr |
Definition at line 370 of file PatternMatch.h.