LLVM 22.0.0git
|
This helper class is used to match scalar and vector constants that satisfy a specified predicate, and bind them to an APInt. More...
#include "llvm/IR/PatternMatch.h"
Public Member Functions | |
api_pred_ty (const APInt *&R) | |
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 APInt *& | Res |
This helper class is used to match scalar and vector constants that satisfy a specified predicate, and bind them to an APInt.
Definition at line 426 of file PatternMatch.h.
|
inline |
Definition at line 429 of file PatternMatch.h.
References Res.
|
inline |
Definition at line 431 of file PatternMatch.h.
References llvm::CallingConv::C, llvm::dyn_cast(), llvm::dyn_cast_or_null(), and Res.
const APInt*& llvm::PatternMatch::api_pred_ty< Predicate >::Res |
Definition at line 427 of file PatternMatch.h.
Referenced by api_pred_ty(), and match().