LLVM  16.0.0git
Macros | Functions
LoongArchAsmParser.cpp File Reference
#include "MCTargetDesc/LoongArchInstPrinter.h"
#include "MCTargetDesc/LoongArchMCExpr.h"
#include "MCTargetDesc/LoongArchMCTargetDesc.h"
#include "MCTargetDesc/LoongArchMatInt.h"
#include "TargetInfo/LoongArchTargetInfo.h"
#include "llvm/MC/MCContext.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/MCRegisterInfo.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCValue.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 29 of file LoongArchAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 74 of file LoongArchAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 506 of file LoongArchAsmParser.cpp.

◆ GET_MNEMONIC_SPELL_CHECKER

#define GET_MNEMONIC_SPELL_CHECKER

Definition at line 507 of file LoongArchAsmParser.cpp.

◆ GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

Definition at line 131 of file LoongArchAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 504 of file LoongArchAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 505 of file LoongArchAsmParser.cpp.

Function Documentation

◆ convertFPR32ToFPR64()

static MCRegister convertFPR32ToFPR64 ( MCRegister  Reg)
static

Definition at line 510 of file LoongArchAsmParser.cpp.

References assert().

◆ LLVMInitializeLoongArchAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchAsmParser ( )

◆ matchRegisterNameHelper()

static bool matchRegisterNameHelper ( MCRegister RegNo,
StringRef  Name 
)
static

Definition at line 518 of file LoongArchAsmParser.cpp.

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