LLVM API Documentation
#include <CPPTargetMachine.h>
Public Member Functions | |
CPPTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL) | |
virtual bool | addPassesToEmitFile (PassManagerBase &PM, formatted_raw_ostream &Out, CodeGenFileType FileType, bool DisableVerify, AnalysisID StartAfter, AnalysisID StopAfter) |
virtual const DataLayout * | getDataLayout () const |
![]() | |
virtual | ~TargetMachine () |
const Target & | getTarget () const |
const StringRef | getTargetTriple () const |
const StringRef | getTargetCPU () const |
const StringRef | getTargetFeatureString () const |
virtual const TargetSubtargetInfo * | getSubtargetImpl () const |
void | resetTargetOptions (const MachineFunction *MF) const |
Reset the target options based on the function's attributes. More... | |
virtual const TargetInstrInfo * | getInstrInfo () const |
virtual const TargetFrameLowering * | getFrameLowering () const |
virtual const TargetLowering * | getTargetLowering () const |
virtual const TargetSelectionDAGInfo * | getSelectionDAGInfo () const |
const MCAsmInfo * | getMCAsmInfo () const |
template<typename STC > | |
const STC & | getSubtarget () const |
virtual const TargetRegisterInfo * | getRegisterInfo () const |
virtual const TargetIntrinsicInfo * | getIntrinsicInfo () const |
virtual TargetJITInfo * | getJITInfo () |
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 |
virtual void | addAnalysisPasses (PassManagerBase &) |
Register analysis passes for this target with a pass manager. More... | |
virtual bool | addPassesToEmitMachineCode (PassManagerBase &, JITCodeEmitter &, bool=true) |
virtual bool | addPassesToEmitMC (PassManagerBase &, MCContext *&, raw_ostream &, bool=true) |
Definition at line 24 of file CPPTargetMachine.h.
|
inline |
Definition at line 25 of file CPPTargetMachine.h.
|
virtual |
addPassesToEmitFile - Add passes to the specified pass manager to get the specified file emitted. Typically this will involve several steps of code generation. This method should return true if emission of this file type is not supported, or false on success.
Reimplemented from llvm::TargetMachine.
Definition at line 2118 of file CPPBackend.cpp.
References llvm::TargetMachine::CGFT_AssemblyFile.
|
inlinevirtual |
Reimplemented from llvm::TargetMachine.
Definition at line 38 of file CPPTargetMachine.h.