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

Public Member Functions

 VarRecord (DbgVariableIntrinsic *DVI)
 
 VarRecord (DbgVariableRecord *DVR)
 
 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 281 of file DebugInfo.h.

Constructor & Destructor Documentation

◆ VarRecord() [1/3]

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

Definition at line 285 of file DebugInfo.h.

◆ VarRecord() [2/3]

llvm::at::VarRecord::VarRecord ( DbgVariableRecord DVR)
inline

Definition at line 287 of file DebugInfo.h.

◆ VarRecord() [3/3]

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

Definition at line 289 of file DebugInfo.h.

Friends And Related Function Documentation

◆ operator<

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

Definition at line 290 of file DebugInfo.h.

◆ operator==

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

Definition at line 293 of file DebugInfo.h.

Member Data Documentation

◆ DL

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

◆ Var

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

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