class DbgVariableIntrinsic

Declaration

class DbgVariableIntrinsic : public DbgInfoIntrinsic { /* full declaration omitted */ };

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:88

Inherits from: DbgInfoIntrinsic

Member Variables

Inherited from CallBase:

protected Attrs
protected FTy
protected static CalledOperandOpEndIdx = -1

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 29
public static MaximumAlignment = 1U << MaxAlignmentExponent

Method Overview

Inherited from DbgInfoIntrinsic:

Inherited from IntrinsicInst:

Inherited from CallInst:

Inherited from CallBase:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

static bool classof(const llvm::IntrinsicInst* I)

Description

@ {

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:123

Parameters

const llvm::IntrinsicInst* I

static bool classof(const llvm::Value* V)

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:132

Parameters

const llvm::Value* V

llvm::DIExpression* getExpression() const

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:105

Optional<uint64_t> getFragmentSizeInBits() const

Description

Get the size (in bits) of the variable, or fragment of the variable that is described.

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:119

llvm::Metadata* getRawExpression() const

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:113

llvm::Metadata* getRawVariable() const

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:109

llvm::DILocalVariable* getVariable() const

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:101

llvm::Value* getVariableLocation(
    bool AllowNullOp = true) const

Description

Get the location corresponding to the variable referenced by the debug info intrinsic. Depending on the intrinsic, this could be the variable's value or its address.

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:93

Parameters

bool AllowNullOp = true

bool isAddressOfVariable() const

Description

Does this describe the address of a local variable. True for dbg.addr and dbg.declare, but not dbg.value, which describes its value.

Declared at: llvm/include/llvm/IR/IntrinsicInst.h:97