|
LLVM 23.0.0git
|
#include "Target/NVPTX/NVPTXInstrInfo.h"
Definition at line 26 of file NVPTXInstrInfo.h.
|
explicit |
Definition at line 28 of file NVPTXInstrInfo.cpp.
|
override |
analyzeBranch - Analyze the branching code at the end of MBB, returning true if it cannot be understood (e.g.
it's a switch dispatch or isn't implemented for a target). Upon success, this returns false and returns with the following information in various cases:
Note that removeBranch and insertBranch must be implemented to support cases where this method returns success.
Definition at line 84 of file NVPTXInstrInfo.cpp.
References Cond, llvm::MachineOperand::getMBB(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), I, MBB, and TBB.
|
override |
Definition at line 338 of file NVPTXInstrInfo.cpp.
References assert(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::TargetInstrInfo::commuteInstructionImpl(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::Failed(), llvm::find_if(), invertScalarCompareInstr(), isIntegerSetp(), isScalarFloatSetp(), llvm::make_range(), MBB, MI, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::MachineRegisterInfo::use_nodbg_instructions(), and UseMI.
|
override |
Definition at line 31 of file NVPTXInstrInfo.cpp.
References llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), DL, llvm::get(), llvm::getKillRegState(), llvm::MachineRegisterInfo::getRegClass(), I, llvm_unreachable, MBB, and llvm::report_fatal_error().
|
override |
Definition at line 330 of file NVPTXInstrInfo.cpp.
References llvm::TargetInstrInfo::findCommutedOpIndices(), isIntegerSetp(), isScalarFloatSetp(), and MI.
|
inline |
Definition at line 32 of file NVPTXInstrInfo.h.
|
override |
Definition at line 171 of file NVPTXInstrInfo.cpp.
References llvm::MachineInstrBuilder::add(), llvm::MachineInstrBuilder::addMBB(), assert(), llvm::BuildMI(), Cond, DL, llvm::get(), MBB, and TBB.
|
override |
Definition at line 145 of file NVPTXInstrInfo.cpp.
|
override |
Definition at line 202 of file NVPTXInstrInfo.cpp.
References assert(), Cond, and llvm::getImm().