LLVM API Documentation

llvm::ARMTargetMachine Class Reference

#include <ARMTargetMachine.h>

Inheritance diagram for llvm::ARMTargetMachine:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ARMTargetMachine (const Module &M, const std::string &FS)
virtual const ARMInstrInfogetInstrInfo () const
virtual const TargetFrameInfogetFrameInfo () 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)

Detailed Description

Definition at line 28 of file ARMTargetMachine.h.


Constructor & Destructor Documentation

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

TargetMachine ctor - Create an ILP32 architecture model

Definition at line 34 of file ARMTargetMachine.cpp.


Member Function Documentation

virtual const ARMInstrInfo* llvm::ARMTargetMachine::getInstrInfo (  )  const [inline, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 35 of file ARMTargetMachine.h.

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

Reimplemented from llvm::TargetMachine.

Definition at line 36 of file ARMTargetMachine.h.

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

References llvm::ARMInstrInfo::getRegisterInfo().

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

Reimplemented from llvm::TargetMachine.

Definition at line 40 of file ARMTargetMachine.h.

unsigned ARMTargetMachine::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 39 of file ARMTargetMachine.cpp.

References llvm::Module::getPointerSize(), llvm::Module::getTargetTriple(), M, and llvm::Module::Pointer32.

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

addPassesToEmitFile - Add passes to the specified pass manager to implement a static compiler for this target.

Reimplemented from llvm::TargetMachine.

Definition at line 53 of file ARMTargetMachine.cpp.

References llvm::PassManager::add(), llvm::TargetMachine::AssemblyFile, llvm::createARMCodePrinterPass(), llvm::createARMISelDag(), llvm::createLoopStrengthReducePass(), llvm::createLowerGCPass(), llvm::createLowerInvokePass(), llvm::createMachineCodeDeleter(), llvm::createMachineFunctionPrinterPass(), llvm::createPrologEpilogCodeInserter(), llvm::createRegisterAllocator(), llvm::createUnreachableBlockEliminationPass(), and llvm::PrintMachineCode.


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