get overloads

Synopses

Declared in <llvm/IR/Metadata.h>

Return a uniqued tuple metadata node with operands MDs.

static
MDTuple*
get(
    LLVMContext& Context,
    ArrayRef<Metadata*> MDs);

Get or create a DIObjCProperty with the given operands.

static
DIObjCProperty*
get(
    LLVMContext& Context,
    StringRef Name,
    DIFile* File,
    unsigned int Line,
    StringRef GetterName,
    StringRef SetterName,
    unsigned int Attributes,
    DIType* Type);

Get or create a DIObjCProperty with the given operands.

static
DIObjCProperty*
get(
    LLVMContext& Context,
    MDString* Name,
    Metadata* File,
    unsigned int Line,
    MDString* GetterName,
    MDString* SetterName,
    unsigned int Attributes,
    Metadata* Type);

Return Value

  • A uniqued tuple metadata node with operands MDs.

  • The metadata node (uniqued, distinct, or temporary as requested); getIfExists may return nullptr.

Parameters

Name

Description

Context

LLVM context that owns the node.

MDs

Operand metadata.

Name

Source‐level name.

File

Source file metadata.

Line

Source line number.

GetterName

Objective‐C getter selector name.

SetterName

Objective‐C setter selector name.

Attributes

Objective‐C property attributes bitfield.

Type

Type metadata.

Created with MrDocs