LLVM API Documentation
#include <IA64InstrInfo.h>
Inheritance diagram for llvm::IA64InstrInfo:
Public Member Functions | |
IA64InstrInfo () | |
virtual const MRegisterInfo & | getRegisterInfo () const |
virtual bool | isMoveInstr (const MachineInstr &MI, unsigned &sourceReg, unsigned &destReg) const |
Definition at line 26 of file IA64InstrInfo.h.
IA64InstrInfo::IA64InstrInfo | ( | ) |
Definition at line 21 of file IA64InstrInfo.cpp.
virtual const MRegisterInfo& llvm::IA64InstrInfo::getRegisterInfo | ( | ) | const [inline, virtual] |
getRegisterInfo - TargetInstrInfo is a superset of MRegister info. As such, whenever a client has an instance of instruction info, it should always be able to get register info as well (through this method).
Definition at line 35 of file IA64InstrInfo.h.
Referenced by llvm::IA64TargetMachine::getRegisterInfo().
bool IA64InstrInfo::isMoveInstr | ( | const MachineInstr & | MI, | |
unsigned & | sourceReg, | |||
unsigned & | destReg | |||
) | const [virtual] |
Return true if the instruction is a register to register move and leave the source and dest operands in the passed parameters.
Reimplemented from llvm::TargetInstrInfo.
Definition at line 26 of file IA64InstrInfo.cpp.
References llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isRegister(), and MI.