LLVM: lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.cpp File Reference (original) (raw)
#include "[XCoreInstPrinter.h](XCoreInstPrinter%5F8h%5Fsource.html)"#include "[llvm/ADT/StringRef.h](StringRef%5F8h%5Fsource.html)"#include "[llvm/MC/MCExpr.h](MCExpr%5F8h%5Fsource.html)"#include "[llvm/MC/MCInst.h](MCInst%5F8h%5Fsource.html)"#include "[llvm/MC/MCRegister.h](MCRegister%5F8h%5Fsource.html)"#include "[llvm/MC/MCSymbol.h](MCSymbol%5F8h%5Fsource.html)"#include "[llvm/Support/Casting.h](Casting%5F8h%5Fsource.html)"#include "[llvm/Support/ErrorHandling.h](llvm%5F2Support%5F2ErrorHandling%5F8h%5Fsource.html)"#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"#include <cassert>#include "XCoreGenAsmWriter.inc"
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "asm-printer" |
| Functions | |
|---|---|
| static void | printExpr (const MCExpr *Expr, const MCAsmInfo *MAI, raw_ostream &OS) |
Macro Definition Documentation
◆ DEBUG_TYPE
#define DEBUG_TYPE "asm-printer"
Definition at line 26 of file XCoreInstPrinter.cpp.
Function Documentation
◆ printExpr()
| void printExpr ( const MCExpr * Expr, const MCAsmInfo * MAI, raw_ostream & OS ) | static |
|---|
Definition at line 51 of file XCoreInstPrinter.cpp.
References assert(), llvm::dyn_cast(), llvm::MCSymbolRefExpr::getSpecifier(), llvm::MCSymbolRefExpr::getSymbol(), llvm::Offset, and llvm::MCSymbol::print().