LLVM  7.0.0
Macros | Functions | Variables
PPCInstPrinter.cpp File Reference
#include "PPCInstPrinter.h"
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "MCTargetDesc/PPCPredicates.h"
#include "PPCInstrInfo.h"
#include "llvm/CodeGen/TargetOpcodes.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include "PPCGenAsmWriter.inc"
Include dependency graph for PPCInstPrinter.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "asm-printer"
 
#define PRINT_ALIAS_INSTR
 

Functions

static const char * stripRegisterPrefix (const char *RegName)
 stripRegisterPrefix - This method strips the character prefix from a register name so that only the number is left. More...
 

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"))
 
static cl::opt< bool > ShowVSRNumsAsVR ("ppc-vsr-nums-as-vr", cl::Hidden, cl::init(false), cl::desc("Prints full register names with vs{31-63} as v{0-31}"))
 
static cl::opt< bool > FullRegNamesWithPercent ("ppc-reg-with-percent-prefix", cl::Hidden, cl::init(false), cl::desc("Prints full register names with percent"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "asm-printer"

Definition at line 29 of file PPCInstPrinter.cpp.

◆ PRINT_ALIAS_INSTR

#define PRINT_ALIAS_INSTR

Definition at line 48 of file PPCInstPrinter.cpp.

Function Documentation

◆ stripRegisterPrefix()

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.

Definition at line 504 of file PPCInstPrinter.cpp.

Referenced by llvm::PPCInstPrinter::printOperand().

Variable Documentation

◆ FullRegNames

cl::opt<bool> FullRegNames("ppc-asm-full-reg-names", cl::Hidden, cl::init(false), cl::desc("Use full register names when printing assembly"))
static

◆ FullRegNamesWithPercent

cl::opt<bool> FullRegNamesWithPercent("ppc-reg-with-percent-prefix", cl::Hidden, cl::init(false), cl::desc("Prints full register names with percent"))
static

◆ ShowVSRNumsAsVR

cl::opt<bool> ShowVSRNumsAsVR("ppc-vsr-nums-as-vr", cl::Hidden, cl::init(false), cl::desc("Prints full register names with vs{31-63} as v{0-31}"))
static