LLVM 20.0.0git
|
#include "MCTargetDesc/MipsABIFlagsSection.h"
#include "MCTargetDesc/MipsABIInfo.h"
#include "MCTargetDesc/MipsBaseInfo.h"
#include "MCTargetDesc/MipsMCExpr.h"
#include "MCTargetDesc/MipsMCTargetDesc.h"
#include "MipsTargetStreamer.h"
#include "TargetInfo/MipsTargetInfo.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/MC/MCParser/MCAsmParser.h"
#include "llvm/MC/MCParser/MCAsmParserExtension.h"
#include "llvm/MC/MCParser/MCAsmParserUtils.h"
#include "llvm/MC/MCParser/MCParsedAsmOperand.h"
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MCValue.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/SubtargetFeature.h"
#include "llvm/TargetParser/Triple.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include "MipsGenAsmMatcher.inc"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | DEBUG_TYPE "mips-asm-parser" |
#define | GET_ASSEMBLER_HEADER |
#define | GET_OPERAND_DIAGNOSTIC_TYPES |
#define | GET_REGISTER_MATCHER |
#define | GET_MATCHER_IMPLEMENTATION |
#define | GET_MNEMONIC_SPELL_CHECKER |
Variables | |
cl::opt< bool > | EmitJalrReloc |
#define DEBUG_TYPE "mips-asm-parser" |
Definition at line 62 of file MipsAsmParser.cpp.
#define GET_ASSEMBLER_HEADER |
Definition at line 168 of file MipsAsmParser.cpp.
#define GET_MATCHER_IMPLEMENTATION |
Definition at line 8975 of file MipsAsmParser.cpp.
#define GET_MNEMONIC_SPELL_CHECKER |
Definition at line 8976 of file MipsAsmParser.cpp.
#define GET_OPERAND_DIAGNOSTIC_TYPES |
Definition at line 520 of file MipsAsmParser.cpp.
#define GET_REGISTER_MATCHER |
Definition at line 8974 of file MipsAsmParser.cpp.
Definition at line 3409 of file MipsAsmParser.cpp.
References llvm::APFloat::bitcastToAPInt(), llvm::APInt::getZExtValue(), and llvm::Hi_32().
Definition at line 1805 of file MipsAsmParser.cpp.
References countMCSymbolRefExpr().
Referenced by countMCSymbolRefExpr().
Definition at line 3419 of file MipsAsmParser.cpp.
Definition at line 5685 of file MipsAsmParser.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and llvm_unreachable.
Definition at line 5592 of file MipsAsmParser.cpp.
References llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and llvm_unreachable.
Definition at line 5646 of file MipsAsmParser.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and llvm_unreachable.
Definition at line 1781 of file MipsAsmParser.cpp.
References getSingleMCSymbol().
Referenced by getSingleMCSymbol().
Definition at line 1759 of file MipsAsmParser.cpp.
References llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), and llvm::MCOperand::isReg().
Referenced by llvm::MipsTargetStreamer::emitEmptyDelaySlot().
Definition at line 1819 of file MipsAsmParser.cpp.
References llvm::MCExpr::Binary, llvm::MCExpr::Constant, llvm::MCExpr::getKind(), llvm::MCBinaryExpr::getLHS(), llvm::MCBinaryExpr::getRHS(), isEvaluated(), llvm::MCExpr::SymbolRef, llvm::MCExpr::Target, llvm::MCExpr::Unary, and llvm::MCSymbolRefExpr::VK_None.
Referenced by isEvaluated(), and needsExpandMemInst().
Can the value be represented by a unsigned N-bit value and a shift left?
Definition at line 2744 of file MipsAsmParser.cpp.
References llvm::countr_zero().
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsAsmParser | ( | ) |
Definition at line 8967 of file MipsAsmParser.cpp.
References A, B, llvm::getTheMips64elTarget(), llvm::getTheMips64Target(), llvm::getTheMipselTarget(), llvm::getTheMipsTarget(), X, and Y.
|
static |
|
static |
Definition at line 1839 of file MipsAsmParser.cpp.
References llvm::MCExpr::getKind(), llvm::MCSymbolRefExpr::getKind(), llvm::MCInstrDesc::getNumOperands(), llvm::MCInst::getOperand(), isEvaluated(), llvm::MipsII::OPERAND_MEM_SIMM9, llvm::MCOI::OPERAND_MEMORY, llvm::MCOI::OPERAND_UNKNOWN, llvm::MCInstrDesc::operands(), llvm::MCOperandInfo::OperandType, llvm::MCExpr::SymbolRef, and llvm::MCSymbolRefExpr::VK_None.
Definition at line 3291 of file MipsAsmParser.cpp.
References contains(), llvm_unreachable, and Reg.
|
static |
Definition at line 5983 of file MipsAsmParser.cpp.
References Operands.