Return the optional boolean value of loop attribute Name on TheLoop.
Declared in <llvm/Analysis/LoopInfo.h>
std::optional<bool>
getOptionalBoolLoopAttribute(
Loop const* TheLoop,
StringRef Name);
The attribute value when set, otherwise std::nullopt.
| Name | Description |
|---|---|
| TheLoop | Loop whose attribute is queried. |
| Name | Boolean attribute name to look up. |