|
LLVM
8.0.1
|
#include "LanaiInstPrinter.h"#include "Lanai.h"#include "MCTargetDesc/LanaiMCExpr.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCExpr.h"#include "llvm/MC/MCInst.h"#include "llvm/MC/MCSymbol.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/FormattedStream.h"#include "LanaiGenAsmWriter.inc"
Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "asm-printer" |
| #define | PRINT_ALIAS_INSTR |
Functions | |
| static bool | usesGivenOffset (const MCInst *MI, int AddOffset) |
| static bool | isPreIncrementForm (const MCInst *MI, int AddOffset) |
| static bool | isPostIncrementForm (const MCInst *MI, int AddOffset) |
| static StringRef | decIncOperator (const MCInst *MI) |
| static void | printMemoryBaseRegister (raw_ostream &OS, const unsigned AluCode, const MCOperand &RegOp) |
| template<unsigned SizeInBits> | |
| static void | printMemoryImmediateOffset (const MCAsmInfo &MAI, const MCOperand &OffsetOp, raw_ostream &OS) |
| #define DEBUG_TYPE "asm-printer" |
Definition at line 26 of file LanaiInstPrinter.cpp.
| #define PRINT_ALIAS_INSTR |
Definition at line 29 of file LanaiInstPrinter.cpp.
Definition at line 63 of file LanaiInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::LanaiInstPrinter::getRegisterName(), isPostIncrementForm(), and isPreIncrementForm().
Definition at line 58 of file LanaiInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::LPAC::isPostOp(), and usesGivenOffset().
Referenced by decIncOperator().
Definition at line 53 of file LanaiInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::LPAC::isPreOp(), and usesGivenOffset().
Referenced by decIncOperator().
|
static |
Definition at line 210 of file LanaiInstPrinter.cpp.
References assert(), llvm::MCOperand::getReg(), llvm::LanaiInstPrinter::getRegisterName(), llvm::LPAC::isPostOp(), llvm::LPAC::isPreOp(), and llvm::MCOperand::isReg().
Referenced by llvm::LanaiInstPrinter::printMemRiOperand(), and llvm::LanaiInstPrinter::printMemSplsOperand().
|
static |
Definition at line 223 of file LanaiInstPrinter.cpp.
References assert(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), and llvm::MCExpr::print().
Definition at line 46 of file LanaiInstPrinter.cpp.
References llvm::LPAC::ADD, llvm::LPAC::encodeLanaiAluCode(), llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
Referenced by isPostIncrementForm(), and isPreIncrementForm().
1.8.13