LLVM  8.0.0svn
Public Member Functions | Public Attributes | Protected Types | Protected Attributes | List of all members
llvm::Nios2Subtarget Class Reference

#include "Target/Nios2/Nios2Subtarget.h"

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

Public Member Functions

 Nios2Subtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM)
 This constructor initializes the data members to match that of the specified triple. More...
 
void ParseSubtargetFeatures (StringRef CPU, StringRef FS)
 ParseSubtargetFeatures - Parses features string setting specified subtarget options. More...
 
bool hasNios2r1 () const
 
bool isNios2r1 () const
 
bool hasNios2r2 () const
 
bool isNios2r2 () const
 
Nios2SubtargetinitializeSubtargetDependencies (StringRef CPU, StringRef FS)
 
const Nios2InstrInfogetInstrInfo () const override
 
const TargetFrameLoweringgetFrameLowering () const override
 
const Nios2RegisterInfogetRegisterInfo () const override
 
const Nios2TargetLoweringgetTargetLowering () const override
 
const SelectionDAGTargetInfogetSelectionDAGInfo () const override
 

Public Attributes

bool HasBMX
 
bool HasCDX
 
bool HasMPX
 
bool HasR2Mandatory
 

Protected Types

enum  Nios2ArchEnum { Nios2r1, Nios2r2 }
 

Protected Attributes

Nios2ArchEnum Nios2ArchVersion
 
Triple TargetTriple
 
Nios2InstrInfo InstrInfo
 
Nios2TargetLowering TLInfo
 
SelectionDAGTargetInfo TSInfo
 
Nios2FrameLowering FrameLowering
 

Detailed Description

Definition at line 32 of file Nios2Subtarget.h.

Member Enumeration Documentation

◆ Nios2ArchEnum

Enumerator
Nios2r1 
Nios2r2 

Definition at line 47 of file Nios2Subtarget.h.

Constructor & Destructor Documentation

◆ Nios2Subtarget()

Nios2Subtarget::Nios2Subtarget ( const Triple TT,
const std::string &  CPU,
const std::string &  FS,
const TargetMachine TM 
)

This constructor initializes the data members to match that of the specified triple.

Definition at line 27 of file Nios2Subtarget.cpp.

Member Function Documentation

◆ getFrameLowering()

const TargetFrameLowering* llvm::Nios2Subtarget::getFrameLowering ( ) const
inlineoverride

Definition at line 82 of file Nios2Subtarget.h.

References FrameLowering.

◆ getInstrInfo()

const Nios2InstrInfo* llvm::Nios2Subtarget::getInstrInfo ( ) const
inlineoverride

Definition at line 81 of file Nios2Subtarget.h.

References InstrInfo.

◆ getRegisterInfo()

const Nios2RegisterInfo* llvm::Nios2Subtarget::getRegisterInfo ( ) const
inlineoverride

◆ getSelectionDAGInfo()

const SelectionDAGTargetInfo* llvm::Nios2Subtarget::getSelectionDAGInfo ( ) const
inlineoverride

Definition at line 91 of file Nios2Subtarget.h.

References TSInfo.

◆ getTargetLowering()

const Nios2TargetLowering* llvm::Nios2Subtarget::getTargetLowering ( ) const
inlineoverride

Definition at line 88 of file Nios2Subtarget.h.

References TLInfo.

◆ hasNios2r1()

bool llvm::Nios2Subtarget::hasNios2r1 ( ) const
inline

Definition at line 74 of file Nios2Subtarget.h.

References Nios2r1.

◆ hasNios2r2()

bool llvm::Nios2Subtarget::hasNios2r2 ( ) const
inline

Definition at line 76 of file Nios2Subtarget.h.

References Nios2r2.

Referenced by llvm::Nios2InstrInfo::copyPhysReg().

◆ initializeSubtargetDependencies()

Nios2Subtarget & Nios2Subtarget::initializeSubtargetDependencies ( StringRef  CPU,
StringRef  FS 
)

◆ isNios2r1()

bool llvm::Nios2Subtarget::isNios2r1 ( ) const
inline

Definition at line 75 of file Nios2Subtarget.h.

References Nios2r1.

◆ isNios2r2()

bool llvm::Nios2Subtarget::isNios2r2 ( ) const
inline

Definition at line 77 of file Nios2Subtarget.h.

References initializeSubtargetDependencies(), and Nios2r2.

◆ ParseSubtargetFeatures()

void llvm::Nios2Subtarget::ParseSubtargetFeatures ( StringRef  CPU,
StringRef  FS 
)

ParseSubtargetFeatures - Parses features string setting specified subtarget options.

Definition of function is auto generated by tblgen.

Referenced by initializeSubtargetDependencies().

Member Data Documentation

◆ FrameLowering

Nios2FrameLowering llvm::Nios2Subtarget::FrameLowering
protected

Definition at line 62 of file Nios2Subtarget.h.

Referenced by getFrameLowering().

◆ HasBMX

bool llvm::Nios2Subtarget::HasBMX

Definition at line 38 of file Nios2Subtarget.h.

◆ HasCDX

bool llvm::Nios2Subtarget::HasCDX

Definition at line 40 of file Nios2Subtarget.h.

◆ HasMPX

bool llvm::Nios2Subtarget::HasMPX

Definition at line 42 of file Nios2Subtarget.h.

◆ HasR2Mandatory

bool llvm::Nios2Subtarget::HasR2Mandatory

Definition at line 44 of file Nios2Subtarget.h.

◆ InstrInfo

Nios2InstrInfo llvm::Nios2Subtarget::InstrInfo
protected

Definition at line 59 of file Nios2Subtarget.h.

Referenced by getInstrInfo().

◆ Nios2ArchVersion

Nios2ArchEnum llvm::Nios2Subtarget::Nios2ArchVersion
protected

Definition at line 55 of file Nios2Subtarget.h.

Referenced by initializeSubtargetDependencies().

◆ TargetTriple

Triple llvm::Nios2Subtarget::TargetTriple
protected

Definition at line 57 of file Nios2Subtarget.h.

Referenced by initializeSubtargetDependencies().

◆ TLInfo

Nios2TargetLowering llvm::Nios2Subtarget::TLInfo
protected

Definition at line 60 of file Nios2Subtarget.h.

Referenced by getTargetLowering().

◆ TSInfo

SelectionDAGTargetInfo llvm::Nios2Subtarget::TSInfo
protected

Definition at line 61 of file Nios2Subtarget.h.

Referenced by getSelectionDAGInfo().


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