LLVM 20.0.0git
Classes | Macros | Functions
XtensaAsmParser.cpp File Reference
#include "MCTargetDesc/XtensaMCExpr.h"
#include "MCTargetDesc/XtensaMCTargetDesc.h"
#include "MCTargetDesc/XtensaTargetStreamer.h"
#include "TargetInfo/XtensaTargetInfo.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.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/MCSymbol.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Casting.h"
#include "XtensaGenAsmMatcher.inc"

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 61 of file XtensaAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 346 of file XtensaAsmParser.cpp.

◆ GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

Definition at line 82 of file XtensaAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 345 of file XtensaAsmParser.cpp.

Function Documentation

◆ inRange()

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

Definition at line 95 of file XtensaAsmParser.cpp.

Referenced by XtensaOperand::isImm().

◆ LLVMInitializeXtensaAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeXtensaAsmParser ( )

Definition at line 819 of file XtensaAsmParser.cpp.

References llvm::getTheXtensaTarget(), and X.

◆ RefineErrorLoc()

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

Definition at line 354 of file XtensaAsmParser.cpp.

References Operands.