LLVM  14.0.0git
Macros | Functions
CSKYAsmParser.cpp File Reference
#include "MCTargetDesc/CSKYMCExpr.h"
#include "MCTargetDesc/CSKYMCTargetDesc.h"
#include "TargetInfo/CSKYTargetInfo.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/CodeGen/Register.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.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/Support/Casting.h"
#include "llvm/Support/TargetRegistry.h"
#include "CSKYGenAsmMatcher.inc"
Include dependency graph for CSKYAsmParser.cpp:

Go to the source code of this file.

Macros

#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 std::string CSKYMnemonicSpellCheck (StringRef S, const FeatureBitset &FBS, unsigned VariantID=0)
 
static bool matchRegisterNameHelper (MCRegister &RegNo, StringRef Name)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYAsmParser ()
 

Macro Definition Documentation

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 55 of file CSKYAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 273 of file CSKYAsmParser.cpp.

◆ GET_MNEMONIC_SPELL_CHECKER

#define GET_MNEMONIC_SPELL_CHECKER

Definition at line 274 of file CSKYAsmParser.cpp.

◆ GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

Definition at line 69 of file CSKYAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 271 of file CSKYAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 272 of file CSKYAsmParser.cpp.

Function Documentation

◆ CSKYMnemonicSpellCheck()

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

◆ LLVMInitializeCSKYAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeCSKYAsmParser ( )

Definition at line 649 of file CSKYAsmParser.cpp.

References llvm::getTheCSKYTarget(), and X.

◆ matchRegisterNameHelper()

static bool matchRegisterNameHelper ( MCRegister RegNo,
StringRef  Name 
)
static

Definition at line 385 of file CSKYAsmParser.cpp.

References MatchRegisterAltName(), and MatchRegisterName().