LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::MIPatternMatch::ConstantMatch Struct Reference

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

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

Public Member Functions

 ConstantMatch (int64_t &C)
 
bool match (const MachineRegisterInfo &MRI, unsigned Reg)
 

Public Attributes

int64_t & CR
 

Detailed Description

Definition at line 45 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ ConstantMatch()

llvm::MIPatternMatch::ConstantMatch::ConstantMatch ( int64_t &  C)
inline

Definition at line 47 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

bool llvm::MIPatternMatch::ConstantMatch::match ( const MachineRegisterInfo MRI,
unsigned  Reg 
)
inline

Definition at line 48 of file MIPatternMatch.h.

References llvm::getConstantVRegVal().

Member Data Documentation

◆ CR

int64_t& llvm::MIPatternMatch::ConstantMatch::CR

Definition at line 46 of file MIPatternMatch.h.


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