struct api_pred_ty
Declaration
template <typename Predicate>
struct api_pred_ty { /* full declaration omitted */ };
Description
This helper class is used to match scalar and vector constants that satisfy a specified predicate, and bind them to an APInt.
Declared at: llvm/include/llvm/IR/PatternMatch.h:257
Templates
- Predicate
Member Variables
- public const llvm::APInt*& Res
Method Overview
- public api_pred_ty<Predicate>(const llvm::APInt *& R)
- public template <typename ITy>bool match(ITy * V)
Methods
¶api_pred_ty<Predicate>(const llvm::APInt*& R)
api_pred_ty<Predicate>(const llvm::APInt*& R)
Declared at: llvm/include/llvm/IR/PatternMatch.h:260
Parameters
- const llvm::APInt*& R
¶template <typename ITy>
bool match(ITy* V)
template <typename ITy>
bool match(ITy* V)
Declared at: llvm/include/llvm/IR/PatternMatch.h:262
Templates
- ITy
Parameters
- ITy* V