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

This helper class is used to match scalar and vector integer constants that satisfy a specified predicate. More...

#include "llvm/IR/PatternMatch.h"

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

Public Member Functions

template<typename ITy >
bool match (ITy *V)
 

Detailed Description

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

This helper class is used to match scalar and vector integer constants that satisfy a specified predicate.

For vector constants, undefined elements are ignored.

Definition at line 205 of file PatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 206 of file PatternMatch.h.

References assert(), C, and llvm::dyn_cast().


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