Find and return the loop attribute node for the attribute Name in LoopID. Return nullptr if there is no such attribute.
Declared in <llvm/Analysis/LoopInfo.h>
MDNode*
findOptionMDForLoopID(
MDNode* LoopID,
StringRef Name);
The attribute MDNode, or nullptr if not found.
| Name | Description |
|---|---|
| LoopID | Loop-ID metadata node to search. |
| Name | Attribute name to look up. |