LLVM 24.0.0git
llvm::MIPatternMatch::GFCstPredMatch< Pred > Struct Template Reference

Matches an FP constant whose value satisfies the given predicate. More...

#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"

Public Member Functions

 GFCstPredMatch (Pred P)
bool match (const MachineRegisterInfo &MRI, Register Reg)

Public Attributes

Pred P

Detailed Description

template<typename Pred>
struct llvm::MIPatternMatch::GFCstPredMatch< Pred >

Matches an FP constant whose value satisfies the given predicate.

Definition at line 194 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ GFCstPredMatch()

template<typename Pred>
llvm::MIPatternMatch::GFCstPredMatch< Pred >::GFCstPredMatch ( Pred P)
inline

Definition at line 196 of file MIPatternMatch.h.

References P.

Member Function Documentation

◆ match()

template<typename Pred>
bool llvm::MIPatternMatch::GFCstPredMatch< Pred >::match ( const MachineRegisterInfo & MRI,
Register Reg )
inline

Definition at line 197 of file MIPatternMatch.h.

References llvm::getConstantFPVRegVal(), P, and Reg.

Member Data Documentation

◆ P

template<typename Pred>
Pred llvm::MIPatternMatch::GFCstPredMatch< Pred >::P

Definition at line 195 of file MIPatternMatch.h.

Referenced by GFCstPredMatch(), and match().


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