LLVM API Documentation
#include <PIC16AsmPrinter.h>
Public Member Functions | |
| PIC16AsmPrinter (formatted_raw_ostream &O, TargetMachine &TM, const TargetAsmInfo *T, bool V) | |
Protected Member Functions | |
| bool | doInitialization (Module &M) |
| bool | doFinalization (Module &M) |
| virtual void | PrintGlobalVariable (const GlobalVariable *GV) |
Definition at line 32 of file PIC16AsmPrinter.h.
| PIC16AsmPrinter::PIC16AsmPrinter | ( | formatted_raw_ostream & | O, | |
| TargetMachine & | TM, | |||
| const TargetAsmInfo * | T, | |||
| bool | V | |||
| ) | [explicit] |
Definition at line 36 of file PIC16AsmPrinter.cpp.
References llvm::TargetLowering::getObjFileLowering(), and llvm::TargetMachine::getTargetLowering().
doInitialization - Perfrom Module level initializations here. One task that we do here is to sectionize all global variables. The MemSelOptimizer pass depends on the sectionizing.
Reimplemented from llvm::AsmPrinter.
Definition at line 220 of file PIC16AsmPrinter.cpp.
References llvm::PIC16DbgInfo::BeginModule(), llvm::AsmPrinter::doInitialization(), E, llvm::Intrinsic::getName(), llvm::Module::global_begin(), llvm::Module::global_end(), llvm::AsmPrinter::Mang, llvm::AsmPrinter::O, S, llvm::TargetLoweringObjectFile::SectionForGlobal(), and llvm::AsmPrinter::TM.
doFinalization - Shut down the asmprinter. If you override this in your pass, you must make sure to call it explicitly.
Reimplemented from llvm::AsmPrinter.
Definition at line 328 of file PIC16AsmPrinter.cpp.
References llvm::AsmPrinter::doFinalization(), llvm::PIC16DbgInfo::EndModule(), and llvm::AsmPrinter::O.
| virtual void llvm::PIC16AsmPrinter::PrintGlobalVariable | ( | const GlobalVariable * | GV | ) | [inline, protected, virtual] |
PrintGlobalVariable - Emit the specified global variable and its initializer to the output stream.
Implements llvm::AsmPrinter.
Definition at line 66 of file PIC16AsmPrinter.h.