LLVM API Documentation
#include <PPC64InstrInfo.h>
Inheritance diagram for llvm::PPC64InstrInfo:
Public Member Functions | |
PPC64InstrInfo () | |
virtual const MRegisterInfo & | getRegisterInfo () const |
virtual bool | isMoveInstr (const MachineInstr &MI, unsigned &sourceReg, unsigned &destReg) const |
Static Public Member Functions | |
static unsigned | invertPPCBranchOpcode (unsigned Opcode) |
Definition at line 22 of file PPC64InstrInfo.h.
|
Definition at line 21 of file PPC64InstrInfo.cpp. |
|
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 31 of file PPC64InstrInfo.h. Referenced by llvm::PPC64TargetMachine::getRegisterInfo(). |
|
Definition at line 41 of file PPC64InstrInfo.h. |
|
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 24 of file PPC64InstrInfo.cpp. References llvm::MachineOperand::getImmedValue(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isImmediate(), llvm::MachineOperand::isRegister(), and OR. |