LLVM 20.0.0git
|
#include "MCTargetDesc/VEMCExpr.h"
#include "MCTargetDesc/VEMCTargetDesc.h"
#include "TargetInfo/VETargetInfo.h"
#include "VE.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.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/MCAsmParser.h"
#include "llvm/MC/MCParser/MCParsedAsmOperand.h"
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>
#include "VEGenAsmMatcher.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "ve-asmparser" |
#define | GET_REGISTER_MATCHER |
#define | GET_MATCHER_IMPLEMENTATION |
Auto-generated Match Functions | |
{ | |
#define | GET_ASSEMBLER_HEADER |
Functions | |
static MCRegister | MatchRegisterName (StringRef Name) |
Maps from the set of all register names to a register number. | |
static MCRegister | MatchRegisterAltName (StringRef Name) |
Maps from the set of all alternative registernames to a register number. | |
static StringRef | parseCC (StringRef Name, unsigned Prefix, unsigned Suffix, bool IntegerCC, bool OmitCC, SMLoc NameLoc, OperandVector *Operands) |
static StringRef | parseRD (StringRef Name, unsigned Prefix, SMLoc NameLoc, OperandVector *Operands) |
static void | applyMnemonicAliases (StringRef &Mnemonic, const FeatureBitset &Features, unsigned VariantID) |
LLVM_EXTERNAL_VISIBILITY void | LLVMInitializeVEAsmParser () |
Variables | |
static const MCPhysReg | I32Regs [64] |
static const MCPhysReg | F32Regs [64] |
static const MCPhysReg | F128Regs [32] |
static const MCPhysReg | VM512Regs [8] |
static const MCPhysReg | MISCRegs [31] |
#define DEBUG_TYPE "ve-asmparser" |
Definition at line 33 of file VEAsmParser.cpp.
#define GET_ASSEMBLER_HEADER |
Definition at line 45 of file VEAsmParser.cpp.
#define GET_MATCHER_IMPLEMENTATION |
Definition at line 1550 of file VEAsmParser.cpp.
#define GET_REGISTER_MATCHER |
Definition at line 1549 of file VEAsmParser.cpp.
|
static |
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeVEAsmParser | ( | ) |
Definition at line 1545 of file VEAsmParser.cpp.
References A, and llvm::getTheVETarget().
|
static |
Maps from the set of all alternative registernames to a register number.
|
static |
Maps from the set of all register names to a register number.
|
static |
Definition at line 850 of file VEAsmParser.cpp.
References llvm::VECC::CC_AF, llvm::VECC::CC_AT, Cond, llvm::StringRef::empty(), llvm::SMLoc::getFromPointer(), llvm::SMLoc::getPointer(), Name, Operands, llvm::stringToVEFCondCode(), llvm::stringToVEICondCode(), and llvm::VECC::UNKNOWN.
|
static |
Definition at line 879 of file VEAsmParser.cpp.
References llvm::StringRef::data(), llvm::StringRef::end(), llvm::SMLoc::getFromPointer(), llvm::SMLoc::getPointer(), Name, Operands, llvm::stringToVERD(), SuffixEnd, and llvm::VERD::UNKNOWN.
Definition at line 122 of file VEAsmParser.cpp.
Definition at line 110 of file VEAsmParser.cpp.
Referenced by CC_MipsO32().
Definition at line 98 of file VEAsmParser.cpp.
Definition at line 131 of file VEAsmParser.cpp.
Definition at line 128 of file VEAsmParser.cpp.