LLVM API Documentation
#include "ByteStreamer.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/ADT/SmallBitVector.h"
#include "llvm/ADT/Twine.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Target/TargetFrameLowering.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "asm-printer" |
Functions | |
static const char * | DecodeDWARFEncoding (unsigned Encoding) |
static void | emitDwarfRegOp (ByteStreamer &Streamer, int Reg) |
Emit a dwarf register operation. | |
static void | emitDwarfRegOpIndirect (ByteStreamer &Streamer, int Reg, int Offset, bool Deref) |
Emit an (double-)indirect dwarf register operation. | |
static void | emitDwarfOpShr (ByteStreamer &Streamer, unsigned ShiftBy) |
Emit a shift-right dwarf expression. |
#define DEBUG_TYPE "asm-printer" |
Definition at line 33 of file AsmPrinterDwarf.cpp.
static const char* DecodeDWARFEncoding | ( | unsigned | Encoding | ) | [static] |
Definition at line 68 of file AsmPrinterDwarf.cpp.
References llvm::dwarf::DW_EH_PE_absptr, llvm::dwarf::DW_EH_PE_indirect, llvm::dwarf::DW_EH_PE_omit, llvm::dwarf::DW_EH_PE_pcrel, llvm::dwarf::DW_EH_PE_sdata4, llvm::dwarf::DW_EH_PE_sdata8, llvm::dwarf::DW_EH_PE_udata4, and llvm::dwarf::DW_EH_PE_udata8.
Referenced by llvm::AsmPrinter::EmitEncodingByte().
static void emitDwarfOpShr | ( | ByteStreamer & | Streamer, |
unsigned | ShiftBy | ||
) | [static] |
Emit a shift-right dwarf expression.
Definition at line 234 of file AsmPrinterDwarf.cpp.
References llvm::dwarf::DW_OP_constu, llvm::dwarf::DW_OP_shr, llvm::ByteStreamer::EmitInt8(), and llvm::ByteStreamer::EmitULEB128().
Referenced by llvm::AsmPrinter::EmitDwarfRegOpPiece().
static void emitDwarfRegOp | ( | ByteStreamer & | Streamer, |
int | Reg | ||
) | [static] |
Emit a dwarf register operation.
Definition at line 191 of file AsmPrinterDwarf.cpp.
References llvm::dwarf::DW_OP_reg0, llvm::dwarf::DW_OP_regx, llvm::ByteStreamer::EmitInt8(), llvm::ByteStreamer::EmitULEB128(), and llvm::dwarf::OperationEncodingString().
Referenced by llvm::AsmPrinter::EmitDwarfRegOp(), and llvm::AsmPrinter::EmitDwarfRegOpPiece().
static void emitDwarfRegOpIndirect | ( | ByteStreamer & | Streamer, |
int | Reg, | ||
int | Offset, | ||
bool | Deref | ||
) | [static] |
Emit an (double-)indirect dwarf register operation.
Definition at line 203 of file AsmPrinterDwarf.cpp.
References llvm::dwarf::DW_OP_breg0, llvm::dwarf::DW_OP_bregx, llvm::dwarf::DW_OP_deref, llvm::ByteStreamer::EmitInt8(), llvm::ByteStreamer::EmitSLEB128(), llvm::ByteStreamer::EmitULEB128(), and llvm::dwarf::OperationEncodingString().
Referenced by llvm::AsmPrinter::EmitDwarfRegOp().