class DICommonBlock

Declaration

class DICommonBlock : public DIScope { /* full declaration omitted */ };

Description

Base class for scope-like contexts. Base class for lexical scopes and types (which are also declaration contexts). TODO: Separate the concepts of declaration contexts and lexical scopes.

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

Inherits from: DIScope

Member Variables

private unsigned int LineNo

Inherited from Metadata:

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

Method Overview

  • private DICommonBlock(llvm::LLVMContext & Context, llvm::Metadata::StorageType Storage, unsigned int LineNo, ArrayRef<llvm::Metadata *> Ops)
  • public static bool classof(const llvm::Metadata * MD)
  • public llvm::TempDICommonBlock clone() const
  • private llvm::TempDICommonBlock cloneImpl() const
  • public llvm::DIGlobalVariable * getDecl() const
  • public llvm::DIFile * getFile() const
  • private static llvm::DICommonBlock * getImpl(llvm::LLVMContext & Context, llvm::DIScope * Scope, llvm::DIGlobalVariable * Decl, llvm::StringRef Name, llvm::DIFile * File, unsigned int LineNo, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • private static llvm::DICommonBlock * getImpl(llvm::LLVMContext & Context, llvm::Metadata * Scope, llvm::Metadata * Decl, llvm::MDString * Name, llvm::Metadata * File, unsigned int LineNo, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • public unsigned int getLineNo() const
  • public llvm::StringRef getName() const
  • public llvm::Metadata * getRawDecl() const
  • public llvm::Metadata * getRawFile() const
  • public llvm::MDString * getRawName() const
  • public llvm::Metadata * getRawScope() const
  • public llvm::DIScope * getScope() const

Inherited from DIScope:

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

DICommonBlock(llvm::LLVMContext& Context,
              llvm::Metadata::StorageType Storage,
              unsigned int LineNo,
              ArrayRef<llvm::Metadata*> Ops)

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

Parameters

llvm::LLVMContext& Context
llvm::Metadata::StorageType Storage
unsigned int LineNo
ArrayRef<llvm::Metadata*> Ops

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

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

Parameters

const llvm::Metadata* MD

llvm::TempDICommonBlock clone() const

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

llvm::TempDICommonBlock cloneImpl() const

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

llvm::DIGlobalVariable* getDecl() const

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

llvm::DIFile* getFile() const

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

static llvm::DICommonBlock* getImpl(
    llvm::LLVMContext& Context,
    llvm::DIScope* Scope,
    llvm::DIGlobalVariable* Decl,
    llvm::StringRef Name,
    llvm::DIFile* File,
    unsigned int LineNo,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

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

Parameters

llvm::LLVMContext& Context
llvm::DIScope* Scope
llvm::DIGlobalVariable* Decl
llvm::StringRef Name
llvm::DIFile* File
unsigned int LineNo
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

static llvm::DICommonBlock* getImpl(
    llvm::LLVMContext& Context,
    llvm::Metadata* Scope,
    llvm::Metadata* Decl,
    llvm::MDString* Name,
    llvm::Metadata* File,
    unsigned int LineNo,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

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

Parameters

llvm::LLVMContext& Context
llvm::Metadata* Scope
llvm::Metadata* Decl
llvm::MDString* Name
llvm::Metadata* File
unsigned int LineNo
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

unsigned int getLineNo() const

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

llvm::StringRef getName() const

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

llvm::Metadata* getRawDecl() const

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

llvm::Metadata* getRawFile() const

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

llvm::MDString* getRawName() const

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

llvm::Metadata* getRawScope() const

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

llvm::DIScope* getScope() const

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