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

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

#include "llvm/IR/PatternMatch.h"

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

Public Member Functions

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

Detailed Description

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

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

For vector constants, undefined elements are ignored.

Definition at line 264 of file PatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 265 of file PatternMatch.h.

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

Referenced by llvm::PatternMatch::FNeg_match< Op_t >::match().


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