LLVM  6.0.0svn
Public Types | Public Member Functions | List of all members
llvm::MSP430Subtarget Class Reference

#include "Target/MSP430/MSP430Subtarget.h"

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

Public Types

enum  HWMultEnum { NoHWMult, HWMult16, HWMult32, HWMultF5 }
 

Public Member Functions

 MSP430Subtarget (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...
 
MSP430SubtargetinitializeSubtargetDependencies (StringRef CPU, StringRef FS)
 
void ParseSubtargetFeatures (StringRef CPU, StringRef FS)
 ParseSubtargetFeatures - Parses features string setting specified subtarget options. More...
 
bool hasHWMult16 () const
 
bool hasHWMult32 () const
 
bool hasHWMultF5 () const
 
const TargetFrameLoweringgetFrameLowering () const override
 
const MSP430InstrInfogetInstrInfo () const override
 
const TargetRegisterInfogetRegisterInfo () const override
 
const MSP430TargetLoweringgetTargetLowering () const override
 
const SelectionDAGTargetInfogetSelectionDAGInfo () const override
 

Detailed Description

Definition at line 32 of file MSP430Subtarget.h.

Member Enumeration Documentation

◆ HWMultEnum

Enumerator
NoHWMult 
HWMult16 
HWMult32 
HWMultF5 

Definition at line 34 of file MSP430Subtarget.h.

Constructor & Destructor Documentation

◆ MSP430Subtarget()

MSP430Subtarget::MSP430Subtarget ( 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 59 of file MSP430Subtarget.cpp.

Member Function Documentation

◆ getFrameLowering()

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

Definition at line 64 of file MSP430Subtarget.h.

◆ getInstrInfo()

const MSP430InstrInfo* llvm::MSP430Subtarget::getInstrInfo ( ) const
inlineoverride

Definition at line 67 of file MSP430Subtarget.h.

◆ getRegisterInfo()

const TargetRegisterInfo* llvm::MSP430Subtarget::getRegisterInfo ( ) const
inlineoverride

◆ getSelectionDAGInfo()

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

Definition at line 74 of file MSP430Subtarget.h.

◆ getTargetLowering()

const MSP430TargetLowering* llvm::MSP430Subtarget::getTargetLowering ( ) const
inlineoverride

Definition at line 71 of file MSP430Subtarget.h.

◆ hasHWMult16()

bool llvm::MSP430Subtarget::hasHWMult16 ( ) const
inline

Definition at line 60 of file MSP430Subtarget.h.

References HWMult16.

Referenced by llvm::MSP430TargetLowering::MSP430TargetLowering().

◆ hasHWMult32()

bool llvm::MSP430Subtarget::hasHWMult32 ( ) const
inline

Definition at line 61 of file MSP430Subtarget.h.

References HWMult32.

Referenced by llvm::MSP430TargetLowering::MSP430TargetLowering().

◆ hasHWMultF5()

bool llvm::MSP430Subtarget::hasHWMultF5 ( ) const
inline

Definition at line 62 of file MSP430Subtarget.h.

References HWMultF5.

Referenced by llvm::MSP430TargetLowering::MSP430TargetLowering().

◆ initializeSubtargetDependencies()

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

Definition at line 43 of file MSP430Subtarget.cpp.

References HWMultModeOption, NoHWMult, and ParseSubtargetFeatures().

◆ ParseSubtargetFeatures()

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

ParseSubtargetFeatures - Parses features string setting specified subtarget options.

Definition of function is auto generated by tblgen.

Referenced by initializeSubtargetDependencies().


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