LLVM  15.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::PatternMatch::apf_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 APFloat. More...

#include "llvm/IR/PatternMatch.h"

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

Public Member Functions

 apf_pred_ty (const APFloat *&R)
 
template<typename ITy >
bool match (ITy *V)
 

Public Attributes

const APFloat *& Res
 

Detailed Description

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

This helper class is used to match scalar and vector constants that satisfy a specified predicate, and bind them to an APFloat.

Undefs are allowed in splat vector constants.

Definition at line 400 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ apf_pred_ty()

template<typename Predicate >
llvm::PatternMatch::apf_pred_ty< Predicate >::apf_pred_ty ( const APFloat *&  R)
inline

Definition at line 403 of file PatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 405 of file PatternMatch.h.

References llvm::PatternMatch::apf_pred_ty< Predicate >::Res.

Member Data Documentation

◆ Res

template<typename Predicate >
const APFloat*& llvm::PatternMatch::apf_pred_ty< Predicate >::Res

Definition at line 401 of file PatternMatch.h.

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


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