LLVM API Documentation
SI Implementation of TargetInstrInfo. More...
#include "SIInstrInfo.h"
#include "AMDGPUTargetMachine.h"
#include "SIDefines.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/MC/MCInstrDesc.h"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
List of target independent CodeGen pass IDs. | |
namespace | llvm::AMDGPU |
Functions | |
static unsigned | getNumOperandsNoGlue (SDNode *Node) |
static SDValue | findChainOperand (SDNode *Load) |
static bool | nodesHaveSameOperandValue (SDNode *N0, SDNode *N1, unsigned OpName) |
Returns true if both nodes have the same value for the given operand Op , or if both nodes do not have this operand. | |
static bool | isStride64 (unsigned Opc) |
int | llvm::AMDGPU::isDS (uint16_t Opcode) |
static bool | compareMachineOp (const MachineOperand &Op0, const MachineOperand &Op1) |
SI Implementation of TargetInstrInfo.
Definition in file SIInstrInfo.cpp.
static bool compareMachineOp | ( | const MachineOperand & | Op0, |
const MachineOperand & | Op1 | ||
) | [static] |
Definition at line 729 of file SIInstrInfo.cpp.
References llvm::MachineOperand::getFPImm(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getReg(), llvm::MachineOperand::getType(), llvm_unreachable, llvm::MachineOperand::MO_FPImmediate, llvm::MachineOperand::MO_Immediate, and llvm::MachineOperand::MO_Register.
Referenced by llvm::SIInstrInfo::verifyInstruction().
static SDValue findChainOperand | ( | SDNode * | Load | ) | [static] |
Definition at line 43 of file SIInstrInfo.cpp.
References getNumOperandsNoGlue(), llvm::SDNode::getOperand(), llvm::SDValue::getValueType(), and llvm::MVT::Other.
Referenced by llvm::SIInstrInfo::areLoadsFromSameBasePtr().
static unsigned getNumOperandsNoGlue | ( | SDNode * | Node | ) | [static] |
Definition at line 36 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().
static bool isStride64 | ( | unsigned | Opc | ) | [static] |
Definition at line 165 of file SIInstrInfo.cpp.
Referenced by llvm::SIInstrInfo::getLdStBaseRegImmOfs().
static bool nodesHaveSameOperandValue | ( | SDNode * | N0, |
SDNode * | N1, | ||
unsigned | OpName | ||
) | [static] |
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 51 of file SIInstrInfo.cpp.
References llvm::SDNode::getMachineOpcode(), llvm::AMDGPU::getNamedOperandIdx(), and llvm::SDNode::getOperand().
Referenced by llvm::SIInstrInfo::areLoadsFromSameBasePtr().