LLVM API Documentation

Public Member Functions
llvm::Thumb1InstrInfo Class Reference

#include <Thumb1InstrInfo.h>

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

List of all members.

Public Member Functions

 Thumb1InstrInfo (const ARMSubtarget &STI)
void getNoopForMachoTarget (MCInst &NopInst) const override
 getNoopForMachoTarget - Return the noop instruction to use for a noop.
unsigned getUnindexedOpcode (unsigned Opc) const override
const Thumb1RegisterInfogetRegisterInfo () const override
void copyPhysReg (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const override
void storeRegToStackSlot (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned SrcReg, bool isKill, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override
void loadRegFromStackSlot (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned DestReg, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override

Detailed Description

Definition at line 23 of file Thumb1InstrInfo.h.


Constructor & Destructor Documentation

Definition at line 24 of file Thumb1InstrInfo.cpp.


Member Function Documentation

void Thumb1InstrInfo::copyPhysReg ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  I,
DebugLoc  DL,
unsigned  DestReg,
unsigned  SrcReg,
bool  KillSrc 
) const [override]
void Thumb1InstrInfo::getNoopForMachoTarget ( MCInst NopInst) const [override]

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

Definition at line 29 of file Thumb1InstrInfo.cpp.

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

const Thumb1RegisterInfo& llvm::Thumb1InstrInfo::getRegisterInfo ( ) const [inline, override, 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 39 of file Thumb1InstrInfo.h.

unsigned Thumb1InstrInfo::getUnindexedOpcode ( unsigned  Opc) const [override, virtual]

Implements llvm::ARMBaseInstrInfo.

Definition at line 37 of file Thumb1InstrInfo.cpp.

void Thumb1InstrInfo::loadRegFromStackSlot ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  MBBI,
unsigned  DestReg,
int  FrameIndex,
const TargetRegisterClass RC,
const TargetRegisterInfo TRI 
) const [override]
void Thumb1InstrInfo::storeRegToStackSlot ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  MBBI,
unsigned  SrcReg,
bool  isKill,
int  FrameIndex,
const TargetRegisterClass RC,
const TargetRegisterInfo TRI 
) const [override]

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