LLVM API Documentation
#include <CTargetMachine.h>
Public Member Functions | |
| CTargetMachine (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 22 of file CTargetMachine.h.
| llvm::CTargetMachine::CTargetMachine | ( | const Target & | T, | |
| const std::string & | TT, | |||
| const std::string & | FS | |||
| ) | [inline] |
Definition at line 23 of file CTargetMachine.h.
| virtual bool llvm::CTargetMachine::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 26 of file CTargetMachine.h.
| bool CTargetMachine::addPassesToEmitWholeFile | ( | PassManager & | PM, | |
| formatted_raw_ostream & | Out, | |||
| CodeGenFileType | FileType, | |||
| CodeGenOpt::Level | OptLevel | |||
| ) | [virtual] |
Reimplemented from llvm::TargetMachine.
Definition at line 3683 of file CBackend.cpp.
References llvm::PassManager::add(), llvm::TargetMachine::AssemblyFile, llvm::createCFGSimplificationPass(), llvm::createGCInfoDeleter(), llvm::createGCLoweringPass(), llvm::createLowerAllocationsPass(), and llvm::createLowerInvokePass().
| virtual const TargetData* llvm::CTargetMachine::getTargetData | ( | ) | const [inline, virtual] |