LLVM API Documentation

Public Member Functions | Protected Attributes
llvm::MBlazeSubtarget Class Reference

#include <MBlazeSubtarget.h>

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

List of all members.

Public Member Functions

 MBlazeSubtarget (const std::string &TT, const std::string &CPU, const std::string &FS)
void ParseSubtargetFeatures (StringRef CPU, StringRef FS)
void computeIssueWidth ()
bool enablePostRAScheduler (CodeGenOpt::Level OptLevel, TargetSubtargetInfo::AntiDepBreakMode &Mode, RegClassVector &CriticalPathRCs) const
 enablePostRAScheduler - True at 'More' optimization.
const InstrItineraryDatagetInstrItineraryData () const
 getInstrItins - Return the instruction itineraies based on subtarget.
bool hasItin () const
bool hasPCMP () const
bool hasFPU () const
bool hasSqrt () const
bool hasMul () const
bool hasMul64 () const
bool hasDiv () const
bool hasBarrel () const

Protected Attributes

bool HasBarrel
bool HasDiv
bool HasMul
bool HasPatCmp
bool HasFPU
bool HasMul64
bool HasSqrt
bool HasItin
InstrItineraryData InstrItins

Detailed Description

Definition at line 27 of file MBlazeSubtarget.h.


Constructor & Destructor Documentation

MBlazeSubtarget::MBlazeSubtarget ( const std::string &  TT,
const std::string &  CPU,
const std::string &  FS 
)

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

Definition at line 26 of file MBlazeSubtarget.cpp.

References llvm::dbgs(), DEBUG, HasItin, InstrItins, and ParseSubtargetFeatures().


Member Function Documentation

void llvm::MBlazeSubtarget::computeIssueWidth ( )

Compute the number of maximum number of issues per cycle for the MBlaze scheduling itineraries.

bool MBlazeSubtarget::enablePostRAScheduler ( CodeGenOpt::Level  OptLevel,
TargetSubtargetInfo::AntiDepBreakMode Mode,
RegClassVector &  CriticalPathRCs 
) const

enablePostRAScheduler - True at 'More' optimization.

Definition at line 49 of file MBlazeSubtarget.cpp.

References llvm::TargetSubtargetInfo::ANTIDEP_CRITICAL, llvm::Reloc::Default, and HasItin.

const InstrItineraryData& llvm::MBlazeSubtarget::getInstrItineraryData ( ) const [inline]

getInstrItins - Return the instruction itineraies based on subtarget.

Definition at line 62 of file MBlazeSubtarget.h.

References InstrItins.

bool llvm::MBlazeSubtarget::hasBarrel ( ) const [inline]

Definition at line 71 of file MBlazeSubtarget.h.

References HasBarrel.

bool llvm::MBlazeSubtarget::hasDiv ( ) const [inline]

Definition at line 70 of file MBlazeSubtarget.h.

References HasDiv.

Referenced by llvm::MBlazeTargetLowering::MBlazeTargetLowering().

bool llvm::MBlazeSubtarget::hasFPU ( ) const [inline]

Definition at line 66 of file MBlazeSubtarget.h.

References HasFPU.

Referenced by llvm::MBlazeTargetLowering::MBlazeTargetLowering().

bool llvm::MBlazeSubtarget::hasItin ( ) const [inline]

Definition at line 64 of file MBlazeSubtarget.h.

References HasItin.

bool llvm::MBlazeSubtarget::hasMul ( ) const [inline]

Definition at line 68 of file MBlazeSubtarget.h.

References HasMul.

Referenced by llvm::MBlazeTargetLowering::MBlazeTargetLowering().

bool llvm::MBlazeSubtarget::hasMul64 ( ) const [inline]

Definition at line 69 of file MBlazeSubtarget.h.

References HasMul64.

Referenced by llvm::MBlazeTargetLowering::MBlazeTargetLowering().

bool llvm::MBlazeSubtarget::hasPCMP ( ) const [inline]

Definition at line 65 of file MBlazeSubtarget.h.

References HasPatCmp.

bool llvm::MBlazeSubtarget::hasSqrt ( ) const [inline]

Definition at line 67 of file MBlazeSubtarget.h.

References HasSqrt.

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

ParseSubtargetFeatures - Parses features string setting specified subtarget options. Definition of function is auto generated by tblgen.

Referenced by MBlazeSubtarget().


Member Data Documentation

Definition at line 30 of file MBlazeSubtarget.h.

Referenced by hasBarrel().

Definition at line 31 of file MBlazeSubtarget.h.

Referenced by hasDiv().

Definition at line 34 of file MBlazeSubtarget.h.

Referenced by hasFPU().

Definition at line 37 of file MBlazeSubtarget.h.

Referenced by enablePostRAScheduler(), hasItin(), and MBlazeSubtarget().

Definition at line 32 of file MBlazeSubtarget.h.

Referenced by hasMul().

Definition at line 35 of file MBlazeSubtarget.h.

Referenced by hasMul64().

Definition at line 33 of file MBlazeSubtarget.h.

Referenced by hasPCMP().

Definition at line 36 of file MBlazeSubtarget.h.

Referenced by hasSqrt().

Definition at line 39 of file MBlazeSubtarget.h.

Referenced by getInstrItineraryData(), and MBlazeSubtarget().


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