LLVM API Documentation

llvm::PPC32TargetMachine Class Reference

#include <PPCTargetMachine.h>

Inheritance diagram for llvm::PPC32TargetMachine:

Inheritance graph
[legend]
Collaboration diagram for llvm::PPC32TargetMachine:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Static Public Member Functions

static unsigned getJITMatchQuality ()
static unsigned getModuleMatchQuality (const Module &M)

Detailed Description

PPC32TargetMachine - PowerPC 32-bit target machine.

Definition at line 68 of file PPCTargetMachine.h.


Constructor & Destructor Documentation

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

Definition at line 100 of file PPCTargetMachine.cpp.


Member Function Documentation

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.


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