get overloads
Declared in <llvm/IR/Metadata.h>
Return a uniqued tuple metadata node with operands MDs.
static
MDTuple*
get(
LLVMContext& Context,
ArrayRef<Metadata*> MDs);
» more...
Get or create a DIFile with the given operands.
static
DIFile*
get(
LLVMContext& Context,
StringRef Filename,
StringRef Directory,
std::optional<ChecksumInfo<StringRef>> CS = std::nullopt,
std::optional<StringRef> Source = std::nullopt);
» more...
Get or create a DIFile with the given operands.
static
DIFile*
get(
LLVMContext& Context,
MDString* Filename,
MDString* Directory,
std::optional<ChecksumInfo<MDString*>> CS = std::nullopt,
MDString* Source = nullptr);
» more...
MDs.| Name | Description |
|---|---|
| Context | LLVM context that owns the node. |
| MDs | Operand metadata. |
| Filename | Source filename. |
| Directory | Source directory. |
| CS | Optional file checksum. |
| Source | Optional embedded source text. |