LLVM 22.0.0git
llvm::DwarfExpression::Register Struct Reference

Holds information about all subregisters comprising a register location. More...

#include "CodeGen/AsmPrinter/DwarfExpression.h"

Public Member Functions

bool isSubRegister () const

Static Public Member Functions

static Register createRegister (int64_t RegNo, const char *Comment)
 Create a full register, no extra DW_OP_piece operators necessary.
static Register createSubRegister (int64_t RegNo, unsigned SizeInBits, const char *Comment)
 Create a subregister that needs a DW_OP_piece operator with SizeInBits.

Public Attributes

int64_t DwarfRegNo
unsigned SubRegSize
const charComment

Detailed Description

Holds information about all subregisters comprising a register location.

Definition at line 47 of file DwarfExpression.h.

Member Function Documentation

◆ createRegister()

Register llvm::DwarfExpression::Register::createRegister ( int64_t RegNo,
const char * Comment )
inlinestatic

Create a full register, no extra DW_OP_piece operators necessary.

Definition at line 53 of file DwarfExpression.h.

References Comment.

Referenced by llvm::DwarfExpression::addMachineReg().

◆ createSubRegister()

Register llvm::DwarfExpression::Register::createSubRegister ( int64_t RegNo,
unsigned SizeInBits,
const char * Comment )
inlinestatic

Create a subregister that needs a DW_OP_piece operator with SizeInBits.

Definition at line 58 of file DwarfExpression.h.

References Comment.

Referenced by llvm::DwarfExpression::addMachineReg().

◆ isSubRegister()

bool llvm::DwarfExpression::Register::isSubRegister ( ) const
inline

Definition at line 63 of file DwarfExpression.h.

References SubRegSize.

Member Data Documentation

◆ Comment

const char* llvm::DwarfExpression::Register::Comment

Definition at line 50 of file DwarfExpression.h.

Referenced by createRegister(), and createSubRegister().

◆ DwarfRegNo

int64_t llvm::DwarfExpression::Register::DwarfRegNo

Definition at line 48 of file DwarfExpression.h.

◆ SubRegSize

unsigned llvm::DwarfExpression::Register::SubRegSize

Definition at line 49 of file DwarfExpression.h.

Referenced by isSubRegister().


The documentation for this struct was generated from the following file: