LLVM 24.0.0git
llvm::MIPatternMatch::GConstantBitsMatch Struct Reference

Match a literal G_CONSTANT or G_FCONSTANT, binding its raw bits to Bits (the integer value, or the float reinterpreted as an integer). More...

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

Public Member Functions

bool match (const MachineRegisterInfo &MRI, Register Reg)

Public Attributes

APIntBits

Detailed Description

Match a literal G_CONSTANT or G_FCONSTANT, binding its raw bits to Bits (the integer value, or the float reinterpreted as an integer).

Definition at line 535 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 537 of file MIPatternMatch.h.

References Bits, llvm::MachineRegisterInfo::getVRegDef(), MI, and Reg.

Member Data Documentation

◆ Bits

APInt& llvm::MIPatternMatch::GConstantBitsMatch::Bits

Definition at line 536 of file MIPatternMatch.h.

Referenced by match().


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