llvm::hasMustProgress

Return true if the loop itself has the mustprogress attribute.

Synopsis

Declared in <llvm/Analysis/LoopInfo.h>

bool
hasMustProgress(Loop const* L);

Description

Note: Most consumers probably want "isMustProgress" which checks the containing function attribute too.

Return Value

True if L has the mustprogress attribute.

Parameters

NameDescription
LLoop to query for the mustprogress attribute.