LLVM 24.0.0git
llvm::GlobalAddressLocation Struct Reference

This struct describes the address of a global, displaced by a constant. More...

#include "CodeGen/AsmPrinter/DebugLocEntry.h"

Public Member Functions

 GlobalAddressLocation ()=default
 GlobalAddressLocation (const GlobalValue *GV, int64_t Offset)
bool operator== (const GlobalAddressLocation &Other) const

Public Attributes

const GlobalValue * GV
int64_t Offset

Detailed Description

This struct describes the address of a global, displaced by a constant.

Definition at line 39 of file DebugLocEntry.h.

Constructor & Destructor Documentation

◆ GlobalAddressLocation() [1/2]

llvm::GlobalAddressLocation::GlobalAddressLocation ( )
default

Referenced by operator==().

◆ GlobalAddressLocation() [2/2]

llvm::GlobalAddressLocation::GlobalAddressLocation ( const GlobalValue * GV,
int64_t Offset )
inline

Definition at line 44 of file DebugLocEntry.h.

References GV, and Offset.

Member Function Documentation

◆ operator==()

bool llvm::GlobalAddressLocation::operator== ( const GlobalAddressLocation & Other) const
inline

Definition at line 47 of file DebugLocEntry.h.

References GlobalAddressLocation(), GV, Offset, and llvm::Other.

Member Data Documentation

◆ GV

const GlobalValue* llvm::GlobalAddressLocation::GV

Definition at line 40 of file DebugLocEntry.h.

Referenced by GlobalAddressLocation(), and operator==().

◆ Offset

int64_t llvm::GlobalAddressLocation::Offset

Definition at line 41 of file DebugLocEntry.h.

Referenced by GlobalAddressLocation(), and operator==().


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