LLVM API Documentation
#include <SPUSubtarget.h>
Public Member Functions | |
| SPUSubtarget (const std::string &TT, const std::string &FS) | |
| std::string | ParseSubtargetFeatures (const std::string &FS, const std::string &CPU) |
| void | SetJITMode () |
| unsigned | getStackAlignment () const |
| const InstrItineraryData & | getInstrItineraryData () const |
| bool | usingLargeMem () const |
| Use large memory addressing predicate. | |
| const char * | getTargetDataString () const |
Protected Attributes | |
| unsigned | StackAlignment |
| InstrItineraryData | InstrItins |
| Selected instruction itineraries (one entry per itinerary class.). | |
| unsigned | ProcDirective |
| bool | UseLargeMem |
Definition at line 32 of file SPUSubtarget.h.
| SPUSubtarget::SPUSubtarget | ( | const std::string & | TT, | |
| const std::string & | FS | |||
| ) |
This constructor initializes the data members to match that of the specified triple.
Definition at line 20 of file SPUSubtarget.cpp.
References ParseSubtargetFeatures().
| std::string llvm::SPUSubtarget::ParseSubtargetFeatures | ( | const std::string & | FS, | |
| const std::string & | CPU | |||
| ) |
ParseSubtargetFeatures - Parses features string setting specified subtarget options. Definition of function is auto generated by tblgen.
Referenced by SPUSubtarget().
| void SPUSubtarget::SetJITMode | ( | ) |
SetJITMode - This is called to inform the subtarget info that we are producing code for the JIT.
SetJITMode - This is called to inform the subtarget info that we are producing code for the JIT.
Definition at line 35 of file SPUSubtarget.cpp.
| unsigned llvm::SPUSubtarget::getStackAlignment | ( | ) | const [inline] |
getStackAlignment - Returns the minimum alignment known to hold of the stack frame on entry to the function and which must be maintained by every function for this subtarget.
Definition at line 67 of file SPUSubtarget.h.
References StackAlignment.
| const InstrItineraryData& llvm::SPUSubtarget::getInstrItineraryData | ( | ) | const [inline] |
getInstrItins - Return the instruction itineraies based on subtarget selection.
Definition at line 71 of file SPUSubtarget.h.
References InstrItins.
| bool llvm::SPUSubtarget::usingLargeMem | ( | ) | const [inline] |
Use large memory addressing predicate.
Definition at line 76 of file SPUSubtarget.h.
References UseLargeMem.
Referenced by llvm::SPUTargetLowering::LowerCall(), LowerConstantPool(), LowerGlobalAddress(), LowerJumpTable(), and llvm::SPUTargetLowering::PerformDAGCombine().
| const char* llvm::SPUSubtarget::getTargetDataString | ( | ) | const [inline] |
getTargetDataString - Return the pointer size and type alignment properties of this subtarget.
Definition at line 82 of file SPUSubtarget.h.
unsigned llvm::SPUSubtarget::StackAlignment [protected] |
stackAlignment - The minimum alignment known to hold of the stack frame on entry to the function and which must be maintained by every function.
Definition at line 36 of file SPUSubtarget.h.
Referenced by getStackAlignment().
InstrItineraryData llvm::SPUSubtarget::InstrItins [protected] |
Selected instruction itineraries (one entry per itinerary class.).
Definition at line 39 of file SPUSubtarget.h.
Referenced by getInstrItineraryData().
unsigned llvm::SPUSubtarget::ProcDirective [protected] |
Which SPU processor (this isn't really used, but it's there to keep the C compiler happy)
Definition at line 43 of file SPUSubtarget.h.
bool llvm::SPUSubtarget::UseLargeMem [protected] |
Use (assume) large memory -- effectively disables the LQA/STQA instructions that assume 259K local store.
Definition at line 47 of file SPUSubtarget.h.
Referenced by usingLargeMem().