LLVM  6.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 Nios2TargetMachine &_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 TargetMachine &TM)
 
const TargetFrameLoweringgetFrameLowering () const override
 
const Nios2RegisterInfogetRegisterInfo () const override
 

Public Attributes

bool HasBMX
 
bool HasCDX
 
bool HasMPX
 
bool HasR2Mandatory
 

Protected Types

enum  Nios2ArchEnum { Nios2r1, Nios2r2 }
 

Protected Attributes

Nios2ArchEnum Nios2ArchVersion
 
const Nios2TargetMachineTM
 
Triple TargetTriple
 
std::unique_ptr< const Nios2InstrInfoInstrInfo
 
std::unique_ptr< const Nios2FrameLoweringFrameLowering
 

Detailed Description

Definition at line 29 of file Nios2Subtarget.h.

Member Enumeration Documentation

◆ Nios2ArchEnum

Enumerator
Nios2r1 
Nios2r2 

Definition at line 44 of file Nios2Subtarget.h.

Constructor & Destructor Documentation

◆ Nios2Subtarget()

Nios2Subtarget::Nios2Subtarget ( const Triple TT,
const std::string &  CPU,
const std::string &  FS,
const Nios2TargetMachine _TM 
)

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

Definition at line 30 of file Nios2Subtarget.cpp.

Member Function Documentation

◆ getFrameLowering()

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

Definition at line 79 of file Nios2Subtarget.h.

◆ getRegisterInfo()

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

Definition at line 82 of file Nios2Subtarget.h.

◆ hasNios2r1()

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

Definition at line 71 of file Nios2Subtarget.h.

References Nios2r1.

◆ hasNios2r2()

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

Definition at line 73 of file Nios2Subtarget.h.

References Nios2r2.

◆ initializeSubtargetDependencies()

Nios2Subtarget & Nios2Subtarget::initializeSubtargetDependencies ( StringRef  CPU,
StringRef  FS,
const TargetMachine TM 
)

◆ isNios2r1()

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

Definition at line 72 of file Nios2Subtarget.h.

References Nios2r1.

◆ isNios2r2()

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

Definition at line 74 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

std::unique_ptr<const Nios2FrameLowering> llvm::Nios2Subtarget::FrameLowering
protected

Definition at line 59 of file Nios2Subtarget.h.

◆ HasBMX

bool llvm::Nios2Subtarget::HasBMX

Definition at line 35 of file Nios2Subtarget.h.

◆ HasCDX

bool llvm::Nios2Subtarget::HasCDX

Definition at line 37 of file Nios2Subtarget.h.

◆ HasMPX

bool llvm::Nios2Subtarget::HasMPX

Definition at line 39 of file Nios2Subtarget.h.

◆ HasR2Mandatory

bool llvm::Nios2Subtarget::HasR2Mandatory

Definition at line 41 of file Nios2Subtarget.h.

◆ InstrInfo

std::unique_ptr<const Nios2InstrInfo> llvm::Nios2Subtarget::InstrInfo
protected

Definition at line 58 of file Nios2Subtarget.h.

◆ Nios2ArchVersion

Nios2ArchEnum llvm::Nios2Subtarget::Nios2ArchVersion
protected

Definition at line 52 of file Nios2Subtarget.h.

Referenced by initializeSubtargetDependencies().

◆ TargetTriple

Triple llvm::Nios2Subtarget::TargetTriple
protected

Definition at line 56 of file Nios2Subtarget.h.

Referenced by initializeSubtargetDependencies().

◆ TM

const Nios2TargetMachine& llvm::Nios2Subtarget::TM
protected

Definition at line 54 of file Nios2Subtarget.h.


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