LLVM 20.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) |
template<typename ITy > | |
bool | match (ITy *V) |
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 356 of file PatternMatch.h.
|
inline |
Definition at line 392 of file PatternMatch.h.
References llvm::PatternMatch::cstval_pred_ty< Predicate, ConstantVal, AllowPoison >::match_impl(), and llvm::PatternMatch::cstval_pred_ty< Predicate, ConstantVal, AllowPoison >::Res.
Referenced by llvm::PatternMatch::is_zero::match().
|
inline |
Definition at line 358 of file PatternMatch.h.
References assert(), and llvm::CallingConv::C.
Referenced by llvm::PatternMatch::cstval_pred_ty< Predicate, ConstantVal, AllowPoison >::match().
const Constant** llvm::PatternMatch::cstval_pred_ty< Predicate, ConstantVal, AllowPoison >::Res = nullptr |
Definition at line 357 of file PatternMatch.h.
Referenced by llvm::PatternMatch::cstval_pred_ty< Predicate, ConstantVal, AllowPoison >::match().