LLVM 22.0.0git
LoongArchAsmParser.cpp File Reference

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_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchAsmParser ()

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "loongarch-asm-parser"

Definition at line 33 of file LoongArchAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 85 of file LoongArchAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 626 of file LoongArchAsmParser.cpp.

◆ GET_MNEMONIC_SPELL_CHECKER

#define GET_MNEMONIC_SPELL_CHECKER

Definition at line 627 of file LoongArchAsmParser.cpp.

◆ GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

Definition at line 186 of file LoongArchAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 624 of file LoongArchAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 625 of file LoongArchAsmParser.cpp.

Function Documentation

◆ convertFPR32ToFPR64()

MCRegister convertFPR32ToFPR64 ( MCRegister Reg)
static

Definition at line 630 of file LoongArchAsmParser.cpp.

References assert(), and Reg.

◆ LLVMInitializeLoongArchAsmParser()

LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchAsmParser ( )

◆ matchRegisterNameHelper()

bool matchRegisterNameHelper ( MCRegister & RegNo,
StringRef Name )
static

Definition at line 638 of file LoongArchAsmParser.cpp.

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