LLVM API Documentation

llvm::PPC64TargetMachine Class Reference

#include <PPCTargetMachine.h>

Inheritance diagram for llvm::PPC64TargetMachine:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

PPC64TargetMachine - PowerPC 64-bit target machine.

Definition at line 78 of file PPCTargetMachine.h.


Constructor & Destructor Documentation

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

Definition at line 105 of file PPCTargetMachine.cpp.


Member Function Documentation

unsigned PPC64TargetMachine::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 45 of file PPCTargetMachine.cpp.

Referenced by getModuleMatchQuality().

unsigned PPC64TargetMachine::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 69 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::Pointer64.


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