LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::PatternMatch::api_pred_ty< Predicate > Struct Template Reference

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"

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

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 >

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

Constructor & Destructor Documentation

◆ api_pred_ty()

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

Definition at line 241 of file PatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 243 of file PatternMatch.h.

References C.

Member Data Documentation

◆ Res

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

Definition at line 239 of file PatternMatch.h.


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