LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::DstOp Class Reference

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

Public Types

enum class  DstType { Ty_LLT , Ty_Reg , 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 70 of file MachineIRBuilder.h.

Member Enumeration Documentation

◆ DstType

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

Definition at line 78 of file MachineIRBuilder.h.

Constructor & Destructor Documentation

◆ DstOp() [1/5]

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

Definition at line 79 of file MachineIRBuilder.h.

◆ DstOp() [2/5]

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

Definition at line 80 of file MachineIRBuilder.h.

◆ DstOp() [3/5]

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

Definition at line 81 of file MachineIRBuilder.h.

◆ DstOp() [4/5]

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

Definition at line 82 of file MachineIRBuilder.h.

◆ DstOp() [5/5]

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

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

◆ getLLTTy()

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

◆ getReg()

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

◆ getRegClass()

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

Definition at line 116 of file MachineIRBuilder.h.

References llvm_unreachable, RC, and Ty_RC.

Member Data Documentation

◆ LLTTy

LLT llvm::DstOp::LLTTy

Definition at line 72 of file MachineIRBuilder.h.

Referenced by addDefToMIB(), and getLLTTy().

◆ RC

const TargetRegisterClass* llvm::DstOp::RC

Definition at line 74 of file MachineIRBuilder.h.

Referenced by addDefToMIB(), and getRegClass().

◆ Reg

Register llvm::DstOp::Reg

Definition at line 73 of file MachineIRBuilder.h.

Referenced by addDefToMIB(), getLLTTy(), and getReg().


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