class DIVariable

Declaration

class DIVariable : public DINode { /* full declaration omitted */ };

Description

Base class for variables.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2239

Inherits from: DINode

Member Variables

Inherited from Metadata:

protected Storage
protected ImplicitCode
protected SubclassData16 = 0
protected SubclassData32 = 0

Method Overview

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

DIVariable(llvm::LLVMContext& C,
           unsigned int ID,
           llvm::Metadata::StorageType Storage,
           unsigned int Line,
           ArrayRef<llvm::Metadata*> Ops,
           uint32_t AlignInBits = 0)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2244

Parameters

llvm::LLVMContext& C
unsigned int ID
llvm::Metadata::StorageType Storage
unsigned int Line
ArrayRef<llvm::Metadata*> Ops
uint32_t AlignInBits = 0

static bool classof(const llvm::Metadata* MD)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2292

Parameters

const llvm::Metadata* MD

uint32_t getAlignInBits() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2256

uint32_t getAlignInBytes() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2257

llvm::StringRef getDirectory() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2275

llvm::DIFile* getFile() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2254

llvm::StringRef getFilename() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2269

unsigned int getLine() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2251

llvm::StringRef getName() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2253

llvm::Metadata* getRawFile() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2289

llvm::MDString* getRawName() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2288

llvm::Metadata* getRawScope() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2287

llvm::Metadata* getRawType() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2290

llvm::DIScope* getScope() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2252

Optional<DIBasicType::Signedness> getSignedness()
    const

Description

Return the signedness of this variable's type, or None if this type is neither signed nor unsigned.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2263

Optional<uint64_t> getSizeInBits() const

Description

Determines the size of the variable's type.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2259

Optional<llvm::StringRef> getSource() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2281

llvm::DIType* getType() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2255

~DIVariable()

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:2248