LLVM 20.0.0git
Macros | Functions
LoongArchAsmParser.cpp File Reference
#include "MCTargetDesc/LoongArchBaseInfo.h"
#include "MCTargetDesc/LoongArchInstPrinter.h"
#include "MCTargetDesc/LoongArchMCExpr.h"
#include "MCTargetDesc/LoongArchMCTargetDesc.h"
#include "MCTargetDesc/LoongArchMatInt.h"
#include "MCTargetDesc/LoongArchTargetStreamer.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"

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 31 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 644 of file LoongArchAsmParser.cpp.

◆ GET_MNEMONIC_SPELL_CHECKER

#define GET_MNEMONIC_SPELL_CHECKER

Definition at line 645 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 642 of file LoongArchAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 643 of file LoongArchAsmParser.cpp.

Function Documentation

◆ convertFPR32ToFPR64()

static MCRegister convertFPR32ToFPR64 ( MCRegister  Reg)
static

Definition at line 648 of file LoongArchAsmParser.cpp.

References assert(), and Reg.

◆ LLVMInitializeLoongArchAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeLoongArchAsmParser ( )

◆ matchRegisterNameHelper()

static bool matchRegisterNameHelper ( MCRegister RegNo,
StringRef  Name 
)
static

Definition at line 656 of file LoongArchAsmParser.cpp.

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