LLVM  9.0.0svn
Public Types | Public Member Functions | List of all members
llvm::SrcOp Class Reference

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

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

Public Types

enum  SrcType { SrcType::Ty_Reg, SrcType::Ty_MIB, SrcType::Ty_Predicate }
 

Public Member Functions

 SrcOp (Register R)
 
 SrcOp (const MachineOperand &Op)
 
 SrcOp (const MachineInstrBuilder &MIB)
 
 SrcOp (const CmpInst::Predicate P)
 
void addSrcToMIB (MachineInstrBuilder &MIB) const
 
LLT getLLTTy (const MachineRegisterInfo &MRI) const
 
Register getReg () const
 
CmpInst::Predicate getPredicate () const
 
SrcType getSrcOpKind () const
 

Detailed Description

Definition at line 120 of file MachineIRBuilder.h.

Member Enumeration Documentation

◆ SrcType

enum llvm::SrcOp::SrcType
strong
Enumerator
Ty_Reg 
Ty_MIB 
Ty_Predicate 

Definition at line 128 of file MachineIRBuilder.h.

Constructor & Destructor Documentation

◆ SrcOp() [1/4]

llvm::SrcOp::SrcOp ( Register  R)
inline

Definition at line 129 of file MachineIRBuilder.h.

◆ SrcOp() [2/4]

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

Definition at line 130 of file MachineIRBuilder.h.

◆ SrcOp() [3/4]

llvm::SrcOp::SrcOp ( const MachineInstrBuilder MIB)
inline

Definition at line 131 of file MachineIRBuilder.h.

◆ SrcOp() [4/4]

llvm::SrcOp::SrcOp ( const CmpInst::Predicate  P)
inline

Definition at line 132 of file MachineIRBuilder.h.

Member Function Documentation

◆ addSrcToMIB()

void llvm::SrcOp::addSrcToMIB ( MachineInstrBuilder MIB) const
inline

◆ getLLTTy()

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

◆ getPredicate()

CmpInst::Predicate llvm::SrcOp::getPredicate ( ) const
inline

Definition at line 172 of file MachineIRBuilder.h.

References llvm_unreachable.

◆ getReg()

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

◆ getSrcOpKind()

SrcType llvm::SrcOp::getSrcOpKind ( ) const
inline

Definition at line 181 of file MachineIRBuilder.h.

Member Data Documentation

◆ Pred

CmpInst::Predicate llvm::SrcOp::Pred

Definition at line 124 of file MachineIRBuilder.h.

◆ Reg

Register llvm::SrcOp::Reg

Definition at line 123 of file MachineIRBuilder.h.

◆ SrcMIB

MachineInstrBuilder llvm::SrcOp::SrcMIB

Definition at line 122 of file MachineIRBuilder.h.


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