LLVM  9.0.0svn
Macros | Functions
MSP430AsmParser.cpp File Reference
#include "MSP430.h"
#include "MSP430RegisterInfo.h"
#include "MCTargetDesc/MSP430MCTargetDesc.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/MC/MCParser/MCParsedAsmOperand.h"
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/TargetRegistry.h"
#include "MSP430GenAsmMatcher.inc"
Include dependency graph for MSP430AsmParser.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "msp430-asm-parser"
 
#define GET_REGISTER_MATCHER
 
#define GET_MATCHER_IMPLEMENTATION
 
Auto-generated Matcher Functions

{

#define GET_ASSEMBLER_HEADER
 

Functions

static unsigned MatchRegisterName (StringRef Name)
 
static unsigned MatchRegisterAltName (StringRef Name)
 
void LLVMInitializeMSP430AsmParser ()
 
static unsigned convertGR16ToGR8 (unsigned Reg)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "msp430-asm-parser"

Definition at line 30 of file MSP430AsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 71 of file MSP430AsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 536 of file MSP430AsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 535 of file MSP430AsmParser.cpp.

Function Documentation

◆ convertGR16ToGR8()

static unsigned convertGR16ToGR8 ( unsigned  Reg)
static

Definition at line 539 of file MSP430AsmParser.cpp.

References Kind, llvm_unreachable, R6, and Reg.

◆ LLVMInitializeMSP430AsmParser()

void LLVMInitializeMSP430AsmParser ( )

Definition at line 531 of file MSP430AsmParser.cpp.

References llvm::getTheMSP430Target(), and X.

◆ MatchRegisterAltName()

static unsigned MatchRegisterAltName ( StringRef  Name)
static

◆ MatchRegisterName()

static unsigned MatchRegisterName ( StringRef  Name)
static