LLVM API Documentation
#include <PIC16TargetMachine.h>
Public Member Functions | |
| PIC16TargetMachine (const Module &M, 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, bool Fast) |
| Target-Independent Code Generator Pass Configuration Options. | |
| virtual bool | addAssemblyEmitter (PassManagerBase &PM, bool Fast, raw_ostream &Out) |
Protected Member Functions | |
| virtual const TargetAsmInfo * | createTargetAsmInfo () const |
Definition at line 30 of file PIC16TargetMachine.h.
| PIC16TargetMachine::PIC16TargetMachine | ( | const Module & | M, | |
| const std::string & | FS, | |||
| bool | Cooper = false | |||
| ) |
Definition at line 41 of file PIC16TargetMachine.cpp.
| const TargetAsmInfo * PIC16TargetMachine::createTargetAsmInfo | ( | ) | const [protected, virtual] |
createTargetAsmInfo - Create a new instance of target specific asm information.
Reimplemented from llvm::TargetMachine.
Definition at line 54 of file PIC16TargetMachine.cpp.
| virtual const TargetFrameInfo* llvm::PIC16TargetMachine::getFrameInfo | ( | ) | const [inline, virtual] |
| virtual const PIC16InstrInfo* llvm::PIC16TargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
| virtual const TargetData* llvm::PIC16TargetMachine::getTargetData | ( | ) | const [inline, virtual] |
| 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 50 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 52 of file PIC16TargetMachine.h.
References llvm::PIC16InstrInfo::getRegisterInfo().
| virtual PIC16TargetLowering* llvm::PIC16TargetMachine::getTargetLowering | ( | ) | const [inline, virtual] |
| bool PIC16TargetMachine::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 58 of file PIC16TargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createPIC16ISelDag().
| bool PIC16TargetMachine::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 65 of file PIC16TargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createPIC16CodePrinterPass().