LLVM  11.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"

Collaboration diagram for llvm::DwarfExpression::Register:
Collaboration graph
[legend]

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. More...
 
static Register createSubRegister (int RegNo, unsigned SizeInBits, const char *Comment)
 Create a subregister that needs a DW_OP_piece operator with SizeInBits. More...
 

Public Attributes

int DwarfRegNo
 
unsigned SubRegSize
 
const charComment
 

Detailed Description

Holds information about all subregisters comprising a register location.

Definition at line 109 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 115 of file DwarfExpression.h.

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 120 of file DwarfExpression.h.

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

◆ isSubRegister()

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

Definition at line 125 of file DwarfExpression.h.

Member Data Documentation

◆ Comment

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

Definition at line 112 of file DwarfExpression.h.

◆ DwarfRegNo

int llvm::DwarfExpression::Register::DwarfRegNo

Definition at line 110 of file DwarfExpression.h.

◆ SubRegSize

unsigned llvm::DwarfExpression::Register::SubRegSize

Definition at line 111 of file DwarfExpression.h.


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