LLVM API Documentation

llvm::PIC16Section Struct Reference

#include <PIC16TargetObjectFile.h>

Collaboration diagram for llvm::PIC16Section:
[legend]

List of all members.

Public Member Functions

 PIC16Section (const MCSectionPIC16 *s)
bool isPrinted () const
void setPrintedStatus (bool status)

Public Attributes

const MCSectionPIC16 * S_
unsigned Size
bool SectionPrinted
std::vector< const
GlobalVariable * > 
Items


Detailed Description

PIC16 Splits the global data into mulitple udata and idata sections. Each udata and idata section needs to contain a list of globals that they contain, in order to avoid scanning over all the global values again and printing only those that match the current section. Keeping values inside the sections make printing a section much easier.

FIXME: MOVE ALL THIS STUFF TO MCSectionPIC16.

Definition at line 34 of file PIC16TargetObjectFile.h.


Constructor & Destructor Documentation

llvm::PIC16Section::PIC16Section ( const MCSectionPIC16 *  s  )  [inline]

Definition at line 40 of file PIC16TargetObjectFile.h.

References S_, SectionPrinted, and Size.


Member Function Documentation

bool llvm::PIC16Section::isPrinted (  )  const [inline]

Definition at line 45 of file PIC16TargetObjectFile.h.

References SectionPrinted.

void llvm::PIC16Section::setPrintedStatus ( bool  status  )  [inline]

Definition at line 46 of file PIC16TargetObjectFile.h.

References SectionPrinted.


Member Data Documentation

Definition at line 36 of file PIC16TargetObjectFile.h.

Referenced by PIC16Section().

Definition at line 37 of file PIC16TargetObjectFile.h.

Referenced by isPrinted(), PIC16Section(), and setPrintedStatus().


The documentation for this struct was generated from the following file: