LLVM  10.0.0svn
Public Types | Public Member Functions | List of all members
llvm::DstOp Class Reference

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

Collaboration diagram for llvm::DstOp:
Collaboration graph
[legend]

Public Types

enum  DstType { DstType::Ty_LLT, DstType::Ty_Reg, DstType::Ty_RC }
 

Public Member Functions

 DstOp (unsigned R)
 
 DstOp (Register R)
 
 DstOp (const MachineOperand &Op)
 
 DstOp (const LLT &T)
 
 DstOp (const TargetRegisterClass *TRC)
 
void addDefToMIB (MachineRegisterInfo &MRI, MachineInstrBuilder &MIB) const
 
LLT getLLTTy (const MachineRegisterInfo &MRI) const
 
Register getReg () const
 
const TargetRegisterClassgetRegClass () const
 
DstType getDstOpKind () const
 

Detailed Description

Definition at line 59 of file MachineIRBuilder.h.

Member Enumeration Documentation

◆ DstType

enum llvm::DstOp::DstType
strong
Enumerator
Ty_LLT 
Ty_Reg 
Ty_RC 

Definition at line 67 of file MachineIRBuilder.h.

Constructor & Destructor Documentation

◆ DstOp() [1/5]

llvm::DstOp::DstOp ( unsigned  R)
inline

Definition at line 68 of file MachineIRBuilder.h.

◆ DstOp() [2/5]

llvm::DstOp::DstOp ( Register  R)
inline

Definition at line 69 of file MachineIRBuilder.h.

◆ DstOp() [3/5]

llvm::DstOp::DstOp ( const MachineOperand Op)
inline

Definition at line 70 of file MachineIRBuilder.h.

◆ DstOp() [4/5]

llvm::DstOp::DstOp ( const LLT T)
inline

Definition at line 71 of file MachineIRBuilder.h.

◆ DstOp() [5/5]

llvm::DstOp::DstOp ( const TargetRegisterClass TRC)
inline

Definition at line 72 of file MachineIRBuilder.h.

Member Function Documentation

◆ addDefToMIB()

void llvm::DstOp::addDefToMIB ( MachineRegisterInfo MRI,
MachineInstrBuilder MIB 
) const
inline

◆ getDstOpKind()

DstType llvm::DstOp::getDstOpKind ( ) const
inline

Definition at line 114 of file MachineIRBuilder.h.

◆ getLLTTy()

LLT llvm::DstOp::getLLTTy ( const MachineRegisterInfo MRI) const
inline

◆ getReg()

Register llvm::DstOp::getReg ( ) const
inline

Definition at line 100 of file MachineIRBuilder.h.

References assert(), and Reg.

◆ getRegClass()

const TargetRegisterClass* llvm::DstOp::getRegClass ( ) const
inline

Definition at line 105 of file MachineIRBuilder.h.

References llvm_unreachable.

Member Data Documentation

◆ LLTTy

LLT llvm::DstOp::LLTTy

Definition at line 61 of file MachineIRBuilder.h.

◆ RC

const TargetRegisterClass* llvm::DstOp::RC

Definition at line 63 of file MachineIRBuilder.h.

◆ Reg

Register llvm::DstOp::Reg

Definition at line 62 of file MachineIRBuilder.h.


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