LLVM  11.0.0git
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

Public Member Functions

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

Public Attributes

int64_t & CR

Detailed Description

Definition at line 42 of file MIPatternMatch.h.

Constructor & Destructor Documentation

◆ ConstantMatch()

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

Definition at line 44 of file MIPatternMatch.h.

Member Function Documentation

◆ match()

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

Definition at line 45 of file MIPatternMatch.h.

References llvm::getConstantVRegVal().

Member Data Documentation

◆ CR

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

Definition at line 43 of file MIPatternMatch.h.

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