LLVM  8.0.1
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 (const LLT &T)
 
 DstOp (const TargetRegisterClass *TRC)
 
void addDefToMIB (MachineRegisterInfo &MRI, MachineInstrBuilder &MIB) const
 
LLT getLLTTy (const MachineRegisterInfo &MRI) const
 
unsigned getReg () const
 
const TargetRegisterClassgetRegClass () const
 
DstType getDstOpKind () const
 

Detailed Description

Definition at line 60 of file MachineIRBuilder.h.

Member Enumeration Documentation

◆ DstType

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

Definition at line 68 of file MachineIRBuilder.h.

Constructor & Destructor Documentation

◆ DstOp() [1/3]

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

Definition at line 69 of file MachineIRBuilder.h.

◆ DstOp() [2/3]

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

Definition at line 70 of file MachineIRBuilder.h.

◆ DstOp() [3/3]

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

Definition at line 71 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 113 of file MachineIRBuilder.h.

◆ getLLTTy()

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

◆ getReg()

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

Definition at line 99 of file MachineIRBuilder.h.

References assert(), and Reg.

◆ getRegClass()

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

Definition at line 104 of file MachineIRBuilder.h.

References llvm_unreachable.

Member Data Documentation

◆ LLTTy

LLT llvm::DstOp::LLTTy

Definition at line 62 of file MachineIRBuilder.h.

◆ RC

const TargetRegisterClass* llvm::DstOp::RC

Definition at line 64 of file MachineIRBuilder.h.

◆ Reg

unsigned llvm::DstOp::Reg

Definition at line 63 of file MachineIRBuilder.h.


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