|
LLVM 22.0.0git
|
#include "MCTargetDesc/VEMCAsmInfo.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/AsmLexer.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/Compiler.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_ABI 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 34 of file VEAsmParser.cpp.
| #define GET_ASSEMBLER_HEADER |
Definition at line 46 of file VEAsmParser.cpp.
| #define GET_MATCHER_IMPLEMENTATION |
Definition at line 1533 of file VEAsmParser.cpp.
| #define GET_REGISTER_MATCHER |
Definition at line 1532 of file VEAsmParser.cpp.
|
static |
References llvm::AsmToken::EndOfStatement, and Info.
| LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeVEAsmParser | ( | ) |
Definition at line 1528 of file VEAsmParser.cpp.
References A(), llvm::getTheVETarget(), LLVM_ABI, and LLVM_EXTERNAL_VISIBILITY.
|
static |
Maps from the set of all alternative registernames to a register number.
References MatchRegisterAltName(), MatchRegisterName(), llvm::ParseStatus::NoMatch, llvm::AsmToken::Percent, Reg, and llvm::ParseStatus::Success.
|
static |
Maps from the set of all register names to a register number.
|
static |
Definition at line 863 of file VEAsmParser.cpp.
References llvm::VECC::CC_AF, llvm::VECC::CC_AT, Cond, llvm::StringRef::empty(), llvm::SMLoc::getFromPointer(), llvm::SMLoc::getPointer(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::stringToVEFCondCode(), llvm::stringToVEICondCode(), and llvm::VECC::UNKNOWN.
|
static |
Definition at line 892 of file VEAsmParser.cpp.
References llvm::StringRef::data(), llvm::StringRef::end(), llvm::SMLoc::getFromPointer(), llvm::SMLoc::getPointer(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::stringToVERD(), SuffixEnd, and llvm::VERD::UNKNOWN.
Definition at line 121 of file VEAsmParser.cpp.
Definition at line 109 of file VEAsmParser.cpp.
Referenced by CC_MipsO32().
Definition at line 97 of file VEAsmParser.cpp.
Definition at line 130 of file VEAsmParser.cpp.
Definition at line 127 of file VEAsmParser.cpp.