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 applied to TheLoop and enabled.

Parameters

NameDescription
TheLoopRepresents a single loop in the control flow graph. Note that not all SCCs in the CFG are necessarily loops.
NameRepresent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.