LLVM API Documentation
#include <PPCTargetMachine.h>
Inheritance diagram for llvm::PPC32TargetMachine:
Public Member Functions | |
PPC32TargetMachine (const Module &M, const std::string &FS) | |
Static Public Member Functions | |
static unsigned | getJITMatchQuality () |
static unsigned | getModuleMatchQuality (const Module &M) |
Definition at line 68 of file PPCTargetMachine.h.
PPC32TargetMachine::PPC32TargetMachine | ( | const Module & | M, | |
const std::string & | FS | |||
) |
Definition at line 100 of file PPCTargetMachine.cpp.
unsigned PPC32TargetMachine::getJITMatchQuality | ( | ) | [static] |
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 38 of file PPCTargetMachine.cpp.
Referenced by getModuleMatchQuality().
unsigned PPC32TargetMachine::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 53 of file PPCTargetMachine.cpp.
References llvm::Module::AnyEndianness, llvm::Module::AnyPointerSize, llvm::Module::BigEndian, llvm::Module::getEndianness(), getJITMatchQuality(), llvm::Module::getPointerSize(), llvm::Module::getTargetTriple(), M, and llvm::Module::Pointer32.