LLVM API Documentation

llvm::PIC16TargetMachine Class Reference

#include <PIC16TargetMachine.h>

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

List of all members.

Public Member Functions

 PIC16TargetMachine (const Target &T, const std::string &TT, const std::string &FS, bool Cooper=false)
virtual const TargetFrameInfo * getFrameInfo () const
virtual const PIC16InstrInfo * getInstrInfo () const
virtual const TargetData * getTargetData () const
virtual const PIC16Subtarget * getSubtargetImpl () const
virtual const PIC16RegisterInfo * getRegisterInfo () const
virtual PIC16TargetLowering * getTargetLowering () const
virtual bool addInstSelector (PassManagerBase &PM, CodeGenOpt::Level OptLevel)
 Target-Independent Code Generator Pass Configuration Options.
virtual bool addPreEmitPass (PassManagerBase &PM, CodeGenOpt::Level OptLevel)


Detailed Description

PIC16TargetMachine

Definition at line 30 of file PIC16TargetMachine.h.


Constructor & Destructor Documentation

PIC16TargetMachine::PIC16TargetMachine ( const Target &  T,
const std::string &  TT,
const std::string &  FS,
bool  Cooper = false 
)

Definition at line 33 of file PIC16TargetMachine.cpp.


Member Function Documentation

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

Reimplemented from llvm::TargetMachine.

Definition at line 44 of file PIC16TargetMachine.h.

virtual const PIC16InstrInfo* llvm::PIC16TargetMachine::getInstrInfo (  )  const [inline, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 45 of file PIC16TargetMachine.h.

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

Reimplemented from llvm::TargetMachine.

Definition at line 46 of file PIC16TargetMachine.h.

virtual const PIC16Subtarget* llvm::PIC16TargetMachine::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 47 of file PIC16TargetMachine.h.

virtual const PIC16RegisterInfo* llvm::PIC16TargetMachine::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 49 of file PIC16TargetMachine.h.

References llvm::PIC16InstrInfo::getRegisterInfo().

virtual PIC16TargetLowering* llvm::PIC16TargetMachine::getTargetLowering (  )  const [inline, virtual]

bool PIC16TargetMachine::addInstSelector ( PassManagerBase &  ,
CodeGenOpt::Level   
) [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 42 of file PIC16TargetMachine.cpp.

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

bool PIC16TargetMachine::addPreEmitPass ( PassManagerBase &  ,
CodeGenOpt::Level   
) [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 49 of file PIC16TargetMachine.cpp.

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


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