LLVM API Documentation

llvm::IA64TargetMachine Class Reference

#include <IA64TargetMachine.h>

Inheritance diagram for llvm::IA64TargetMachine:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IA64TargetMachine (const Module &M, const std::string &FS)
virtual const IA64InstrInfogetInstrInfo () const
virtual const TargetFrameInfogetFrameInfo () const
virtual IA64TargetLoweringgetTargetLowering () const
virtual const MRegisterInfogetRegisterInfo () const
virtual const TargetDatagetTargetData () const
virtual bool addPassesToEmitFile (PassManager &PM, std::ostream &Out, CodeGenFileType FileType, bool Fast)

Static Public Member Functions

static unsigned getModuleMatchQuality (const Module &M)
static unsigned compileTimeMatchQuality (void)

Detailed Description

Definition at line 26 of file IA64TargetMachine.h.


Constructor & Destructor Documentation

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

IA64TargetMachine ctor - Create an LP64 architecture model

Definition at line 78 of file IA64TargetMachine.cpp.


Member Function Documentation

virtual const IA64InstrInfo* llvm::IA64TargetMachine::getInstrInfo (  )  const [inline, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 35 of file IA64TargetMachine.h.

virtual const TargetFrameInfo* llvm::IA64TargetMachine::getFrameInfo (  )  const [inline, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 36 of file IA64TargetMachine.h.

virtual IA64TargetLowering* llvm::IA64TargetMachine::getTargetLowering (  )  const [inline, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 37 of file IA64TargetMachine.h.

virtual const MRegisterInfo* llvm::IA64TargetMachine::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 40 of file IA64TargetMachine.h.

References llvm::IA64InstrInfo::getRegisterInfo().

virtual const TargetData* llvm::IA64TargetMachine::getTargetData (  )  const [inline, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 43 of file IA64TargetMachine.h.

bool IA64TargetMachine::addPassesToEmitFile ( PassManager PM,
std::ostream &  Out,
CodeGenFileType  FileType,
bool  Fast 
) [virtual]

addPassesToEmitFile - Add passes to the specified pass manager to get the specified file emitted. Typically this will involve several steps of code generation. If Fast is set to true, the code generator should emit code as fast as possible, without regard for compile time. This method should return true if emission of this file type is not supported.

Reimplemented from llvm::TargetMachine.

Definition at line 86 of file IA64TargetMachine.cpp.

References llvm::PassManager::add(), llvm::TargetMachine::AssemblyFile, llvm::createIA64BundlingPass(), llvm::createIA64CodePrinterPass(), llvm::createIA64DAGToDAGInstructionSelector(), llvm::createLowerGCPass(), llvm::createLowerInvokePass(), llvm::createMachineCodeDeleter(), llvm::createMachineFunctionPrinterPass(), llvm::createPrologEpilogCodeInserter(), llvm::createRegisterAllocator(), llvm::createUnreachableBlockEliminationPass(), DisableOutput, and llvm::PrintMachineCode.

unsigned IA64TargetMachine::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 55 of file IA64TargetMachine.cpp.

References compileTimeMatchQuality(), llvm::Module::getTargetTriple(), and M.

unsigned IA64TargetMachine::compileTimeMatchQuality ( void   )  [static]

Definition at line 47 of file IA64TargetMachine.cpp.

Referenced by getModuleMatchQuality().


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