LLVM  16.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

Public Member Functions

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

Public Attributes

Optional< FPValueAndVReg > & FPValReg

Detailed Description

Definition at line 154 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ GFCstAndRegMatch()

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

Definition at line 156 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 157 of file MIPatternMatch.h.

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

Member Data Documentation

◆ FPValReg

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

Definition at line 155 of file MIPatternMatch.h.

Referenced by match().

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