LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::PPC64TargetMachine Class Reference

#include <PPC64TargetMachine.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, IntrinsicLowering *IL)
virtual const PPC64InstrInfogetInstrInfo () const
virtual const MRegisterInfogetRegisterInfo () const
bool addPassesToEmitMachineCode (FunctionPassManager &PM, MachineCodeEmitter &MCE)

Static Public Member Functions

static unsigned getModuleMatchQuality (const Module &M)

Detailed Description

Definition at line 25 of file PPC64TargetMachine.h.


Constructor & Destructor Documentation

PPC64TargetMachine::PPC64TargetMachine const Module M,
IntrinsicLowering IL
 

PPC64TargetMachine ctor - Create a LP64 architecture model

Definition at line 150 of file PowerPCTargetMachine.cpp.


Member Function Documentation

bool PPC64TargetMachine::addPassesToEmitMachineCode FunctionPassManager PM,
MachineCodeEmitter MCE
[virtual]
 

addPassesToEmitMachineCode - Add passes to the specified pass manager to get machine code emitted. This uses a MachineCodeEmitter object to handle actually outputting the machine code and resolving things like the address of functions. This method should returns true if machine code emission is not supported.

Reimplemented from llvm::TargetMachine.

Definition at line 23 of file PPC64CodeEmitter.cpp.

virtual const PPC64InstrInfo* llvm::PPC64TargetMachine::getInstrInfo  )  const [inline, virtual]
 

Reimplemented from llvm::TargetMachine.

Definition at line 30 of file PPC64TargetMachine.h.

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 166 of file PowerPCTargetMachine.cpp.

References llvm::Module::AnyEndianness, llvm::Module::AnyPointerSize, llvm::Module::BigEndian, llvm::Module::getEndianness(), llvm::TargetMachine::getJITMatchQuality(), llvm::Module::getPointerSize(), and llvm::Module::Pointer64.

virtual const MRegisterInfo* llvm::PPC64TargetMachine::getRegisterInfo  )  const [inline, virtual]
 

getRegisterInfo - If register information is available, return it. If not, return null. This is kept separate from RegInfo until RegInfo has details of graph coloring register allocation removed from it.

Reimplemented from llvm::TargetMachine.

Definition at line 31 of file PPC64TargetMachine.h.

References llvm::PPC64InstrInfo::getRegisterInfo().


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