LLVM 20.0.0git
Macros | Functions
MSP430AsmParser.cpp File Reference
#include "MSP430.h"
#include "MSP430RegisterInfo.h"
#include "MCTargetDesc/MSP430MCTargetDesc.h"
#include "TargetInfo/MSP430TargetInfo.h"
#include "llvm/ADT/APInt.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCInstrInfo.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/MC/TargetRegistry.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MathExtras.h"
#include "MSP430GenAsmMatcher.inc"

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 MCRegister MatchRegisterName (StringRef Name)
 
static MCRegister MatchRegisterAltName (StringRef Name)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMSP430AsmParser ()
 
static unsigned convertGR16ToGR8 (unsigned Reg)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "msp430-asm-parser"

Definition at line 31 of file MSP430AsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 74 of file MSP430AsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 545 of file MSP430AsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 544 of file MSP430AsmParser.cpp.

Function Documentation

◆ convertGR16ToGR8()

static unsigned convertGR16ToGR8 ( unsigned  Reg)
static

Definition at line 548 of file MSP430AsmParser.cpp.

References llvm_unreachable.

◆ LLVMInitializeMSP430AsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMSP430AsmParser ( )

Definition at line 540 of file MSP430AsmParser.cpp.

References llvm::getTheMSP430Target(), and X.

◆ MatchRegisterAltName()

static MCRegister MatchRegisterAltName ( StringRef  Name)
static

◆ MatchRegisterName()

static MCRegister MatchRegisterName ( StringRef  Name)
static