struct DwarfExpression::Register

Declaration

struct DwarfExpression::Register { /* full declaration omitted */ };

Description

Holds information about all subregisters comprising a register location.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:109

Member Variables

public int DwarfRegNo
public unsigned int SubRegSize
public const char* Comment

Method Overview

  • public static llvm::DwarfExpression::Register createRegister(int RegNo, const char * Comment)
  • public static llvm::DwarfExpression::Register createSubRegister(int RegNo, unsigned int SizeInBits, const char * Comment)
  • public bool isSubRegister() const

Methods

static llvm::DwarfExpression::Register
createRegister(int RegNo, const char* Comment)

Description

Create a full register, no extra DW_OP_piece operators necessary.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:115

Parameters

int RegNo
const char* Comment

static llvm::DwarfExpression::Register
createSubRegister(int RegNo,
                  unsigned int SizeInBits,
                  const char* Comment)

Description

Create a subregister that needs a DW_OP_piece operator with SizeInBits.

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:120

Parameters

int RegNo
unsigned int SizeInBits
const char* Comment

bool isSubRegister() const

Declared at: llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h:125