LLVM API Documentation
#include <CPPTargetMachine.h>
Public Member Functions | |
| CPPTargetMachine (const Target &T, const std::string &TT, const std::string &FS) | |
| virtual bool | WantsWholeFile () const |
| virtual bool | addPassesToEmitWholeFile (PassManager &PM, formatted_raw_ostream &Out, CodeGenFileType FileType, CodeGenOpt::Level OptLevel) |
| virtual const TargetData * | getTargetData () const |
Definition at line 24 of file CPPTargetMachine.h.
| llvm::CPPTargetMachine::CPPTargetMachine | ( | const Target & | T, | |
| const std::string & | TT, | |||
| const std::string & | FS | |||
| ) | [inline] |
Definition at line 25 of file CPPTargetMachine.h.
| virtual bool llvm::CPPTargetMachine::WantsWholeFile | ( | ) | const [inline, virtual] |
addPassesToEmitWholeFile - This method can be implemented by targets that require having the entire module at once. This is not recommended, do not use this.
Reimplemented from llvm::TargetMachine.
Definition at line 29 of file CPPTargetMachine.h.
| bool CPPTargetMachine::addPassesToEmitWholeFile | ( | PassManager & | PM, | |
| formatted_raw_ostream & | Out, | |||
| CodeGenFileType | FileType, | |||
| CodeGenOpt::Level | OptLevel | |||
| ) | [virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 2021 of file CPPBackend.cpp.
References llvm::PassManager::add(), and llvm::TargetMachine::AssemblyFile.
| virtual const TargetData* llvm::CPPTargetMachine::getTargetData | ( | ) | const [inline, virtual] |