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) | |
const CPPSubtarget * | getSubtargetImpl () const override |
bool | addPassesToEmitFile (PassManagerBase &PM, formatted_raw_ostream &Out, CodeGenFileType FileType, bool DisableVerify, AnalysisID StartAfter, AnalysisID StopAfter) override |
Definition at line 28 of file CPPTargetMachine.h.
llvm::CPPTargetMachine::CPPTargetMachine | ( | const Target & | T, |
StringRef | TT, | ||
StringRef | CPU, | ||
StringRef | FS, | ||
const TargetOptions & | Options, | ||
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) | [inline] |
Definition at line 29 of file CPPTargetMachine.h.
bool CPPTargetMachine::addPassesToEmitFile | ( | PassManagerBase & | , |
formatted_raw_ostream & | , | ||
CodeGenFileType | , | ||
bool | , | ||
AnalysisID | , | ||
AnalysisID | |||
) | [override, 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 2148 of file CPPBackend.cpp.
References llvm::TargetMachine::CGFT_AssemblyFile.
const CPPSubtarget* llvm::CPPTargetMachine::getSubtargetImpl | ( | ) | const [inline, override, virtual] |
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 38 of file CPPTargetMachine.h.