class DIMacroFile

Declaration

class DIMacroFile : public DIMacroNode { /* full declaration omitted */ };

Description

Macro Info DWARF-like metadata node. A metadata node with a DWARF macro info (i.e., a constant named\c DW_MACINFO_*, defined in llvm/BinaryFormat/Dwarf.h). Called \a DIMacroNode because it's potentially used for non-DWARF output.

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

Inherits from: DIMacroNode

Member Variables

private unsigned int Line

Inherited from Metadata:

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

Method Overview

  • private DIMacroFile(llvm::LLVMContext & C, llvm::Metadata::StorageType Storage, unsigned int MIType, unsigned int Line, ArrayRef<llvm::Metadata *> Ops)
  • public static bool classof(const llvm::Metadata * MD)
  • public llvm::TempDIMacroFile clone() const
  • private llvm::TempDIMacroFile cloneImpl() const
  • public llvm::DIMacroNodeArray getElements() const
  • public llvm::DIFile * getFile() const
  • private static llvm::DIMacroFile * getImpl(llvm::LLVMContext & Context, unsigned int MIType, unsigned int Line, llvm::DIFile * File, llvm::DIMacroNodeArray Elements, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • private static llvm::DIMacroFile * getImpl(llvm::LLVMContext & Context, unsigned int MIType, unsigned int Line, llvm::Metadata * File, llvm::Metadata * Elements, llvm::Metadata::StorageType Storage, bool ShouldCreate = true)
  • public unsigned int getLine() const
  • public llvm::Metadata * getRawElements() const
  • public llvm::Metadata * getRawFile() const
  • public void replaceElements(llvm::DIMacroNodeArray Elements)
  • private ~DIMacroFile()

Inherited from DIMacroNode:

Inherited from MDNode:

Inherited from Metadata:

Methods

DIMacroFile(llvm::LLVMContext& C,
            llvm::Metadata::StorageType Storage,
            unsigned int MIType,
            unsigned int Line,
            ArrayRef<llvm::Metadata*> Ops)

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

Parameters

llvm::LLVMContext& C
llvm::Metadata::StorageType Storage
unsigned int MIType
unsigned int Line
ArrayRef<llvm::Metadata*> Ops

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

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

Parameters

const llvm::Metadata* MD

llvm::TempDIMacroFile clone() const

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

llvm::TempDIMacroFile cloneImpl() const

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

llvm::DIMacroNodeArray getElements() const

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

llvm::DIFile* getFile() const

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

static llvm::DIMacroFile* getImpl(
    llvm::LLVMContext& Context,
    unsigned int MIType,
    unsigned int Line,
    llvm::DIFile* File,
    llvm::DIMacroNodeArray Elements,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

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

Parameters

llvm::LLVMContext& Context
unsigned int MIType
unsigned int Line
llvm::DIFile* File
llvm::DIMacroNodeArray Elements
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

static llvm::DIMacroFile* getImpl(
    llvm::LLVMContext& Context,
    unsigned int MIType,
    unsigned int Line,
    llvm::Metadata* File,
    llvm::Metadata* Elements,
    llvm::Metadata::StorageType Storage,
    bool ShouldCreate = true)

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

Parameters

llvm::LLVMContext& Context
unsigned int MIType
unsigned int Line
llvm::Metadata* File
llvm::Metadata* Elements
llvm::Metadata::StorageType Storage
bool ShouldCreate = true

unsigned int getLine() const

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

llvm::Metadata* getRawElements() const

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

llvm::Metadata* getRawFile() const

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

void replaceElements(
    llvm::DIMacroNodeArray Elements)

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

Parameters

llvm::DIMacroNodeArray Elements

~DIMacroFile()

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