|
LLVM
5.0.0
|
SI Implementation of TargetInstrInfo. More...
#include "SIInstrInfo.h"#include "AMDGPUTargetMachine.h"#include "GCNHazardRecognizer.h"#include "SIDefines.h"#include "SIMachineFunctionInfo.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/RegisterScavenging.h"#include "llvm/CodeGen/ScheduleDAG.h"#include "llvm/IR/DiagnosticInfo.h"#include "llvm/IR/Function.h"#include "llvm/MC/MCInstrDesc.h"#include "llvm/Support/Debug.h"Go to the source code of this file.
Variables | |
| static cl::opt< unsigned > | BranchOffsetBits ("amdgpu-s-branch-bits", cl::ReallyHidden, cl::init(16), cl::desc("Restrict range of branch instructions (DEBUG)")) |
SI Implementation of TargetInstrInfo.
Definition in file SIInstrInfo.cpp.
|
static |
Definition at line 2068 of file SIInstrInfo.cpp.
References llvm::MachineInstr::getOpcode().
Referenced by llvm::SIInstrInfo::isSchedulingBoundary().
|
static |
Definition at line 2184 of file SIInstrInfo.cpp.
References llvm::MachineOperand::getImm(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getType(), llvm_unreachable(), llvm::MachineOperand::MO_Immediate, and llvm::MachineOperand::MO_Register.
Referenced by llvm::SIInstrInfo::verifyInstruction().
Definition at line 53 of file SIInstrInfo.cpp.
References assert(), getNumOperandsNoGlue(), llvm::SDNode::getOperand(), llvm::SDValue::getValueType(), and llvm::MVT::Other.
Referenced by llvm::SIInstrInfo::areLoadsFromSameBasePtr().
|
static |
Definition at line 2280 of file SIInstrInfo.cpp.
References llvm::MachineInstr::implicit_operands().
Referenced by llvm::SIInstrInfo::legalizeOperandsVOP2(), and llvm::SIInstrInfo::verifyInstruction().
Definition at line 46 of file SIInstrInfo.cpp.
References llvm::SDNode::getNumOperands(), llvm::SDNode::getOperand(), llvm::SDValue::getValueType(), llvm::MVT::Glue, and N.
Referenced by llvm::SIInstrInfo::areLoadsFromSameBasePtr(), and findChainOperand().
Definition at line 802 of file SIInstrInfo.cpp.
References llvm_unreachable().
Referenced by llvm::SIInstrInfo::loadRegFromStackSlot().
Definition at line 691 of file SIInstrInfo.cpp.
References llvm_unreachable().
Referenced by llvm::SIInstrInfo::storeRegToStackSlot().
Definition at line 819 of file SIInstrInfo.cpp.
References llvm_unreachable().
Referenced by llvm::SIInstrInfo::loadRegFromStackSlot().
Definition at line 708 of file SIInstrInfo.cpp.
References llvm_unreachable().
Referenced by llvm::SIInstrInfo::storeRegToStackSlot().
Definition at line 206 of file SIInstrInfo.cpp.
Referenced by llvm::SIInstrInfo::getMemOpBaseRegImmOfs().
|
static |
Definition at line 2323 of file SIInstrInfo.cpp.
References llvm::MachineOperand::getReg(), llvm::MachineOperand::getSubReg(), and llvm::TargetRegisterInfo::isPhysicalRegister().
Referenced by llvm::SIInstrInfo::verifyInstruction().
Returns true if both nodes have the same value for the given operand Op, or if both nodes do not have this operand.
Definition at line 61 of file SIInstrInfo.cpp.
References llvm::SDNode::getMachineOpcode(), llvm::AMDGPU::getNamedOperandIdx(), and llvm::SDNode::getOperand().
Referenced by llvm::SIInstrInfo::areLoadsFromSameBasePtr().
|
static |
Definition at line 1922 of file SIInstrInfo.cpp.
|
static |
Definition at line 1533 of file SIInstrInfo.cpp.
References llvm::MachineOperand::isKill(), llvm::MachineOperand::isUndef(), llvm::MachineOperand::setIsKill(), and llvm::MachineOperand::setIsUndef().
Referenced by llvm::SIInstrInfo::insertBranch(), and llvm::SIInstrInfo::insertSelect().
|
static |
Definition at line 1763 of file SIInstrInfo.cpp.
References llvm::AMDGPU::getNamedOperandIdx(), llvm::MachineInstr::getOpcode(), and llvm::MachineInstr::RemoveOperand().
Referenced by llvm::SIInstrInfo::FoldImmediate().
|
static |
Definition at line 356 of file SIInstrInfo.cpp.
References llvm::BuildMI(), C, llvm::LLVMContext::diagnose(), llvm::DL, llvm::DS_Error, llvm::Function::getContext(), llvm::MachineFunction::getFunction(), llvm::getKillRegState(), and llvm::MachineBasicBlock::getParent().
Referenced by llvm::SIInstrInfo::copyPhysReg().
|
static |
Definition at line 2300 of file SIInstrInfo.cpp.
References llvm::MachineInstr::getOpcode(), llvm::SIInstrInfo::isSALU(), llvm::SIInstrInfo::isSMRD(), and llvm::SIInstrInfo::isVALU().
Referenced by llvm::SIInstrInfo::verifyInstruction().
|
static |
Definition at line 1173 of file SIInstrInfo.cpp.
References llvm::MachineOperand::ChangeToFrameIndex(), llvm::MachineOperand::ChangeToImmediate(), llvm::MachineOperand::ChangeToRegister(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getSubReg(), llvm::MachineOperand::isDead(), llvm::MachineOperand::isDebug(), llvm::MachineOperand::isFI(), llvm::MachineOperand::isImm(), llvm::MachineOperand::isKill(), llvm::MachineOperand::isUndef(), MI, llvm::MachineOperand::setSubReg(), and SubReg.
Referenced by llvm::SIInstrInfo::commuteInstructionImpl().
|
static |
Referenced by llvm::SIInstrInfo::isBranchOffsetInRange().
1.8.6