class DIEnumerator

Declaration

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

Description

Enumeration value. TODO: Add a pointer to the context (DW_TAG_enumeration_type) once that no longer creates a type cycle.

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

Inherits from: DINode

Member Variables

private llvm::APInt Value

Inherited from Metadata:

protected Storage
protected SubclassData1
protected SubclassData16 = 0
protected SubclassData32 = 0

Method Overview

  • private DIEnumerator(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, const llvm::APInt & Value, bool IsUnsigned, ArrayRef<llvm::Metadata *> Ops)
  • private DIEnumerator(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, int64_t Value, bool IsUnsigned, ArrayRef<llvm::Metadata *> Ops)
  • public static bool classof(const llvm::Metadata * MD)
  • public llvm::TempDIEnumerator clone() const
  • private llvm::TempDIEnumerator cloneImpl() const
  • private static llvm::DIEnumerator * getImpl(llvm::LLVMContext & Context, const llvm::APInt & Value, bool IsUnsigned, llvm::StringRef Name, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • private static llvm::DIEnumerator * getImpl(llvm::LLVMContext & Context, const llvm::APInt & Value, bool IsUnsigned, llvm::MDString * Name, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • public llvm::StringRef getName() const
  • public llvm::MDString * getRawName() const
  • public const llvm::APInt & getValue() const
  • public bool isUnsigned() const
  • private ~DIEnumerator()

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

DIEnumerator(llvm::LLVMContext& C,
             llvm::Metadata::StorageType Storage,
             const llvm::APInt& Value,
             bool IsUnsigned,
             ArrayRef<llvm::Metadata*> Ops)

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

Parameters

llvm::LLVMContext& C
llvm::Metadata::StorageType Storage
const llvm::APInt& Value
bool IsUnsigned
ArrayRef<llvm::Metadata*> Ops

DIEnumerator(llvm::LLVMContext& C,
             llvm::Metadata::StorageType Storage,
             int64_t Value,
             bool IsUnsigned,
             ArrayRef<llvm::Metadata*> Ops)

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

Parameters

llvm::LLVMContext& C
llvm::Metadata::StorageType Storage
int64_t Value
bool IsUnsigned
ArrayRef<llvm::Metadata*> Ops

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

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

Parameters

const llvm::Metadata* MD

llvm::TempDIEnumerator clone() const

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

llvm::TempDIEnumerator cloneImpl() const

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

static llvm::DIEnumerator* getImpl(
    llvm::LLVMContext& Context,
    const llvm::APInt& Value,
    bool IsUnsigned,
    llvm::StringRef Name,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

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

Parameters

llvm::LLVMContext& Context
const llvm::APInt& Value
bool IsUnsigned
llvm::StringRef Name
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

static llvm::DIEnumerator* getImpl(
    llvm::LLVMContext& Context,
    const llvm::APInt& Value,
    bool IsUnsigned,
    llvm::MDString* Name,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

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

Parameters

llvm::LLVMContext& Context
const llvm::APInt& Value
bool IsUnsigned
llvm::MDString* Name
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

llvm::StringRef getName() const

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

llvm::MDString* getRawName() const

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

const llvm::APInt& getValue() const

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

bool isUnsigned() const

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

~DIEnumerator()

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