LLVM API Documentation
#include "PPCInstPrinter.h"
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "MCTargetDesc/PPCPredicates.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetOpcodes.h"
#include "PPCGenAsmWriter.inc"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "asm-printer" |
Functions | |
static const char * | stripRegisterPrefix (const char *RegName) |
Variables | |
static cl::opt< bool > | FullRegNames ("ppc-asm-full-reg-names", cl::Hidden, cl::init(false), cl::desc("Use full register names when printing assembly")) |
#define DEBUG_TYPE "asm-printer" |
Definition at line 26 of file PPCInstPrinter.cpp.
static const char* stripRegisterPrefix | ( | const char * | RegName | ) | [static] |
stripRegisterPrefix - This method strips the character prefix from a register name so that only the number is left. Used by for linux asm.
Definition at line 334 of file PPCInstPrinter.cpp.
References FullRegNames.
Referenced by llvm::PPCInstPrinter::printOperand().
cl::opt<bool> FullRegNames("ppc-asm-full-reg-names", cl::Hidden, cl::init(false), cl::desc("Use full register names when printing assembly")) [static] |
Referenced by stripRegisterPrefix().