LLVM  9.0.0svn
Macros | Functions
AVRAsmParser.cpp File Reference
#include "AVR.h"
#include "AVRRegisterInfo.h"
#include "MCTargetDesc/AVRMCELFStreamer.h"
#include "MCTargetDesc/AVRMCExpr.h"
#include "MCTargetDesc/AVRMCTargetDesc.h"
#include "TargetInfo/AVRTargetInfo.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 <sstream>
#include "AVRGenAsmMatcher.inc"
Include dependency graph for AVRAsmParser.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "avr-asm-parser"
 
#define GET_ASSEMBLER_HEADER
 
#define GET_REGISTER_MATCHER
 
#define GET_MATCHER_IMPLEMENTATION
 

Functions

static unsigned MatchRegisterName (StringRef Name)
 Maps from the set of all register names to a register number. More...
 
static unsigned MatchRegisterAltName (StringRef Name)
 Maps from the set of all alternative registernames to a register number. More...
 
void LLVMInitializeAVRAsmParser ()
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "avr-asm-parser"

Definition at line 35 of file AVRAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 47 of file AVRAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 690 of file AVRAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 689 of file AVRAsmParser.cpp.

Function Documentation

◆ LLVMInitializeAVRAsmParser()

void LLVMInitializeAVRAsmParser ( )

Definition at line 685 of file AVRAsmParser.cpp.

References llvm::getTheAVRTarget(), and X.

◆ MatchRegisterAltName()

static unsigned MatchRegisterAltName ( StringRef  Name)
static

Maps from the set of all alternative registernames to a register number.

Note
Generated by TableGen.

Referenced by makeCombineInst(), and matchRegisterNameHelper().

◆ MatchRegisterName()

static unsigned MatchRegisterName ( StringRef  Name)
static

Maps from the set of all register names to a register number.

Note
Generated by TableGen.