LLVM API Documentation
#include <AlphaTargetMachine.h>
Inheritance diagram for llvm::AlphaTargetMachine:


Public Member Functions | |
| AlphaTargetMachine (const Module &M, const std::string &FS) | |
| virtual const AlphaInstrInfo * | getInstrInfo () const |
| virtual const TargetFrameInfo * | getFrameInfo () const |
| virtual const AlphaSubtarget * | getSubtargetImpl () const |
| virtual const AlphaRegisterInfo * | getRegisterInfo () const |
| virtual AlphaTargetLowering * | getTargetLowering () const |
| virtual const TargetData * | getTargetData () const |
| virtual AlphaJITInfo * | getJITInfo () |
| virtual bool | addInstSelector (PassManagerBase &PM, bool Fast) |
| Target-Independent Code Generator Pass Configuration Options. | |
| virtual bool | addPreEmitPass (PassManagerBase &PM, bool Fast) |
| virtual bool | addAssemblyEmitter (PassManagerBase &PM, bool Fast, raw_ostream &Out) |
| virtual bool | addCodeEmitter (PassManagerBase &PM, bool Fast, bool DumpAsm, MachineCodeEmitter &MCE) |
| virtual bool | addSimpleCodeEmitter (PassManagerBase &PM, bool Fast, bool DumpAsm, MachineCodeEmitter &MCE) |
Static Public Member Functions | |
| unsigned | getJITMatchQuality () |
| unsigned | getModuleMatchQuality (const Module &M) |
Protected Member Functions | |
| virtual const TargetAsmInfo * | createTargetAsmInfo () const |
|
||||||||||||
|
Definition at line 58 of file AlphaTargetMachine.cpp. References llvm::TargetMachine::setRelocationModel(). |
|
||||||||||||||||
|
addAssemblyEmitter - This pass should be overridden by the target to add the asmprinter, if asm emission is supported. If this is not supported, 'true' should be returned. Reimplemented from llvm::LLVMTargetMachine. Definition at line 81 of file AlphaTargetMachine.cpp. References llvm::PassManagerBase::add(), llvm::createAlphaCodePrinterPass(), and llvm::createAlphaLLRPPass(). |
|
||||||||||||||||||||
|
addCodeEmitter - This pass should be overridden by the target to add a code emitter, if supported. If this is not supported, 'true' should be returned. If DumpAsm is true, the generated assembly is printed to cerr. Reimplemented from llvm::LLVMTargetMachine. Definition at line 87 of file AlphaTargetMachine.cpp. References llvm::PassManagerBase::add(), llvm::createAlphaCodeEmitterPass(), llvm::createAlphaCodePrinterPass(), and llvm::errs(). Referenced by addSimpleCodeEmitter(). |
|
||||||||||||
|
Target-Independent Code Generator Pass Configuration Options. addInstSelector - This method should add any "last minute" LLVM->LLVM passes, then install an instruction selector pass, which converts from LLVM code to machine instructions. Reimplemented from llvm::LLVMTargetMachine. Definition at line 72 of file AlphaTargetMachine.cpp. References llvm::PassManagerBase::add(), and llvm::createAlphaISelDag(). |
|
||||||||||||
|
addPreEmitPass - This pass may be implemented by targets that want to run passes immediately before machine code is emitted. This should return true if -print-machineinstrs should print out the code after the passes. Reimplemented from llvm::LLVMTargetMachine. Definition at line 76 of file AlphaTargetMachine.cpp. References llvm::PassManagerBase::add(), and llvm::createAlphaBranchSelectionPass(). |
|
||||||||||||||||||||
|
addSimpleCodeEmitter - This pass should be overridden by the target to add a code emitter (without setting flags), if supported. If this is not supported, 'true' should be returned. If DumpAsm is true, the generated assembly is printed to cerr. Reimplemented from llvm::LLVMTargetMachine. Definition at line 94 of file AlphaTargetMachine.cpp. References addCodeEmitter(). |
|
|
createTargetAsmInfo - Create a new instance of target specific asm information. Reimplemented from llvm::TargetMachine. Definition at line 27 of file AlphaTargetMachine.cpp. |
|
|
Reimplemented from llvm::TargetMachine. Definition at line 44 of file AlphaTargetMachine.h. |
|
|
Reimplemented from llvm::TargetMachine. Definition at line 43 of file AlphaTargetMachine.h. |
|
|
getJITInfo - If this target supports a JIT, return information for it, otherwise return null. Reimplemented from llvm::TargetMachine. Definition at line 53 of file AlphaTargetMachine.h. |
|
|
getJITMatchQuality - This static method should be implemented by targets that provide JIT capabilities to indicate how suitable they are for execution on the current host. If a value of 0 is returned, the target will not be used unless an explicit -march option is used. Reimplemented from llvm::TargetMachine. Definition at line 50 of file AlphaTargetMachine.cpp. Referenced by getModuleMatchQuality(). |
|
|
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 31 of file AlphaTargetMachine.cpp. References Module::getEndianness(), getJITMatchQuality(), Module::getPointerSize(), and Module::getTargetTriple(). |
|
|
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 46 of file AlphaTargetMachine.h. |
|
|
getSubtargetImpl - virtual method implemented by subclasses that returns a reference to that target's TargetSubtarget-derived member variable. Reimplemented from llvm::TargetMachine. Definition at line 45 of file AlphaTargetMachine.h. |
|
|
Reimplemented from llvm::TargetMachine. Definition at line 52 of file AlphaTargetMachine.h. |
|
|
Reimplemented from llvm::TargetMachine. Definition at line 49 of file AlphaTargetMachine.h. |