LLVM API Documentation

llvm::PIC16AsmPrinter Class Reference

#include <PIC16AsmPrinter.h>

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

List of all members.

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)


Detailed Description

Definition at line 32 of file PIC16AsmPrinter.h.


Constructor & Destructor Documentation

PIC16AsmPrinter::PIC16AsmPrinter ( formatted_raw_ostream &  O,
TargetMachine &  TM,
const TargetAsmInfo *  T,
bool  V 
) [explicit]


Member Function Documentation

bool PIC16AsmPrinter::doInitialization ( Module &  M  )  [protected, virtual]

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.

bool PIC16AsmPrinter::doFinalization ( Module &  M  )  [protected, virtual]

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.


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