class DIBasicType

Declaration

class DIBasicType : public DIType { /* full declaration omitted */ };

Description

Basic type, like 'int' or 'float'. TODO: Split out DW_TAG_unspecified_type. TODO: Drop unused accessors.

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

Inherits from: DIType

Member Variables

Inherited from Metadata:

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

Method Overview

  • public static bool classof(const llvm::Metadata * MD)
  • public llvm::TempDIBasicType clone() const
  • public unsigned int getEncoding() const
  • public Optional<llvm::DIBasicType::Signedness> getSignedness() const

Inherited from DIType:

Inherited from DIScope:

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

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

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

Parameters

const llvm::Metadata* MD

llvm::TempDIBasicType clone() const

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

unsigned int getEncoding() const

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

Optional<llvm::DIBasicType::Signedness>
getSignedness() const

Description

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

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