LLVM API Documentation
#include <X86TargetMachine.h>
Public Member Functions | |
| X86_32TargetMachine (const Module &M, const std::string &FS) | |
Static Public Member Functions | |
| static unsigned | getJITMatchQuality () |
| static unsigned | getModuleMatchQuality (const Module &M) |
Definition at line 95 of file X86TargetMachine.h.
| X86_32TargetMachine::X86_32TargetMachine | ( | const Module & | M, | |
| const std::string & | FS | |||
| ) |
Definition at line 119 of file X86TargetMachine.cpp.
| unsigned X86_32TargetMachine::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::X86TargetMachine.
Definition at line 61 of file X86TargetMachine.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::X86TargetMachine.
Definition at line 75 of file X86TargetMachine.cpp.
References llvm::Module::AnyEndianness, llvm::Module::AnyPointerSize, llvm::Module::getEndianness(), getJITMatchQuality(), llvm::Module::getPointerSize(), llvm::Module::getTargetTriple(), llvm::Module::LittleEndian, and llvm::Module::Pointer32.