LLVM  15.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::MIPatternMatch::GFCstAndRegMatch Struct Reference

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

Collaboration diagram for llvm::MIPatternMatch::GFCstAndRegMatch:
Collaboration graph
[legend]

Public Member Functions

 GFCstAndRegMatch (Optional< FPValueAndVReg > &FPValReg)
 
bool match (const MachineRegisterInfo &MRI, Register Reg)
 

Public Attributes

Optional< FPValueAndVReg > & FPValReg
 

Detailed Description

Definition at line 152 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ GFCstAndRegMatch()

llvm::MIPatternMatch::GFCstAndRegMatch::GFCstAndRegMatch ( Optional< FPValueAndVReg > &  FPValReg)
inline

Definition at line 154 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

bool llvm::MIPatternMatch::GFCstAndRegMatch::match ( const MachineRegisterInfo MRI,
Register  Reg 
)
inline

Definition at line 155 of file MIPatternMatch.h.

References FPValReg, llvm::getFConstantVRegValWithLookThrough(), MRI, and true.

Member Data Documentation

◆ FPValReg

Optional<FPValueAndVReg>& llvm::MIPatternMatch::GFCstAndRegMatch::FPValReg

Definition at line 153 of file MIPatternMatch.h.

Referenced by match().


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