LLVM 22.0.0git
XtensaAsmParser.cpp File Reference

Go to the source code of this file.

Classes

class  XtensaAsmParser
struct  XtensaOperand
struct  XtensaOperand::RegOp
struct  XtensaOperand::ImmOp

Macros

#define DEBUG_TYPE   "xtensa-asm-parser"
#define GET_ASSEMBLER_HEADER
#define GET_OPERAND_DIAGNOSTIC_TYPES
#define GET_REGISTER_MATCHER
#define GET_MATCHER_IMPLEMENTATION

Functions

static bool inRange (const MCExpr *Expr, int64_t MinValue, int64_t MaxValue)
static SMLoc RefineErrorLoc (const SMLoc Loc, const OperandVector &Operands, uint64_t ErrorInfo)
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeXtensaAsmParser ()

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "xtensa-asm-parser"

Definition at line 33 of file XtensaAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 63 of file XtensaAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 375 of file XtensaAsmParser.cpp.

◆ GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

Definition at line 89 of file XtensaAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 374 of file XtensaAsmParser.cpp.

Function Documentation

◆ inRange()

bool inRange ( const MCExpr * Expr,
int64_t MinValue,
int64_t MaxValue )
static

Definition at line 107 of file XtensaAsmParser.cpp.

References llvm::dyn_cast().

Referenced by XtensaOperand::isImm().

◆ LLVMInitializeXtensaAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeXtensaAsmParser ( )

Definition at line 878 of file XtensaAsmParser.cpp.

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

◆ RefineErrorLoc()

SMLoc RefineErrorLoc ( const SMLoc Loc,
const OperandVector & Operands,
uint64_t ErrorInfo )
static

Definition at line 383 of file XtensaAsmParser.cpp.

References Operands.