LLVM API Documentation
#include <MBlazeSubtarget.h>


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 InstrItineraryData & | getInstrItineraryData () 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 |
Definition at line 27 of file MBlazeSubtarget.h.
| 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().
| 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.
ParseSubtargetFeatures - Parses features string setting specified subtarget options. Definition of function is auto generated by tblgen.
Referenced by MBlazeSubtarget().
bool llvm::MBlazeSubtarget::HasBarrel [protected] |
Definition at line 30 of file MBlazeSubtarget.h.
Referenced by hasBarrel().
bool llvm::MBlazeSubtarget::HasDiv [protected] |
Definition at line 31 of file MBlazeSubtarget.h.
Referenced by hasDiv().
bool llvm::MBlazeSubtarget::HasFPU [protected] |
Definition at line 34 of file MBlazeSubtarget.h.
Referenced by hasFPU().
bool llvm::MBlazeSubtarget::HasItin [protected] |
Definition at line 37 of file MBlazeSubtarget.h.
Referenced by enablePostRAScheduler(), hasItin(), and MBlazeSubtarget().
bool llvm::MBlazeSubtarget::HasMul [protected] |
Definition at line 32 of file MBlazeSubtarget.h.
Referenced by hasMul().
bool llvm::MBlazeSubtarget::HasMul64 [protected] |
Definition at line 35 of file MBlazeSubtarget.h.
Referenced by hasMul64().
bool llvm::MBlazeSubtarget::HasPatCmp [protected] |
Definition at line 33 of file MBlazeSubtarget.h.
Referenced by hasPCMP().
bool llvm::MBlazeSubtarget::HasSqrt [protected] |
Definition at line 36 of file MBlazeSubtarget.h.
Referenced by hasSqrt().
InstrItineraryData llvm::MBlazeSubtarget::InstrItins [protected] |
Definition at line 39 of file MBlazeSubtarget.h.
Referenced by getInstrItineraryData(), and MBlazeSubtarget().