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 , Ty_VRegAttrs }
 

Public Member Functions

 DstOp (unsigned R)
 
 DstOp (Register R)
 
 DstOp (const MachineOperand &Op)
 
 DstOp (const LLT T)
 
 DstOp (const TargetRegisterClass *TRC)
 
 DstOp (MachineRegisterInfo::VRegAttrs Attrs)
 
 DstOp (RegClassOrRegBank RCOrRB, LLT Ty)
 
void addDefToMIB (MachineRegisterInfo &MRI, MachineInstrBuilder &MIB) const
 
LLT getLLTTy (const MachineRegisterInfo &MRI) const
 
Register getReg () const
 
const TargetRegisterClassgetRegClass () const
 
MachineRegisterInfo::VRegAttrs getVRegAttrs () 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 
Ty_VRegAttrs 

Definition at line 79 of file MachineIRBuilder.h.

Constructor & Destructor Documentation

◆ DstOp() [1/7]

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

Definition at line 80 of file MachineIRBuilder.h.

◆ DstOp() [2/7]

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

Definition at line 81 of file MachineIRBuilder.h.

◆ DstOp() [3/7]

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

Definition at line 82 of file MachineIRBuilder.h.

◆ DstOp() [4/7]

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

Definition at line 83 of file MachineIRBuilder.h.

◆ DstOp() [5/7]

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

Definition at line 84 of file MachineIRBuilder.h.

◆ DstOp() [6/7]

llvm::DstOp::DstOp ( MachineRegisterInfo::VRegAttrs  Attrs)
inline

Definition at line 85 of file MachineIRBuilder.h.

◆ DstOp() [7/7]

llvm::DstOp::DstOp ( RegClassOrRegBank  RCOrRB,
LLT  Ty 
)
inline

Definition at line 87 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 136 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 126 of file MachineIRBuilder.h.

References assert(), RC, and Ty_RC.

◆ getVRegAttrs()

MachineRegisterInfo::VRegAttrs llvm::DstOp::getVRegAttrs ( ) const
inline

Definition at line 131 of file MachineIRBuilder.h.

References assert(), Attrs, and Ty_VRegAttrs.

Member Data Documentation

◆ Attrs

MachineRegisterInfo::VRegAttrs llvm::DstOp::Attrs

Definition at line 75 of file MachineIRBuilder.h.

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

◆ 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: