LLVM 20.0.0git
|
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
Public Types | |
enum class | SrcType { Ty_Reg , Ty_MIB , Ty_Predicate , Ty_Imm } |
Public Member Functions | |
SrcOp (Register R) | |
SrcOp (const MachineOperand &Op) | |
SrcOp (const MachineInstrBuilder &MIB) | |
SrcOp (const CmpInst::Predicate P) | |
SrcOp (unsigned)=delete | |
Use of registers held in unsigned integer variables (or more rarely signed integers) is no longer permitted to avoid ambiguity with upcoming support for immediates. | |
SrcOp (int)=delete | |
SrcOp (uint64_t V) | |
SrcOp (int64_t V) | |
void | addSrcToMIB (MachineInstrBuilder &MIB) const |
LLT | getLLTTy (const MachineRegisterInfo &MRI) const |
Register | getReg () const |
CmpInst::Predicate | getPredicate () const |
int64_t | getImm () const |
SrcType | getSrcOpKind () const |
Definition at line 131 of file MachineIRBuilder.h.
|
strong |
Enumerator | |
---|---|
Ty_Reg | |
Ty_MIB | |
Ty_Predicate | |
Ty_Imm |
Definition at line 140 of file MachineIRBuilder.h.
|
inline |
Definition at line 141 of file MachineIRBuilder.h.
|
inline |
Definition at line 142 of file MachineIRBuilder.h.
|
inline |
Definition at line 143 of file MachineIRBuilder.h.
|
inline |
Definition at line 144 of file MachineIRBuilder.h.
|
delete |
Use of registers held in unsigned integer variables (or more rarely signed integers) is no longer permitted to avoid ambiguity with upcoming support for immediates.
|
delete |
|
inline |
Definition at line 150 of file MachineIRBuilder.h.
|
inline |
Definition at line 151 of file MachineIRBuilder.h.
|
inline |
Definition at line 153 of file MachineIRBuilder.h.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addPredicate(), llvm::MachineInstrBuilder::addUse(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), Imm, Pred, Reg, SrcMIB, Ty_Imm, Ty_MIB, Ty_Predicate, and Ty_Reg.
Referenced by llvm::MachineIRBuilder::buildAtomicCmpXchg(), llvm::MachineIRBuilder::buildAtomicCmpXchgWithSuccess(), llvm::MachineIRBuilder::buildAtomicRMW(), llvm::MachineIRBuilder::buildBrCond(), and llvm::MachineIRBuilder::buildStore().
|
inline |
Definition at line 205 of file MachineIRBuilder.h.
References Imm, llvm_unreachable, and Ty_Imm.
Referenced by llvm::CSEMIRBuilder::buildInstr(), llvm::SIInstrInfo::expandMovDPP64(), llvm::SIInstrInfo::expandPostRAPseudo(), and llvm::AMDGPULegalizerInfo::legalizeImageIntrinsic().
|
inline |
Definition at line 170 of file MachineIRBuilder.h.
References llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm_unreachable, MRI, Reg, SrcMIB, Ty_Imm, Ty_MIB, Ty_Predicate, and Ty_Reg.
Referenced by llvm::MachineIRBuilder::buildAtomicCmpXchg(), llvm::MachineIRBuilder::buildAtomicCmpXchgWithSuccess(), llvm::MachineIRBuilder::buildAtomicRMW(), llvm::MachineIRBuilder::buildBrCond(), llvm::MachineIRBuilder::buildDeleteTrailingVectorElements(), llvm::MachineIRBuilder::buildPadVectorWithUndefElements(), llvm::MachineIRBuilder::buildPtrAdd(), llvm::MachineIRBuilder::buildShuffleVector(), and llvm::MachineIRBuilder::buildStore().
|
inline |
Definition at line 196 of file MachineIRBuilder.h.
References llvm_unreachable, Pred, and Ty_Predicate.
|
inline |
Definition at line 183 of file MachineIRBuilder.h.
References llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm_unreachable, Reg, SrcMIB, Ty_Imm, Ty_MIB, Ty_Predicate, and Ty_Reg.
Referenced by llvm::CSEMIRBuilder::buildInstr(), llvm::MachineIRBuilder::buildPadVectorWithUndefElements(), buildSplatSplitS64WithVL(), convertImageAddrToPacked(), llvm::SPIRVInstrInfo::copyPhysReg(), llvm::SIInstrInfo::expandMovDPP64(), llvm::SIInstrInfo::expandPostRAPseudo(), llvm::HexagonInstrInfo::expandPostRAPseudo(), llvm::AMDGPURegisterBankInfo::getDefaultMappingSOP(), llvm::SIInstrInfo::getInstructionUniformity(), isCopyOf(), isCopyOfBundle(), llvm::AMDGPULegalizerInfo::legalizeImageIntrinsic(), packImage16bitOpsToDwords(), and llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 214 of file MachineIRBuilder.h.
int64_t llvm::SrcOp::Imm |
Definition at line 136 of file MachineIRBuilder.h.
Referenced by addSrcToMIB(), and getImm().
CmpInst::Predicate llvm::SrcOp::Pred |
Definition at line 135 of file MachineIRBuilder.h.
Referenced by addSrcToMIB(), and getPredicate().
Register llvm::SrcOp::Reg |
Definition at line 134 of file MachineIRBuilder.h.
Referenced by addSrcToMIB(), getLLTTy(), and getReg().
MachineInstrBuilder llvm::SrcOp::SrcMIB |
Definition at line 133 of file MachineIRBuilder.h.
Referenced by addSrcToMIB(), getLLTTy(), and getReg().