LLVM: lib/Target/Mips/AsmParser/MipsAsmParser.cpp File Reference (original) (raw)

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
Functions
static bool hasShortDelaySlot (MCInst &Inst)
static const MCSymbol * getSingleMCSymbol (const MCExpr *Expr)
static unsigned countMCSymbolRefExpr (const MCExpr *Expr)
static bool isEvaluated (const MCExpr *Expr)
static bool needsExpandMemInst (MCInst &Inst, const MCInstrDesc &MCID)
template<unsigned N>
static bool isShiftedUIntAtAnyPosition (uint64_t x)
Can the value be represented by a unsigned N-bit value and a shift left?
static MCRegister nextReg (MCRegister Reg)
static uint64_t convertIntToDoubleImm (uint64_t ImmOp64)
static uint32_t covertDoubleImmToSingleImm (uint64_t ImmOp64)
static unsigned getRegisterForMxtrDSP (MCInst &Inst, bool IsMFDSP)
static unsigned getRegisterForMxtrFP (MCInst &Inst, bool IsMFTC1)
static unsigned getRegisterForMxtrC0 (MCInst &Inst, bool IsMFTC0)
static SMLoc RefineErrorLoc (const SMLoc Loc, const OperandVector &Operands, uint64_t ErrorInfo)
static std::string MipsMnemonicSpellCheck (StringRef S, const FeatureBitset &FBS, unsigned VariantID=0)
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsAsmParser ()

DEBUG_TYPE

#define DEBUG_TYPE "mips-asm-parser"

GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

GET_MNEMONIC_SPELL_CHECKER

#define GET_MNEMONIC_SPELL_CHECKER

GET_OPERAND_DIAGNOSTIC_TYPES

#define GET_OPERAND_DIAGNOSTIC_TYPES

GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

convertIntToDoubleImm()

countMCSymbolRefExpr()

covertDoubleImmToSingleImm()

getRegisterForMxtrC0()

getRegisterForMxtrDSP()

getRegisterForMxtrFP()

getSingleMCSymbol()

hasShortDelaySlot()

isEvaluated()

Definition at line 1773 of file MipsAsmParser.cpp.

References llvm::MCExpr::Binary, llvm::cast(), llvm::MCExpr::Constant, llvm::MCExpr::getKind(), llvm::MCBinaryExpr::getLHS(), llvm::MCBinaryExpr::getRHS(), llvm::getSpecifier(), isEvaluated(), llvm_unreachable, llvm::MCExpr::Specifier, llvm::MCExpr::SymbolRef, llvm::MCExpr::Target, and llvm::MCExpr::Unary.

Referenced by isEvaluated(), and needsExpandMemInst().

isShiftedUIntAtAnyPosition()

LLVMInitializeMipsAsmParser()

MipsMnemonicSpellCheck()

needsExpandMemInst()

nextReg()

RefineErrorLoc()

EmitJalrReloc