LLVM API Documentation

llvm::ARMInstrInfo Class Reference

#include <ARMInstrInfo.h>

Inheritance diagram for llvm::ARMInstrInfo:

Inheritance graph
[legend]
Collaboration diagram for llvm::ARMInstrInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ARMInstrInfo ()
virtual const MRegisterInfogetRegisterInfo () const
virtual bool isMoveInstr (const MachineInstr &MI, unsigned &SrcReg, unsigned &DstReg) const

Detailed Description

Definition at line 23 of file ARMInstrInfo.h.


Constructor & Destructor Documentation

ARMInstrInfo::ARMInstrInfo (  ) 

Definition at line 21 of file ARMInstrInfo.cpp.


Member Function Documentation

virtual const MRegisterInfo& llvm::ARMInstrInfo::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 32 of file ARMInstrInfo.h.

Referenced by llvm::ARMTargetMachine::getRegisterInfo().

bool ARMInstrInfo::isMoveInstr ( const MachineInstr MI,
unsigned &  SrcReg,
unsigned &  DstReg 
) 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 28 of file ARMInstrInfo.cpp.

References llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isRegister(), and MI.


The documentation for this class was generated from the following files: