LLVM: llvm::PatternMatch::api_pred_ty< Predicate > Struct Template Reference (original) (raw)
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](PatternMatch%5F8h%5Fsource.html)"
Inheritance diagram for llvm::PatternMatch::api_pred_ty< Predicate >:
| Public Member Functions | |
|---|---|
| api_pred_ty (const APInt *&R) | |
| template | |
| 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| |
Detailed Description
template<typename Predicate>
struct llvm::PatternMatch::api_pred_ty< Predicate >
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 425 of file PatternMatch.h.
Constructor & Destructor Documentation
Member Function Documentation
◆ match()
Member Data Documentation
◆ Res
The documentation for this struct was generated from the following file:
- include/llvm/IR/PatternMatch.h