LLVM API Documentation

Public Member Functions | Public Attributes
llvm::PatternMatch::api_pred_ty< Predicate > Struct Template Reference

#include <PatternMatch.h>

Inheritance diagram for llvm::PatternMatch::api_pred_ty< Predicate >:
Inheritance graph
[legend]
Collaboration diagram for llvm::PatternMatch::api_pred_ty< Predicate >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 api_pred_ty (const APInt *&R)
template<typename ITy >
bool match (ITy *V)

Public Attributes

const APInt *& Res

Detailed Description

template<typename Predicate>
struct llvm::PatternMatch::api_pred_ty< Predicate >

api_pred_ty - 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 229 of file PatternMatch.h.


Constructor & Destructor Documentation

template<typename Predicate >
llvm::PatternMatch::api_pred_ty< Predicate >::api_pred_ty ( const APInt *&  R) [inline]

Definition at line 231 of file PatternMatch.h.


Member Function Documentation

template<typename Predicate >
template<typename ITy >
bool llvm::PatternMatch::api_pred_ty< Predicate >::match ( ITy *  V) [inline]

Member Data Documentation

template<typename Predicate >
const APInt*& llvm::PatternMatch::api_pred_ty< Predicate >::Res

Definition at line 230 of file PatternMatch.h.

Referenced by llvm::PatternMatch::api_pred_ty< Predicate >::match().


The documentation for this struct was generated from the following file: