class DILabel

Declaration

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

Description

Label.

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

Inherits from: DINode

Member Variables

Inherited from Metadata:

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

Method Overview

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

Parameters

const llvm::Metadata* MD

llvm::TempDILabel clone() const

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

llvm::DIFile* getFile() const

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

unsigned int getLine() const

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

llvm::StringRef getName() const

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

llvm::Metadata* getRawFile() const

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

llvm::MDString* getRawName() const

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

llvm::Metadata* getRawScope() const

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

llvm::DILocalScope* getScope() const

Description

Get the local scope for this label. Labels must be defined in a local scope.

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

bool isValidLocationForIntrinsic(
    const llvm::DILocation* DL) const

Description

Check that a location is valid for this label. Check that \c DL exists, is in the same subprogram, and has the same inlined-at location as \c this. (Otherwise, it's not a valid attachment to a \a DbgInfoIntrinsic.)

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

Parameters

const llvm::DILocation* DL