llvm::getBooleanLoopAttribute

Returns true if Name is applied to TheLoop and enabled.

Synopsis

Declared in <llvm/Analysis/LoopInfo.h>

bool
getBooleanLoopAttribute(
    Loop const* TheLoop,
    StringRef Name);

Return Value

True if Name is present and enabled on TheLoop.

Parameters

NameDescription
TheLoopLoop whose attribute is queried.
NameBoolean attribute name to look up.