LLVM 24.0.0git
RISCVAsmParser.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "riscv-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

 STATISTIC (RISCVNumInstrsCompressed, "Number of RISC-V Compressed instructions emitted")
bool isValidInsnFormat (StringRef Format, const MCSubtargetInfo &STI)
static unsigned getNFforLXSEG (unsigned Opcode)
unsigned getLMULFromVectorRegister (MCRegister Reg)
static bool isZvvfmmScaleOpcode (unsigned Opcode)
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeRISCVAsmParser ()

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "riscv-asm-parser"

Definition at line 52 of file RISCVAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 204 of file RISCVAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 1350 of file RISCVAsmParser.cpp.

◆ GET_MNEMONIC_SPELL_CHECKER

#define GET_MNEMONIC_SPELL_CHECKER

Definition at line 1351 of file RISCVAsmParser.cpp.

◆ GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

Definition at line 307 of file RISCVAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 1348 of file RISCVAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 1349 of file RISCVAsmParser.cpp.

Function Documentation

◆ getLMULFromVectorRegister()

unsigned getLMULFromVectorRegister ( MCRegister Reg)

Definition at line 3963 of file RISCVAsmParser.cpp.

References contains(), and Reg.

◆ getNFforLXSEG()

unsigned getNFforLXSEG ( unsigned Opcode)
static

Definition at line 3893 of file RISCVAsmParser.cpp.

◆ isValidInsnFormat()

◆ isZvvfmmScaleOpcode()

bool isZvvfmmScaleOpcode ( unsigned Opcode)
static

Definition at line 3973 of file RISCVAsmParser.cpp.

◆ LLVMInitializeRISCVAsmParser()

◆ STATISTIC()

STATISTIC ( RISCVNumInstrsCompressed ,
"Number of RISC-V Compressed instructions emitted"  )