LLVM API Documentation

llvm::PIC16TargetObjectFile Class Reference

#include <PIC16TargetObjectFile.h>

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

List of all members.

Public Member Functions

 PIC16TargetObjectFile ()
 ~PIC16TargetObjectFile ()
void Initialize (MCContext &Ctx, const TargetMachine &TM)
virtual const MCSection * getExplicitSectionGlobal (const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine &TM) const
virtual const MCSection * SelectSectionForGlobal (const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine &) const
const MCSection * getSectionForFunction (const std::string &FnName) const
const MCSection * getSectionForFunctionFrame (const std::string &FnName) const
void SetSectionForGVs (Module &M)
const std::vector
< PIC16Section * > & 
getBSSSections () const
const std::vector
< PIC16Section * > & 
getIDATASections () const
const std::vector
< PIC16Section * > & 
getAutosSections () const
const std::vector
< PIC16Section * > & 
getROSections () const

Public Attributes

std::vector< PIC16Section * > BSSSections
std::vector< PIC16Section * > IDATASections
std::vector< PIC16Section * > AutosSections
std::vector< PIC16Section * > ROSections
PIC16Section * ExternalVarDecls
PIC16Section * ExternalVarDefs


Detailed Description

Definition at line 49 of file PIC16TargetObjectFile.h.


Constructor & Destructor Documentation

PIC16TargetObjectFile::PIC16TargetObjectFile (  ) 

Definition at line 36 of file PIC16TargetObjectFile.cpp.

PIC16TargetObjectFile::~PIC16TargetObjectFile (  ) 


Member Function Documentation

void PIC16TargetObjectFile::Initialize ( MCContext &  ctx,
const TargetMachine &  TM 
) [virtual]

const MCSection * PIC16TargetObjectFile::getExplicitSectionGlobal ( const GlobalValue *  GV,
SectionKind  Kind,
Mangler *  Mang,
const TargetMachine &  TM 
) const [virtual]

getSpecialCasedSectionGlobals - Allow the target to completely override section assignment of a global.

Implements llvm::TargetLoweringObjectFile.

Definition at line 265 of file PIC16TargetObjectFile.cpp.

References llvm::GlobalValue::getSection(), and llvm::GlobalValue::hasSection().

const MCSection * PIC16TargetObjectFile::SelectSectionForGlobal ( const GlobalValue *  GV,
SectionKind  Kind,
Mangler *  Mang,
const TargetMachine &  TM 
) const [virtual]

const MCSection * PIC16TargetObjectFile::getSectionForFunction ( const std::string &  FnName  )  const

const MCSection * PIC16TargetObjectFile::getSectionForFunctionFrame ( const std::string &  FnName  )  const

void llvm::PIC16TargetObjectFile::SetSectionForGVs ( Module &  M  ) 

const std::vector<PIC16Section*>& llvm::PIC16TargetObjectFile::getBSSSections (  )  const [inline]

Definition at line 102 of file PIC16TargetObjectFile.h.

References BSSSections.

const std::vector<PIC16Section*>& llvm::PIC16TargetObjectFile::getIDATASections (  )  const [inline]

Definition at line 105 of file PIC16TargetObjectFile.h.

References IDATASections.

const std::vector<PIC16Section*>& llvm::PIC16TargetObjectFile::getAutosSections (  )  const [inline]

Definition at line 108 of file PIC16TargetObjectFile.h.

References AutosSections.

const std::vector<PIC16Section*>& llvm::PIC16TargetObjectFile::getROSections (  )  const [inline]

Definition at line 111 of file PIC16TargetObjectFile.h.

References ROSections.


Member Data Documentation

Definition at line 58 of file PIC16TargetObjectFile.h.

Referenced by getBSSSections(), and ~PIC16TargetObjectFile().

Definition at line 59 of file PIC16TargetObjectFile.h.

Referenced by getIDATASections(), and ~PIC16TargetObjectFile().

Definition at line 60 of file PIC16TargetObjectFile.h.

Referenced by getAutosSections(), and ~PIC16TargetObjectFile().

Definition at line 61 of file PIC16TargetObjectFile.h.

Referenced by getROSections(), Initialize(), and ~PIC16TargetObjectFile().


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