|
LLVM 24.0.0git
|
Holds the information from a dbg_value node through SDISel. More...
#include "CodeGen/SelectionDAG/SDNodeDbgValue.h"
Public Member Functions | |
| SDDbgValue (BumpPtrAllocator &Alloc, DIVariable *Var, DIExpression *Expr, ArrayRef< SDDbgOperand > L, ArrayRef< SDNode * > Dependencies, bool IsIndirect, DebugLoc DL, unsigned O, bool IsVariadic) | |
| SDDbgValue (const SDDbgValue &Other)=delete | |
| SDDbgValue & | operator= (const SDDbgValue &Other)=delete |
| ~SDDbgValue ()=delete | |
| DIVariable * | getVariable () const |
| Returns the DIVariable pointer for the variable. | |
| DIExpression * | getExpression () const |
| Returns the DIExpression pointer for the expression. | |
| ArrayRef< SDDbgOperand > | getLocationOps () const |
| SmallVector< SDDbgOperand > | copyLocationOps () const |
| SmallVector< SDNode * > | getSDNodes () const |
| ArrayRef< SDNode * > | getAdditionalDependencies () const |
| bool | isIndirect () const |
| Returns whether this is an indirect value. | |
| bool | isVariadic () const |
| const DebugLoc & | getDebugLoc () const |
| Returns the DebugLoc. | |
| unsigned | getOrder () const |
| Returns the SDNodeOrder. | |
| void | setIsInvalidated () |
| setIsInvalidated / isInvalidated - Setter / getter of the "Invalidated" property. | |
| bool | isInvalidated () const |
| void | setIsEmitted () |
| setIsEmitted / isEmitted - Getter/Setter for flag indicating that this SDDbgValue has been emitted to an MBB. | |
| bool | isEmitted () const |
| void | clearIsEmitted () |
| clearIsEmitted - Reset Emitted flag, for certain special cases where SDDbgValue is emitted twice. | |
| LLVM_DUMP_METHOD void | dump () const |
| LLVM_DUMP_METHOD void | print (raw_ostream &OS) const |
Holds the information from a dbg_value node through SDISel.
We do not use SDValue here to avoid including its header.
Definition at line 155 of file SDNodeDbgValue.h.
|
inline |
Definition at line 178 of file SDNodeDbgValue.h.
References llvm::Alloc, assert(), llvm::copy(), and llvm::size().
Referenced by operator=(), and SDDbgValue().
|
delete |
References llvm::Other, and SDDbgValue().
|
delete |
|
inline |
clearIsEmitted - Reset Emitted flag, for certain special cases where SDDbgValue is emitted twice.
DBG_INSTR_REF depends on this behaviour.
Definition at line 255 of file SDNodeDbgValue.h.
|
inline |
Definition at line 211 of file SDNodeDbgValue.h.
References llvm::SmallVector.
| LLVM_DUMP_METHOD void SDDbgValue::dump | ( | ) | const |
Definition at line 1122 of file SelectionDAGDumper.cpp.
References llvm::dbgs(), isInvalidated(), LLVM_DUMP_METHOD, and print().
Definition at line 225 of file SDNodeDbgValue.h.
References llvm::ArrayRef().
Referenced by getSDNodes().
Returns the DebugLoc.
Definition at line 236 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgNoLocation(), llvm::InstrEmitter::EmitDbgValue(), llvm::InstrEmitter::EmitDbgValueFromSingleOp(), and llvm::InstrEmitter::EmitDbgValueList().
|
inline |
Returns the DIExpression pointer for the expression.
Definition at line 205 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgNoLocation(), llvm::InstrEmitter::EmitDbgValueFromSingleOp(), and llvm::InstrEmitter::EmitDbgValueList().
|
inline |
Definition at line 207 of file SDNodeDbgValue.h.
References llvm::ArrayRef().
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgValue(), llvm::InstrEmitter::EmitDbgValueFromSingleOp(), llvm::InstrEmitter::EmitDbgValueList(), getSDNodes(), and print().
|
inline |
Returns the SDNodeOrder.
This is the order of the preceding node in the input.
Definition at line 240 of file SDNodeDbgValue.h.
Referenced by print().
|
inline |
Definition at line 216 of file SDNodeDbgValue.h.
References llvm::append_range(), getAdditionalDependencies(), getLocationOps(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::SDDbgOperand::SDNODE.
|
inline |
Returns the DIVariable pointer for the variable.
Definition at line 202 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgNoLocation(), llvm::InstrEmitter::EmitDbgValue(), llvm::InstrEmitter::EmitDbgValueFromSingleOp(), and llvm::InstrEmitter::EmitDbgValueList().
|
inline |
Definition at line 251 of file SDNodeDbgValue.h.
Referenced by print().
|
inline |
Returns whether this is an indirect value.
Definition at line 231 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgValueFromSingleOp(), and print().
|
inline |
Definition at line 246 of file SDNodeDbgValue.h.
Referenced by dump(), llvm::InstrEmitter::EmitDbgValue(), and print().
|
inline |
Definition at line 233 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgInstrRef(), llvm::InstrEmitter::EmitDbgValue(), and print().
|
delete |
References llvm::Other, and SDDbgValue().
| LLVM_DUMP_METHOD void SDDbgValue::print | ( | raw_ostream & | OS | ) | const |
Definition at line 1077 of file SelectionDAGDumper.cpp.
References llvm::SDDbgOperand::CONST, llvm::SDDbgOperand::FRAMEIX, getLocationOps(), getOrder(), llvm::SDDbgOperand::GLOBALADDR, isEmitted(), isIndirect(), isInvalidated(), isVariadic(), LLVM_DUMP_METHOD, PrintNodeId(), llvm::printReg(), llvm::SDDbgOperand::SDNODE, and llvm::SDDbgOperand::VREG.
Referenced by dump().
|
inline |
setIsEmitted / isEmitted - Getter/Setter for flag indicating that this SDDbgValue has been emitted to an MBB.
Definition at line 250 of file SDNodeDbgValue.h.
Referenced by llvm::InstrEmitter::EmitDbgValue().
|
inline |
setIsInvalidated / isInvalidated - Setter / getter of the "Invalidated" property.
A SDDbgValue is invalid if the SDNode that produces the value is deleted.
Definition at line 245 of file SDNodeDbgValue.h.