LLVM API Documentation
#include "MipsInstPrinter.h"
#include "MCTargetDesc/MipsMCExpr.h"
#include "MipsInstrInfo.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "MipsGenAsmWriter.inc"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "asm-printer" |
#define | PRINT_ALIAS_INSTR |
Functions | |
template<unsigned R> | |
static bool | isReg (const MCInst &MI, unsigned OpNo) |
static void | printExpr (const MCExpr *Expr, raw_ostream &OS) |
#define DEBUG_TYPE "asm-printer" |
Definition at line 26 of file MipsInstPrinter.cpp.
#define PRINT_ALIAS_INSTR |
Definition at line 28 of file MipsInstPrinter.cpp.
Definition at line 32 of file MipsInstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and llvm::MCOperand::isReg().
Referenced by llvm::PatchPointOpers::PatchPointOpers(), and llvm::HexagonInstrInfo::PredicateInstruction().
static void printExpr | ( | const MCExpr * | Expr, |
raw_ostream & | OS | ||
) | [static] |
Definition at line 125 of file MipsInstPrinter.cpp.
References llvm::WinEH::CE, llvm::dyn_cast(), llvm::MCSymbolRefExpr::getKind(), llvm::MCSymbolRefExpr::getSymbol(), llvm_unreachable, llvm::MCSymbolRefExpr::VK_Mips_ABS_HI, llvm::MCSymbolRefExpr::VK_Mips_ABS_LO, llvm::MCSymbolRefExpr::VK_Mips_CALL_HI16, llvm::MCSymbolRefExpr::VK_Mips_CALL_LO16, llvm::MCSymbolRefExpr::VK_Mips_DTPREL_HI, llvm::MCSymbolRefExpr::VK_Mips_DTPREL_LO, llvm::MCSymbolRefExpr::VK_Mips_GOT, llvm::MCSymbolRefExpr::VK_Mips_GOT16, llvm::MCSymbolRefExpr::VK_Mips_GOT_CALL, llvm::MCSymbolRefExpr::VK_Mips_GOT_DISP, llvm::MCSymbolRefExpr::VK_Mips_GOT_HI16, llvm::MCSymbolRefExpr::VK_Mips_GOT_LO16, llvm::MCSymbolRefExpr::VK_Mips_GOT_OFST, llvm::MCSymbolRefExpr::VK_Mips_GOT_PAGE, llvm::MCSymbolRefExpr::VK_Mips_GOTTPREL, llvm::MCSymbolRefExpr::VK_Mips_GPOFF_HI, llvm::MCSymbolRefExpr::VK_Mips_GPOFF_LO, llvm::MCSymbolRefExpr::VK_Mips_GPREL, llvm::MCSymbolRefExpr::VK_Mips_HIGHER, llvm::MCSymbolRefExpr::VK_Mips_HIGHEST, llvm::MCSymbolRefExpr::VK_Mips_PCREL_HI16, llvm::MCSymbolRefExpr::VK_Mips_PCREL_LO16, llvm::MCSymbolRefExpr::VK_Mips_TLSGD, llvm::MCSymbolRefExpr::VK_Mips_TLSLDM, llvm::MCSymbolRefExpr::VK_Mips_TPREL_HI, llvm::MCSymbolRefExpr::VK_Mips_TPREL_LO, and llvm::MCSymbolRefExpr::VK_None.