LLVM  6.0.0svn
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
llvm::Nios2InstrInfo Class Reference

#include "Target/Nios2/Nios2InstrInfo.h"

Inheritance diagram for llvm::Nios2InstrInfo:
Inheritance graph
Collaboration diagram for llvm::Nios2InstrInfo:
Collaboration graph

Public Member Functions

 Nios2InstrInfo (const Nios2Subtarget &STI)
const Nios2RegisterInfogetRegisterInfo () const
 getRegisterInfo - TargetInstrInfo is a superset of MRegister info. More...

Static Public Member Functions

static const Nios2InstrInfocreate (Nios2Subtarget &STI)

Protected Attributes

const Nios2SubtargetSubtarget
const Nios2RegisterInfo RI

Detailed Description

Definition at line 28 of file Nios2InstrInfo.h.

Constructor & Destructor Documentation

◆ Nios2InstrInfo()

llvm::Nios2InstrInfo::Nios2InstrInfo ( const Nios2Subtarget STI)

Definition at line 34 of file Nios2InstrInfo.h.

References create(), and getRegisterInfo().

Referenced by create().

Member Function Documentation

◆ create()

const Nios2InstrInfo * Nios2InstrInfo::create ( Nios2Subtarget STI)

Definition at line 22 of file Nios2InstrInfo.cpp.

References Nios2InstrInfo().

Referenced by Nios2InstrInfo().

◆ getRegisterInfo()

const Nios2RegisterInfo & Nios2InstrInfo::getRegisterInfo ( ) const

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 26 of file Nios2InstrInfo.cpp.

References RI.

Referenced by Nios2InstrInfo().

Member Data Documentation

◆ RI

const Nios2RegisterInfo llvm::Nios2InstrInfo::RI

Definition at line 31 of file Nios2InstrInfo.h.

Referenced by getRegisterInfo().

◆ Subtarget

const Nios2Subtarget& llvm::Nios2InstrInfo::Subtarget

Definition at line 30 of file Nios2InstrInfo.h.

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