LLVM  13.0.0git
Macros | Functions | Variables
M68kAsmParser.cpp File Reference
#include "M68kInstrInfo.h"
#include "M68kRegisterInfo.h"
#include "TargetInfo/M68kTargetInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCParser/MCParsedAsmOperand.h"
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Support/TargetRegistry.h"
#include <sstream>
#include "M68kGenAsmMatcher.inc"
Include dependency graph for M68kAsmParser.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "m68k-asm-parser"
 
#define GET_ASSEMBLER_HEADER
 
#define GET_MATCHER_IMPLEMENTATION
 

Functions

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kAsmParser ()
 
static bool checkRegisterClass (unsigned RegNo, bool Data, bool Address, bool SP)
 

Variables

static cl::opt< bool > RegisterPrefixOptional ("m68k-register-prefix-optional", cl::Hidden, cl::desc("Enable specifying registers without the % prefix"), cl::init(false))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "m68k-asm-parser"

Definition at line 21 of file M68kAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 37 of file M68kAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 210 of file M68kAsmParser.cpp.

Function Documentation

◆ checkRegisterClass()

static bool checkRegisterClass ( unsigned  RegNo,
bool  Data,
bool  Address,
bool  SP 
)
inlinestatic

Definition at line 380 of file M68kAsmParser.cpp.

References llvm::Address, llvm::Data, and llvm_unreachable.

◆ LLVMInitializeM68kAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kAsmParser ( )

Definition at line 206 of file M68kAsmParser.cpp.

References llvm::getTheM68kTarget(), and X.

Variable Documentation

◆ RegisterPrefixOptional

cl::opt<bool> RegisterPrefixOptional("m68k-register-prefix-optional", cl::Hidden, cl::desc("Enable specifying registers without the % prefix"), cl::init(false))
static