LLVM API Documentation
#include <ARMTargetMachine.h>
Inheritance diagram for llvm::ARMTargetMachine:
Public Member Functions | |
ARMTargetMachine (const Module &M, const std::string &FS) | |
virtual const ARMInstrInfo * | getInstrInfo () const |
virtual const TargetFrameInfo * | getFrameInfo () const |
virtual const MRegisterInfo * | getRegisterInfo () const |
virtual const TargetData * | getTargetData () const |
virtual bool | addPassesToEmitFile (PassManager &PM, std::ostream &Out, CodeGenFileType FileType, bool Fast) |
Static Public Member Functions | |
static unsigned | getModuleMatchQuality (const Module &M) |
Definition at line 28 of file ARMTargetMachine.h.
ARMTargetMachine::ARMTargetMachine | ( | const Module & | M, | |
const std::string & | FS | |||
) |
TargetMachine ctor - Create an ILP32 architecture model
Definition at line 34 of file ARMTargetMachine.cpp.
virtual const ARMInstrInfo* llvm::ARMTargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
virtual const TargetFrameInfo* llvm::ARMTargetMachine::getFrameInfo | ( | ) | const [inline, virtual] |
virtual const MRegisterInfo* llvm::ARMTargetMachine::getRegisterInfo | ( | ) | const [inline, virtual] |
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 37 of file ARMTargetMachine.h.
References llvm::ARMInstrInfo::getRegisterInfo().
virtual const TargetData* llvm::ARMTargetMachine::getTargetData | ( | ) | const [inline, virtual] |
unsigned ARMTargetMachine::getModuleMatchQuality | ( | const Module & | M | ) | [static] |
getModuleMatchQuality - This static method should be implemented by targets to indicate how closely they match the specified module. This is used by the LLC tool to determine which target to use when an explicit -march option is not specified. If a target returns zero, it will never be chosen without an explicit -march option.
Reimplemented from llvm::TargetMachine.
Definition at line 39 of file ARMTargetMachine.cpp.
References llvm::Module::getPointerSize(), llvm::Module::getTargetTriple(), M, and llvm::Module::Pointer32.
bool ARMTargetMachine::addPassesToEmitFile | ( | PassManager & | PM, | |
std::ostream & | Out, | |||
CodeGenFileType | FileType, | |||
bool | Fast | |||
) | [virtual] |
addPassesToEmitFile - Add passes to the specified pass manager to implement a static compiler for this target.
Reimplemented from llvm::TargetMachine.
Definition at line 53 of file ARMTargetMachine.cpp.
References llvm::PassManager::add(), llvm::TargetMachine::AssemblyFile, llvm::createARMCodePrinterPass(), llvm::createARMISelDag(), llvm::createLoopStrengthReducePass(), llvm::createLowerGCPass(), llvm::createLowerInvokePass(), llvm::createMachineCodeDeleter(), llvm::createMachineFunctionPrinterPass(), llvm::createPrologEpilogCodeInserter(), llvm::createRegisterAllocator(), llvm::createUnreachableBlockEliminationPass(), and llvm::PrintMachineCode.