LLVM 22.0.0git
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 164 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ GFCstAndRegMatch()

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

Definition at line 166 of file MIPatternMatch.h.

References FPValReg.

Member Function Documentation

◆ match()

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

Definition at line 168 of file MIPatternMatch.h.

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

Member Data Documentation

◆ FPValReg

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

Definition at line 165 of file MIPatternMatch.h.

Referenced by GFCstAndRegMatch(), and match().


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