LLVM  17.0.0git
Public Member Functions | Public Attributes | Friends | List of all members
llvm::at::VarRecord Struct Reference

Helper struct for trackAssignments, below. More...

#include "llvm/IR/DebugInfo.h"

Collaboration diagram for llvm::at::VarRecord:
Collaboration graph
[legend]

Public Member Functions

 VarRecord (DbgVariableIntrinsic *DVI)
 
 VarRecord (DILocalVariable *Var, DILocation *DL)
 

Public Attributes

DILocalVariableVar
 
DILocationDL
 

Friends

bool operator< (const VarRecord &LHS, const VarRecord &RHS)
 
bool operator== (const VarRecord &LHS, const VarRecord &RHS)
 

Detailed Description

Helper struct for trackAssignments, below.

We don't use the similar DebugVariable class because trackAssignments doesn't (yet?) understand partial variables (fragment info) as input and want to make that clear and explicit using types. In addition, eventually we will want to understand expressions that modify the base address too, which a DebugVariable doesn't capture.

Definition at line 238 of file DebugInfo.h.

Constructor & Destructor Documentation

◆ VarRecord() [1/2]

llvm::at::VarRecord::VarRecord ( DbgVariableIntrinsic DVI)
inline

Definition at line 242 of file DebugInfo.h.

◆ VarRecord() [2/2]

llvm::at::VarRecord::VarRecord ( DILocalVariable Var,
DILocation DL 
)
inline

Definition at line 244 of file DebugInfo.h.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const VarRecord LHS,
const VarRecord RHS 
)
friend

Definition at line 245 of file DebugInfo.h.

◆ operator==

bool operator== ( const VarRecord LHS,
const VarRecord RHS 
)
friend

Definition at line 248 of file DebugInfo.h.

Member Data Documentation

◆ DL

DILocation* llvm::at::VarRecord::DL

Definition at line 240 of file DebugInfo.h.

Referenced by emitDbgAssign().

◆ Var

DILocalVariable* llvm::at::VarRecord::Var

Definition at line 239 of file DebugInfo.h.

Referenced by emitDbgAssign().


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