LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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 (int RegNo, const char *Comment)
 Create a full register, no extra DW_OP_piece operators necessary.
 
static Register createSubRegister (int RegNo, unsigned SizeInBits, const char *Comment)
 Create a subregister that needs a DW_OP_piece operator with SizeInBits.
 

Public Attributes

int 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()

static Register llvm::DwarfExpression::Register::createRegister ( int  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()

static Register llvm::DwarfExpression::Register::createSubRegister ( int  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

int 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: