LLVM API Documentation
#include <SparcTargetMachine.h>
Public Member Functions | |
SparcTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool is64bit) | |
virtual const SparcInstrInfo * | getInstrInfo () const |
virtual const TargetFrameLowering * | getFrameLowering () const |
virtual const SparcSubtarget * | getSubtargetImpl () const |
virtual const SparcRegisterInfo * | getRegisterInfo () const |
virtual const SparcTargetLowering * | getTargetLowering () const |
virtual const SparcSelectionDAGInfo * | getSelectionDAGInfo () const |
virtual SparcJITInfo * | getJITInfo () |
virtual const DataLayout * | getDataLayout () const |
virtual TargetPassConfig * | createPassConfig (PassManagerBase &PM) |
virtual bool | addCodeEmitter (PassManagerBase &PM, JITCodeEmitter &JCE) |
![]() | |
virtual void | addAnalysisPasses (PassManagerBase &PM) |
Register analysis passes for this target with a pass manager. More... | |
virtual bool | addPassesToEmitFile (PassManagerBase &PM, formatted_raw_ostream &Out, CodeGenFileType FileType, bool DisableVerify=true, AnalysisID StartAfter=0, AnalysisID StopAfter=0) |
virtual bool | addPassesToEmitMachineCode (PassManagerBase &PM, JITCodeEmitter &MCE, bool DisableVerify=true) |
virtual bool | addPassesToEmitMC (PassManagerBase &PM, MCContext *&Ctx, raw_ostream &OS, bool DisableVerify=true) |
![]() | |
virtual | ~TargetMachine () |
const Target & | getTarget () const |
const StringRef | getTargetTriple () const |
const StringRef | getTargetCPU () const |
const StringRef | getTargetFeatureString () const |
void | resetTargetOptions (const MachineFunction *MF) const |
Reset the target options based on the function's attributes. More... | |
const MCAsmInfo * | getMCAsmInfo () const |
template<typename STC > | |
const STC & | getSubtarget () const |
virtual const TargetIntrinsicInfo * | getIntrinsicInfo () const |
virtual const InstrItineraryData * | getInstrItineraryData () const |
bool | hasMCRelaxAll () const |
void | setMCRelaxAll (bool Value) |
bool | hasMCSaveTempLabels () const |
void | setMCSaveTempLabels (bool Value) |
bool | hasMCNoExecStack () const |
hasMCNoExecStack - Check whether an executable stack is not needed. More... | |
void | setMCNoExecStack (bool Value) |
setMCNoExecStack - Set whether an executabel stack is not needed. More... | |
bool | hasMCUseLoc () const |
hasMCUseLoc - Check whether we should use dwarf's .loc directive. More... | |
void | setMCUseLoc (bool Value) |
setMCUseLoc - Set whether all we should use dwarf's .loc directive. More... | |
bool | hasMCUseCFI () const |
hasMCUseCFI - Check whether we should use dwarf's .cfi_* directives. More... | |
void | setMCUseCFI (bool Value) |
setMCUseCFI - Set whether all we should use dwarf's .cfi_* directives. More... | |
bool | hasMCUseDwarfDirectory () const |
void | setMCUseDwarfDirectory (bool Value) |
Reloc::Model | getRelocationModel () const |
CodeModel::Model | getCodeModel () const |
TLSModel::Model | getTLSModel (const GlobalValue *GV) const |
CodeGenOpt::Level | getOptLevel () const |
void | setOptLevel (CodeGenOpt::Level Level) const |
Overrides the optimization level. More... | |
void | setFastISel (bool Enable) |
bool | shouldPrintMachineCode () const |
Definition at line 29 of file SparcTargetMachine.h.
SparcTargetMachine::SparcTargetMachine | ( | const Target & | T, |
StringRef | TT, | ||
StringRef | CPU, | ||
StringRef | FS, | ||
const TargetOptions & | Options, | ||
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL, | ||
bool | is64bit | ||
) |
SparcTargetMachine ctor - Create an ILP32 architecture model
Definition at line 28 of file SparcTargetMachine.cpp.
References llvm::LLVMTargetMachine::initAsmInfo().
|
virtual |
addCodeEmitter - This pass should be overridden by the target to add a code emitter, if supported. If this is not supported, 'true' should be returned.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 68 of file SparcTargetMachine.cpp.
References llvm::createSparcJITCodeEmitterPass().
|
virtual |
createPassConfig - Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of CodeGen passes.
createPassConfig - Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of CodeGen passes.
Targets may override this to extend TargetPassConfig.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 59 of file SparcTargetMachine.cpp.
|
inlinevirtual |
Reimplemented from llvm::TargetMachine.
Definition at line 60 of file SparcTargetMachine.h.
|
inlinevirtual |
Reimplemented from llvm::TargetMachine.
Definition at line 44 of file SparcTargetMachine.h.
|
inlinevirtual |
Reimplemented from llvm::TargetMachine.
Definition at line 43 of file SparcTargetMachine.h.
|
inlinevirtual |
getJITInfo - If this target supports a JIT, return information for it, otherwise return null.
Reimplemented from llvm::TargetMachine.
Definition at line 57 of file SparcTargetMachine.h.
|
inlinevirtual |
getRegisterInfo - If register information is available, return it. If not, return null. This is kept separate from RegInfo until RegInfo has details of graph coloring register allocation removed from it.
Reimplemented from llvm::TargetMachine.
Definition at line 48 of file SparcTargetMachine.h.
References llvm::SparcInstrInfo::getRegisterInfo().
|
inlinevirtual |
Reimplemented from llvm::TargetMachine.
Definition at line 54 of file SparcTargetMachine.h.
|
inlinevirtual |
getSubtargetImpl - virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInfo-derived member variable.
Reimplemented from llvm::TargetMachine.
Definition at line 47 of file SparcTargetMachine.h.
|
inlinevirtual |
Reimplemented from llvm::TargetMachine.
Definition at line 51 of file SparcTargetMachine.h.