class DIVariable

Declaration

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

Description

Base class for variables.

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

Inherits from: DINode

Member Variables

private unsigned int Line
private uint32_t AlignInBits

Inherited from Metadata:

protected Storage
protected SubclassData1
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,
           int Line,
           ArrayRef<llvm::Metadata*> Ops,
           uint32_t AlignInBits = 0)

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

Parameters

llvm::LLVMContext& C
unsigned int ID
llvm::Metadata::StorageType Storage
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:2543

Parameters

const llvm::Metadata* MD

uint32_t getAlignInBits() const

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

uint32_t getAlignInBytes() const

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

llvm::StringRef getDirectory() const

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

llvm::DIFile* getFile() const

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

llvm::StringRef getFilename() const

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

unsigned int getLine() const

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

llvm::StringRef getName() const

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

llvm::Metadata* getRawFile() const

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

llvm::MDString* getRawName() const

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

llvm::Metadata* getRawScope() const

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

llvm::Metadata* getRawType() const

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

llvm::DIScope* getScope() const

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

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:2514

Optional<uint64_t> getSizeInBits() const

Description

Determines the size of the variable's type.

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

Optional<llvm::StringRef> getSource() const

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

llvm::DIType* getType() const

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

~DIVariable()

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