LLVM 24.0.0git
CSKYAsmParser.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "csky-asm-parser"
#define GEN_COMPRESS_INSTR
#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 (CSKYNumInstrsCompressed, "Number of C-SKY Compressed instructions emitted")
static std::string CSKYMnemonicSpellCheck (StringRef S, const FeatureBitset &FBS, unsigned VariantID=0)
static bool matchRegisterNameHelper (const MCSubtargetInfo &STI, MCRegister &Reg, StringRef Name)
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYAsmParser ()

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "csky-asm-parser"

Definition at line 40 of file CSKYAsmParser.cpp.

◆ GEN_COMPRESS_INSTR

#define GEN_COMPRESS_INSTR

Definition at line 43 of file CSKYAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 97 of file CSKYAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 634 of file CSKYAsmParser.cpp.

◆ GET_MNEMONIC_SPELL_CHECKER

#define GET_MNEMONIC_SPELL_CHECKER

Definition at line 635 of file CSKYAsmParser.cpp.

◆ GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

Definition at line 119 of file CSKYAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 632 of file CSKYAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 633 of file CSKYAsmParser.cpp.

Function Documentation

◆ CSKYMnemonicSpellCheck()

std::string CSKYMnemonicSpellCheck ( StringRef S,
const FeatureBitset & FBS,
unsigned VariantID = 0 )
static

References Lower, Msg, Operands, uint64_t, and llvm::Upper.

◆ LLVMInitializeCSKYAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYAsmParser ( )

Definition at line 1631 of file CSKYAsmParser.cpp.

References llvm::getTheCSKYTarget(), LLVM_EXTERNAL_VISIBILITY, and X.

◆ matchRegisterNameHelper()

bool matchRegisterNameHelper ( const MCSubtargetInfo & STI,
MCRegister & Reg,
StringRef Name )
static

Definition at line 990 of file CSKYAsmParser.cpp.

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

◆ STATISTIC()

STATISTIC ( CSKYNumInstrsCompressed ,
"Number of C-SKY Compressed instructions emitted"  )

References Lower, Msg, Operands, uint64_t, and llvm::Upper.