LLVM API Documentation

llvm::IA64TargetMachine Class Reference

#include <IA64TargetMachine.h>

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

List of all members.

Public Member Functions

 IA64TargetMachine (const Module &M, const std::string &FS)
virtual const IA64InstrInfo * getInstrInfo () const
virtual const TargetFrameInfo * getFrameInfo () const
virtual const IA64Subtarget * getSubtargetImpl () const
virtual IA64TargetLowering * getTargetLowering () const
virtual const IA64RegisterInfo * getRegisterInfo () const
virtual const TargetData * getTargetData () const
virtual bool addInstSelector (PassManagerBase &PM, bool Fast)
 Target-Independent Code Generator Pass Configuration Options.
virtual bool addPreEmitPass (PassManagerBase &PM, bool Fast)
virtual bool addAssemblyEmitter (PassManagerBase &PM, bool Fast, raw_ostream &Out)

Static Public Member Functions

static unsigned getModuleMatchQuality (const Module &M)

Protected Member Functions

virtual const TargetAsmInfo * createTargetAsmInfo () const


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 64 of file IA64TargetMachine.cpp.


Member Function Documentation

const TargetAsmInfo * IA64TargetMachine::createTargetAsmInfo (  )  const [protected, virtual]

createTargetAsmInfo - Create a new instance of target specific asm information.

Reimplemented from llvm::TargetMachine.

Definition at line 32 of file IA64TargetMachine.cpp.

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

Reimplemented from llvm::TargetMachine.

Definition at line 40 of file IA64TargetMachine.h.

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

Reimplemented from llvm::TargetMachine.

Definition at line 41 of file IA64TargetMachine.h.

virtual const IA64Subtarget* llvm::IA64TargetMachine::getSubtargetImpl (  )  const [inline, virtual]

getSubtargetImpl - virtual method implemented by subclasses that returns a reference to that target's TargetSubtarget-derived member variable.

Reimplemented from llvm::TargetMachine.

Definition at line 42 of file IA64TargetMachine.h.

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

Reimplemented from llvm::TargetMachine.

Definition at line 43 of file IA64TargetMachine.h.

virtual const IA64RegisterInfo* 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 46 of file IA64TargetMachine.h.

References llvm::IA64InstrInfo::getRegisterInfo().

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

Reimplemented from llvm::TargetMachine.

Definition at line 49 of file IA64TargetMachine.h.

unsigned IA64TargetMachine::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::TargetMachine.

Definition at line 36 of file IA64TargetMachine.cpp.

References llvm::Module::getTargetTriple().

bool IA64TargetMachine::addInstSelector ( PassManagerBase &  ,
bool   
) [virtual]

Target-Independent Code Generator Pass Configuration Options.

addInstSelector - This method should add any "last minute" LLVM->LLVM passes, then install an instruction selector pass, which converts from LLVM code to machine instructions.

Reimplemented from llvm::LLVMTargetMachine.

Definition at line 75 of file IA64TargetMachine.cpp.

References llvm::PassManagerBase::add(), and llvm::createIA64DAGToDAGInstructionSelector().

bool IA64TargetMachine::addPreEmitPass ( PassManagerBase &  ,
bool   
) [virtual]

addPreEmitPass - This pass may be implemented by targets that want to run passes immediately before machine code is emitted. This should return true if -print-machineinstrs should print out the code after the passes.

Reimplemented from llvm::LLVMTargetMachine.

Definition at line 80 of file IA64TargetMachine.cpp.

References llvm::PassManagerBase::add(), and llvm::createIA64BundlingPass().

bool IA64TargetMachine::addAssemblyEmitter ( PassManagerBase &  ,
bool  ,
raw_ostream &   
) [virtual]

addAssemblyEmitter - This pass should be overridden by the target to add the asmprinter, if asm emission is supported. If this is not supported, 'true' should be returned.

Reimplemented from llvm::LLVMTargetMachine.

Definition at line 85 of file IA64TargetMachine.cpp.

References llvm::PassManagerBase::add(), and llvm::createIA64CodePrinterPass().


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