LLVM API Documentation
#include <SPUSubtarget.h>


Public Member Functions | |
| SPUSubtarget (const TargetMachine &TM, const Module &M, const std::string &FS) | |
| void | 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 | |
| const TargetMachine & | TM |
| unsigned | StackAlignment |
| InstrItineraryData | InstrItins |
| Selected instruction itineraries (one entry per itinerary class.). | |
| unsigned | ProcDirective |
| bool | UseLargeMem |
Definition at line 34 of file SPUSubtarget.h.
| SPUSubtarget::SPUSubtarget | ( | const TargetMachine & | TM, | |
| const Module & | M, | |||
| const std::string & | FS | |||
| ) |
This constructor initializes the data members to match that of the specified module.
Definition at line 22 of file SPUSubtarget.cpp.
References ParseSubtargetFeatures().
| void 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 39 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 71 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 75 of file SPUSubtarget.h.
References InstrItins.
| bool llvm::SPUSubtarget::usingLargeMem | ( | ) | const [inline] |
Use large memory addressing predicate.
Definition at line 80 of file SPUSubtarget.h.
References UseLargeMem.
Referenced by 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 86 of file SPUSubtarget.h.
const TargetMachine& llvm::SPUSubtarget::TM [protected] |
Definition at line 36 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 40 of file SPUSubtarget.h.
Referenced by getStackAlignment().
InstrItineraryData llvm::SPUSubtarget::InstrItins [protected] |
Selected instruction itineraries (one entry per itinerary class.).
Definition at line 43 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 47 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 51 of file SPUSubtarget.h.
Referenced by usingLargeMem().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.