LLVM API Documentation

llvm::PAN Class Reference

#include <PIC16.h>

List of all members.

Public Types

enum  TAGS {
  PREFIX_SYMBOL, GLOBAL, STATIC_LOCAL, AUTOS_LABEL,
  FRAME_LABEL, RET_LABEL, ARGS_LABEL, TEMPS_LABEL,
  LIBCALL, FRAME_SECTION, AUTOS_SECTION, CODE_SECTION
}

Static Public Member Functions

static const char * getTagName (TAGS tag)
static TAGS getSymbolTag (const std::string &Sym)
static std::string addPrefix (const std::string &Name)
static std::string getFuncNameForSym (const std::string &Sym1)
static std::string getFrameLabel (const std::string &Func)
static std::string getRetvalLabel (const std::string &Func)
static std::string getArgsLabel (const std::string &Func)
static std::string getTempdataLabel (const std::string &Func)
static std::string getFrameSectionName (const std::string &Func)
static std::string getAutosSectionName (const std::string &Func)
static std::string getCodeSectionName (const std::string &Func)
static std::string getUdataSectionName (unsigned num, std::string prefix="")
static std::string getRomdataSectionName (unsigned num, std::string prefix="")
static std::string getIdataSectionName (unsigned num, std::string prefix="")
static bool isLocalName (const std::string &Name)
static bool isMemIntrinsic (const std::string &Name)
static bool isLocalToFunc (std::string &Func, std::string &Var)
static std::string getSectionNameForSym (const std::string &Sym1)


Detailed Description

Definition at line 48 of file PIC16.h.


Member Enumeration Documentation

Enumerator:
PREFIX_SYMBOL 
GLOBAL 
STATIC_LOCAL 
AUTOS_LABEL 
FRAME_LABEL 
RET_LABEL 
ARGS_LABEL 
TEMPS_LABEL 
LIBCALL 
FRAME_SECTION 
AUTOS_SECTION 
CODE_SECTION 

Definition at line 91 of file PIC16.h.


Member Function Documentation

static const char* llvm::PAN::getTagName ( TAGS  tag  )  [inline, static]

static TAGS llvm::PAN::getSymbolTag ( const std::string &  Sym  )  [inline, static]

static std::string llvm::PAN::addPrefix ( const std::string &  Name  )  [inline, static]

static std::string llvm::PAN::getFuncNameForSym ( const std::string &  Sym1  )  [inline, static]

Definition at line 171 of file PIC16.h.

References addPrefix(), getSymbolTag(), and GLOBAL.

Referenced by getSectionNameForSym(), and isLocalToFunc().

static std::string llvm::PAN::getFrameLabel ( const std::string &  Func  )  [inline, static]

Definition at line 183 of file PIC16.h.

References addPrefix(), FRAME_LABEL, and getTagName().

Referenced by llvm::PIC16TargetLowering::LowerReturn().

static std::string llvm::PAN::getRetvalLabel ( const std::string &  Func  )  [inline, static]

Definition at line 189 of file PIC16.h.

References addPrefix(), getTagName(), and RET_LABEL.

Referenced by llvm::PIC16TargetLowering::LowerCall().

static std::string llvm::PAN::getArgsLabel ( const std::string &  Func  )  [inline, static]

static std::string llvm::PAN::getTempdataLabel ( const std::string &  Func  )  [inline, static]

static std::string llvm::PAN::getFrameSectionName ( const std::string &  Func  )  [inline, static]

static std::string llvm::PAN::getAutosSectionName ( const std::string &  Func  )  [inline, static]

Definition at line 213 of file PIC16.h.

References addPrefix(), AUTOS_SECTION, and getTagName().

Referenced by getSectionNameForSym().

static std::string llvm::PAN::getCodeSectionName ( const std::string &  Func  )  [inline, static]

Definition at line 219 of file PIC16.h.

References addPrefix(), CODE_SECTION, and getTagName().

Referenced by llvm::PIC16TargetObjectFile::getSectionForFunction().

static std::string llvm::PAN::getUdataSectionName ( unsigned  num,
std::string  prefix = "" 
) [inline, static]

Definition at line 227 of file PIC16.h.

References getTagName(), and PREFIX_SYMBOL.

static std::string llvm::PAN::getRomdataSectionName ( unsigned  num,
std::string  prefix = "" 
) [inline, static]

Definition at line 235 of file PIC16.h.

References getTagName(), and PREFIX_SYMBOL.

static std::string llvm::PAN::getIdataSectionName ( unsigned  num,
std::string  prefix = "" 
) [inline, static]

Definition at line 243 of file PIC16.h.

References getTagName(), and PREFIX_SYMBOL.

static bool llvm::PAN::isLocalName ( const std::string &  Name  )  [inline, static]

Definition at line 251 of file PIC16.h.

References AUTOS_LABEL, and getSymbolTag().

Referenced by isLocalToFunc(), and llvm::PIC16TargetObjectFile::SelectSectionForGlobal().

static bool llvm::PAN::isMemIntrinsic ( const std::string &  Name  )  [inline, static]

Definition at line 258 of file PIC16.h.

static bool llvm::PAN::isLocalToFunc ( std::string &  Func,
std::string &  Var 
) [inline, static]

Definition at line 267 of file PIC16.h.

References addPrefix(), getFuncNameForSym(), and isLocalName().

static std::string llvm::PAN::getSectionNameForSym ( const std::string &  Sym1  )  [inline, static]


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