LLVM API Documentation

Public Member Functions
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 (const ARMSubtarget &STI)
void getNoopForMachoTarget (MCInst &NopInst) const
 getNoopForMachoTarget - Return the noop instruction to use for a noop.
unsigned getUnindexedOpcode (unsigned Opc) const
const ARMRegisterInfogetRegisterInfo () const

Detailed Description

Definition at line 25 of file ARMInstrInfo.h.


Constructor & Destructor Documentation

ARMInstrInfo::ARMInstrInfo ( const ARMSubtarget STI) [explicit]

Definition at line 31 of file ARMInstrInfo.cpp.


Member Function Documentation

void ARMInstrInfo::getNoopForMachoTarget ( MCInst NopInst) const

getNoopForMachoTarget - Return the noop instruction to use for a noop.

Definition at line 36 of file ARMInstrInfo.cpp.

References llvm::MCInst::addOperand(), llvm::ARMCC::AL, llvm::MCOperand::CreateImm(), llvm::MCOperand::CreateReg(), llvm::ARMBaseInstrInfo::hasNOP(), and llvm::MCInst::setOpcode().

const ARMRegisterInfo& 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).

Implements llvm::ARMBaseInstrInfo.

Definition at line 41 of file ARMInstrInfo.h.

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

unsigned ARMInstrInfo::getUnindexedOpcode ( unsigned  Opc) const [virtual]

Implements llvm::ARMBaseInstrInfo.

Definition at line 52 of file ARMInstrInfo.cpp.


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