class SDDbgValue

Declaration

class SDDbgValue { /* full declaration omitted */ };

Description

Holds the information from a dbg_value node through SDISel. We do not use SDValue here to avoid including its header.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:133

Member Variables

private size_t NumLocationOps
private llvm::SDDbgOperand* LocationOps
private size_t NumAdditionalDependencies
private llvm::SDNode** AdditionalDependencies
private llvm::DIVariable* Var
private llvm::DIExpression* Expr
private llvm::DebugLoc DL
private unsigned int Order
private bool IsIndirect
private bool IsVariadic
private bool Invalid = false
private bool Emitted = false

Method Overview

Methods

SDDbgValue(const llvm::SDDbgValue& Other)

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:175

Parameters

const llvm::SDDbgValue& Other

SDDbgValue(llvm::BumpPtrAllocator& Alloc,
           llvm::DIVariable* Var,
           llvm::DIExpression* Expr,
           ArrayRef<llvm::SDDbgOperand> L,
           ArrayRef<llvm::SDNode*> Dependencies,
           bool IsIndirect,
           llvm::DebugLoc DL,
           unsigned int O,
           bool IsVariadic)

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:156

Parameters

llvm::BumpPtrAllocator& Alloc
llvm::DIVariable* Var
llvm::DIExpression* Expr
ArrayRef<llvm::SDDbgOperand> L
ArrayRef<llvm::SDNode*> Dependencies
bool IsIndirect
llvm::DebugLoc DL
unsigned int O
bool IsVariadic

void clearIsEmitted()

Description

clearIsEmitted - Reset Emitted flag, for certain special cases where dbg.addr is emitted twice.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:234

SmallVector<llvm::SDDbgOperand> copyLocationOps()
    const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:189

void dump() const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:236

ArrayRef<llvm::SDNode*>
getAdditionalDependencies() const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:204

const llvm::DebugLoc& getDebugLoc() const

Description

Returns the DebugLoc.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:215

llvm::DIExpression* getExpression() const

Description

Returns the DIExpression pointer for the expression.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:183

ArrayRef<llvm::SDDbgOperand> getLocationOps()
    const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:185

unsigned int getOrder() const

Description

Returns the SDNodeOrder. This is the order of the preceding node in the input.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:219

SmallVector<llvm::SDNode*> getSDNodes() const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:194

llvm::DIVariable* getVariable() const

Description

Returns the DIVariable pointer for the variable.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:180

bool isEmitted() const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:230

bool isIndirect() const

Description

Returns whether this is an indirect value.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:210

bool isInvalidated() const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:225

bool isVariadic() const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:212

void print(llvm::raw_ostream& OS) const

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:237

Parameters

llvm::raw_ostream& OS

void setIsEmitted()

Description

setIsEmitted / isEmitted - Getter/Setter for flag indicating that this SDDbgValue has been emitted to an MBB.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:229

void setIsInvalidated()

Description

setIsInvalidated / isInvalidated - Setter / getter of the "Invalidated" property. A SDDbgValue is invalid if the SDNode that produces the value is deleted.

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:224

~SDDbgValue()

Declared at: llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h:177