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

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

Public Member Functions

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

Public Attributes

std::optional< FPValueAndVReg > & FPValReg
 

Detailed Description

Definition at line 155 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ GFCstAndRegMatch()

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

Definition at line 157 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 159 of file MIPatternMatch.h.

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

Member Data Documentation

◆ FPValReg

std::optional<FPValueAndVReg>& llvm::MIPatternMatch::GFCstAndRegMatch::FPValReg

Definition at line 156 of file MIPatternMatch.h.

Referenced by match().


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