LLVM API Documentation
#include <PPC32TargetMachine.h>
Inheritance diagram for llvm::PPC32TargetMachine:
Public Member Functions | |
PPC32TargetMachine (const Module &M, IntrinsicLowering *IL) | |
virtual const PPC32InstrInfo * | getInstrInfo () const |
virtual const MRegisterInfo * | getRegisterInfo () const |
virtual TargetJITInfo * | getJITInfo () |
bool | addPassesToEmitMachineCode (FunctionPassManager &PM, MachineCodeEmitter &MCE) |
Static Public Member Functions | |
static unsigned | getJITMatchQuality () |
static unsigned | getModuleMatchQuality (const Module &M) |
Definition at line 26 of file PPC32TargetMachine.h.
|
PowerPCTargetMachine ctor - Create an ILP32 architecture model Definition at line 143 of file PowerPCTargetMachine.cpp. |
|
addPassesToEmitMachineCode - Add passes to the specified pass manager to get machine code emitted. This uses a MachineCodeEmitter object to handle actually outputting the machine code and resolving things like the address of functions. This method should returns true if machine code emission is not supported. Reimplemented from llvm::TargetMachine. Definition at line 80 of file PPC32CodeEmitter.cpp. References llvm::FunctionPassManager::add(), and llvm::createMachineCodeDeleter(). |
|
Reimplemented from llvm::TargetMachine. Definition at line 32 of file PPC32TargetMachine.h. |
|
getJITInfo - If this target supports a JIT, return information for it, otherwise return null. Reimplemented from llvm::TargetMachine. Definition at line 37 of file PPC32TargetMachine.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 59 of file PowerPCTargetMachine.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 155 of file PowerPCTargetMachine.cpp. References llvm::Module::AnyEndianness, llvm::Module::AnyPointerSize, llvm::Module::BigEndian, llvm::Module::getEndianness(), getJITMatchQuality(), llvm::Module::getPointerSize(), and llvm::Module::Pointer32. |
|
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 33 of file PPC32TargetMachine.h. References llvm::PPC32InstrInfo::getRegisterInfo(). |