LLVM API Documentation

Public Member Functions
llvm::MSP430InstrInfo Class Reference

#include <MSP430InstrInfo.h>

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

List of all members.

Public Member Functions

 MSP430InstrInfo (MSP430Subtarget &STI)
const TargetRegisterInfogetRegisterInfo () const
void copyPhysReg (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const override
void storeRegToStackSlot (MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned SrcReg, bool isKill, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override
void loadRegFromStackSlot (MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, int FrameIdx, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override
unsigned GetInstSizeInBytes (const MachineInstr *MI) const
bool ReverseBranchCondition (SmallVectorImpl< MachineOperand > &Cond) const override
bool isUnpredicatedTerminator (const MachineInstr *MI) const override
bool AnalyzeBranch (MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify) const override
unsigned RemoveBranch (MachineBasicBlock &MBB) const override
unsigned InsertBranch (MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl< MachineOperand > &Cond, DebugLoc DL) const override

Detailed Description

Definition at line 43 of file MSP430InstrInfo.h.


Constructor & Destructor Documentation

Definition at line 33 of file MSP430InstrInfo.cpp.


Member Function Documentation

bool MSP430InstrInfo::AnalyzeBranch ( MachineBasicBlock MBB,
MachineBasicBlock *&  TBB,
MachineBasicBlock *&  FBB,
SmallVectorImpl< MachineOperand > &  Cond,
bool  AllowModify 
) const [override]
void MSP430InstrInfo::copyPhysReg ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  I,
DebugLoc  DL,
unsigned  DestReg,
unsigned  SrcReg,
bool  KillSrc 
) const [override]

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 53 of file MSP430InstrInfo.h.

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

void MSP430InstrInfo::storeRegToStackSlot ( MachineBasicBlock MBB,
MachineBasicBlock::iterator  MI,
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: