LLVM  15.0.0git
Macros | Functions
LoongArchAsmParser.cpp File Reference
#include "MCTargetDesc/LoongArchInstPrinter.h"
#include "MCTargetDesc/LoongArchMCTargetDesc.h"
#include "TargetInfo/LoongArchTargetInfo.h"
#include "llvm/MC/MCContext.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/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Casting.h"
#include "LoongArchGenAsmMatcher.inc"
Include dependency graph for LoongArchAsmParser.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "loongarch-asm-parser"
 
#define GET_ASSEMBLER_HEADER
 
#define GET_OPERAND_DIAGNOSTIC_TYPES
 
#define GET_REGISTER_MATCHER
 
#define GET_SUBTARGET_FEATURE_NAME
 
#define GET_MATCHER_IMPLEMENTATION
 
#define GET_MNEMONIC_SPELL_CHECKER
 

Functions

static MCRegister convertFPR32ToFPR64 (MCRegister Reg)
 
static bool matchRegisterNameHelper (MCRegister &RegNo, StringRef Name)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchAsmParser ()
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "loongarch-asm-parser"

Definition at line 25 of file LoongArchAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 60 of file LoongArchAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 255 of file LoongArchAsmParser.cpp.

◆ GET_MNEMONIC_SPELL_CHECKER

#define GET_MNEMONIC_SPELL_CHECKER

Definition at line 256 of file LoongArchAsmParser.cpp.

◆ GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

Definition at line 73 of file LoongArchAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 253 of file LoongArchAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 254 of file LoongArchAsmParser.cpp.

Function Documentation

◆ convertFPR32ToFPR64()

static MCRegister convertFPR32ToFPR64 ( MCRegister  Reg)
static

Definition at line 259 of file LoongArchAsmParser.cpp.

References assert().

◆ LLVMInitializeLoongArchAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchAsmParser ( )

◆ matchRegisterNameHelper()

static bool matchRegisterNameHelper ( MCRegister RegNo,
StringRef  Name 
)
static

Definition at line 267 of file LoongArchAsmParser.cpp.

References assert(), MatchRegisterAltName(), and MatchRegisterName().