LLVM API Documentation

llvm::X86_32TargetMachine Class Reference

#include <X86TargetMachine.h>

Inheritance diagram for llvm::X86_32TargetMachine:
[legend]
Collaboration diagram for llvm::X86_32TargetMachine:
[legend]

List of all members.

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)


Detailed Description

X86_32TargetMachine - X86 32-bit target machine.

Definition at line 95 of file X86TargetMachine.h.


Constructor & Destructor Documentation

X86_32TargetMachine::X86_32TargetMachine ( const Module &  M,
const std::string &  FS 
)

Definition at line 119 of file X86TargetMachine.cpp.


Member Function Documentation

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().

unsigned X86_32TargetMachine::getModuleMatchQuality ( const Module &   )  [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::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.


The documentation for this class was generated from the following files: