LLVM API Documentation

Public Member Functions
llvm::Thumb2InstrInfo Class Reference

#include <Thumb2InstrInfo.h>

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

List of all members.

Public Member Functions

 Thumb2InstrInfo (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
void ReplaceTailWithBranchTo (MachineBasicBlock::iterator Tail, MachineBasicBlock *NewDest) const override
bool isLegalToSplitMBBAt (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) 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
const Thumb2RegisterInfogetRegisterInfo () const override

Detailed Description

Definition at line 24 of file Thumb2InstrInfo.h.


Constructor & Destructor Documentation

Definition at line 32 of file Thumb2InstrInfo.cpp.


Member Function Documentation

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

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

Definition at line 37 of file Thumb2InstrInfo.cpp.

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

const Thumb2RegisterInfo& llvm::Thumb2InstrInfo::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 63 of file Thumb2InstrInfo.h.

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

Implements llvm::ARMBaseInstrInfo.

Definition at line 44 of file Thumb2InstrInfo.cpp.

void Thumb2InstrInfo::loadRegFromStackSlot ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  MBBI,
unsigned  DestReg,
int  FrameIndex,
const TargetRegisterClass RC,
const TargetRegisterInfo TRI 
) const [override]
void Thumb2InstrInfo::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: