Find string metadata for a loop.
Declared in <llvm/Analysis/LoopInfo.h>
MDNode*
findOptionMDForLoop(
Loop const* TheLoop,
StringRef Name);
Returns the MDNode where the first operand is the metadata's name. The following operands are the metadata's values. If no metadata with Name is found, return nullptr.
The attribute MDNode, or nullptr if not found.
| Name | Description |
|---|---|
| TheLoop | Loop whose metadata is searched. |
| Name | Attribute name to look up. |