LLVM API Documentation
#include <PIC16.h>
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) |
Definition at line 48 of file PIC16.h.
| enum llvm::PAN::TAGS |
| static const char* llvm::PAN::getTagName | ( | TAGS | tag | ) | [inline, static] |
Definition at line 109 of file PIC16.h.
References ARGS_LABEL, AUTOS_LABEL, AUTOS_SECTION, CODE_SECTION, FRAME_LABEL, FRAME_SECTION, LIBCALL, PREFIX_SYMBOL, RET_LABEL, and TEMPS_LABEL.
Referenced by addPrefix(), getArgsLabel(), getAutosSectionName(), getCodeSectionName(), getFrameLabel(), getFrameSectionName(), getIdataSectionName(), getRetvalLabel(), getRomdataSectionName(), getSymbolTag(), getTempdataLabel(), getUdataSectionName(), and llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo().
| static TAGS llvm::PAN::getSymbolTag | ( | const std::string & | Sym | ) | [inline, static] |
Definition at line 126 of file PIC16.h.
References ARGS_LABEL, AUTOS_LABEL, FRAME_LABEL, getTagName(), GLOBAL, LIBCALL, PREFIX_SYMBOL, RET_LABEL, STATIC_LOCAL, and TEMPS_LABEL.
Referenced by getFuncNameForSym(), getSectionNameForSym(), and isLocalName().
| static std::string llvm::PAN::addPrefix | ( | const std::string & | Name | ) | [inline, static] |
Definition at line 159 of file PIC16.h.
References getTagName(), and PREFIX_SYMBOL.
Referenced by getArgsLabel(), getAutosSectionName(), getCodeSectionName(), getFrameLabel(), getFrameSectionName(), getFuncNameForSym(), getRetvalLabel(), getSectionNameForSym(), getTempdataLabel(), and isLocalToFunc().
| 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] |
Definition at line 195 of file PIC16.h.
References addPrefix(), ARGS_LABEL, and getTagName().
Referenced by llvm::PIC16TargetLowering::LowerCall(), and llvm::PIC16TargetLowering::LowerFormalArguments().
| static std::string llvm::PAN::getTempdataLabel | ( | const std::string & | Func | ) | [inline, static] |
Definition at line 201 of file PIC16.h.
References addPrefix(), getTagName(), and TEMPS_LABEL.
Referenced by llvm::PIC16InstrInfo::loadRegFromStackSlot(), and llvm::PIC16InstrInfo::storeRegToStackSlot().
| static std::string llvm::PAN::getFrameSectionName | ( | const std::string & | Func | ) | [inline, static] |
Definition at line 207 of file PIC16.h.
References addPrefix(), FRAME_SECTION, and getTagName().
Referenced by llvm::PIC16TargetObjectFile::getSectionForFunctionFrame(), and getSectionNameForSym().
| 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] |
| static std::string llvm::PAN::getRomdataSectionName | ( | unsigned | num, | |
| std::string | prefix = "" | |||
| ) | [inline, static] |
| static std::string llvm::PAN::getIdataSectionName | ( | unsigned | num, | |
| std::string | prefix = "" | |||
| ) | [inline, static] |
| 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] |
| 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] |
Definition at line 284 of file PIC16.h.
References addPrefix(), ARGS_LABEL, AUTOS_LABEL, FRAME_LABEL, getAutosSectionName(), getFrameSectionName(), getFuncNameForSym(), getSymbolTag(), RET_LABEL, and TEMPS_LABEL.