LLVM 24.0.0git
llvm::DbgValueLocEntry Class Reference

A single location or constant within a variable location description, with either a single entry (with an optional DIExpression) used for a DBG_VALUE, or a list of entries used for a DBG_VALUE_LIST. More...

#include "CodeGen/AsmPrinter/DebugLocEntry.h"

Public Member Functions

 DbgValueLocEntry (int64_t i)
 DbgValueLocEntry (const ConstantFP *CFP)
 DbgValueLocEntry (const ConstantInt *CIP)
 DbgValueLocEntry (MachineLocation Loc)
 DbgValueLocEntry (TargetIndexLocation Loc)
 DbgValueLocEntry (GlobalAddressLocation GAL)
bool isLocation () const
bool isIndirectLocation () const
bool isTargetIndexLocation () const
bool isInt () const
bool isConstantFP () const
bool isConstantInt () const
bool isGlobalAddress () const
int64_t getInt () const
const ConstantFP * getConstantFP () const
const ConstantInt * getConstantInt () const
const GlobalValue * getGlobalAddress () const
int64_t getGlobalOffset () const
MachineLocation getLoc () const
TargetIndexLocation getTargetIndexLocation () const
LLVM_DUMP_METHOD void dump () const

Friends

bool operator== (const DbgValueLocEntry &A, const DbgValueLocEntry &B)
 Compare two DbgValueLocEntries for equality.

Detailed Description

A single location or constant within a variable location description, with either a single entry (with an optional DIExpression) used for a DBG_VALUE, or a list of entries used for a DBG_VALUE_LIST.

Definition at line 55 of file DebugLocEntry.h.

Constructor & Destructor Documentation

◆ DbgValueLocEntry() [1/6]

llvm::DbgValueLocEntry::DbgValueLocEntry ( int64_t i)
inline

Definition at line 85 of file DebugLocEntry.h.

Referenced by operator==.

◆ DbgValueLocEntry() [2/6]

llvm::DbgValueLocEntry::DbgValueLocEntry ( const ConstantFP * CFP)
inline

Definition at line 86 of file DebugLocEntry.h.

References CFP.

◆ DbgValueLocEntry() [3/6]

llvm::DbgValueLocEntry::DbgValueLocEntry ( const ConstantInt * CIP)
inline

Definition at line 89 of file DebugLocEntry.h.

References CIP.

◆ DbgValueLocEntry() [4/6]

llvm::DbgValueLocEntry::DbgValueLocEntry ( MachineLocation Loc)
inline

Definition at line 92 of file DebugLocEntry.h.

References Loc.

◆ DbgValueLocEntry() [5/6]

llvm::DbgValueLocEntry::DbgValueLocEntry ( TargetIndexLocation Loc)
inline

Definition at line 93 of file DebugLocEntry.h.

References Loc, and TIL.

◆ DbgValueLocEntry() [6/6]

llvm::DbgValueLocEntry::DbgValueLocEntry ( GlobalAddressLocation GAL)
inline

Definition at line 95 of file DebugLocEntry.h.

References GAL.

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void llvm::DbgValueLocEntry::dump ( ) const
inline

◆ getConstantFP()

const ConstantFP * llvm::DbgValueLocEntry::getConstantFP ( ) const
inline

Definition at line 110 of file DebugLocEntry.h.

◆ getConstantInt()

const ConstantInt * llvm::DbgValueLocEntry::getConstantInt ( ) const
inline

Definition at line 111 of file DebugLocEntry.h.

◆ getGlobalAddress()

const GlobalValue * llvm::DbgValueLocEntry::getGlobalAddress ( ) const
inline

Definition at line 112 of file DebugLocEntry.h.

References GAL.

◆ getGlobalOffset()

int64_t llvm::DbgValueLocEntry::getGlobalOffset ( ) const
inline

Definition at line 113 of file DebugLocEntry.h.

References GAL.

◆ getInt()

int64_t llvm::DbgValueLocEntry::getInt ( ) const
inline

Definition at line 109 of file DebugLocEntry.h.

◆ getLoc()

MachineLocation llvm::DbgValueLocEntry::getLoc ( ) const
inline

Definition at line 114 of file DebugLocEntry.h.

References Loc.

Referenced by llvm::DbgValueLoc::isEquivalent().

◆ getTargetIndexLocation()

TargetIndexLocation llvm::DbgValueLocEntry::getTargetIndexLocation ( ) const
inline

Definition at line 115 of file DebugLocEntry.h.

References TIL.

◆ isConstantFP()

bool llvm::DbgValueLocEntry::isConstantFP ( ) const
inline

Definition at line 106 of file DebugLocEntry.h.

Referenced by dump().

◆ isConstantInt()

bool llvm::DbgValueLocEntry::isConstantInt ( ) const
inline

Definition at line 107 of file DebugLocEntry.h.

Referenced by dump().

◆ isGlobalAddress()

bool llvm::DbgValueLocEntry::isGlobalAddress ( ) const
inline

Definition at line 108 of file DebugLocEntry.h.

◆ isIndirectLocation()

bool llvm::DbgValueLocEntry::isIndirectLocation ( ) const
inline

Definition at line 99 of file DebugLocEntry.h.

References Loc.

◆ isInt()

bool llvm::DbgValueLocEntry::isInt ( ) const
inline

Definition at line 105 of file DebugLocEntry.h.

◆ isLocation()

bool llvm::DbgValueLocEntry::isLocation ( ) const
inline

Definition at line 98 of file DebugLocEntry.h.

Referenced by dump(), and llvm::DbgValueLoc::isEquivalent().

◆ isTargetIndexLocation()

bool llvm::DbgValueLocEntry::isTargetIndexLocation ( ) const
inline

Definition at line 102 of file DebugLocEntry.h.

◆ operator==

bool operator== ( const DbgValueLocEntry & A,
const DbgValueLocEntry & B )
friend

Compare two DbgValueLocEntries for equality.

Definition at line 277 of file DebugLocEntry.h.

References A(), B(), DbgValueLocEntry(), and llvm_unreachable.

Member Data Documentation

◆ CFP

const ConstantFP* llvm::DbgValueLocEntry::CFP

Definition at line 71 of file DebugLocEntry.h.

Referenced by DbgValueLocEntry().

◆ CIP

const ConstantInt* llvm::DbgValueLocEntry::CIP

Definition at line 72 of file DebugLocEntry.h.

Referenced by DbgValueLocEntry().

◆ GAL

GlobalAddressLocation llvm::DbgValueLocEntry::GAL

Or the address of a global.

Definition at line 81 of file DebugLocEntry.h.

Referenced by DbgValueLocEntry(), getGlobalAddress(), and getGlobalOffset().

◆ Int

int64_t llvm::DbgValueLocEntry::Int

Definition at line 70 of file DebugLocEntry.h.

◆ Loc

MachineLocation llvm::DbgValueLocEntry::Loc

Or a location in the machine frame.

Definition at line 77 of file DebugLocEntry.h.

Referenced by DbgValueLocEntry(), DbgValueLocEntry(), dump(), getLoc(), and isIndirectLocation().

◆ TIL

TargetIndexLocation llvm::DbgValueLocEntry::TIL

Or a location from target specific location.

Definition at line 79 of file DebugLocEntry.h.

Referenced by DbgValueLocEntry(), and getTargetIndexLocation().


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