Remove blocks satisfying Pred from L's block list.

Synopsis

Declared in <llvm/Support/GenericLoopInfo.h>

template<typename PredicateT>
void
removeBlocksIf(
    Loop& L,
    PredicateT Pred);

Description

Preserves the order of the remaining blocks. Only L itself is updated, not its ancestors or descendants, and not the block‐to‐loop mapping.

Parameters

Name

Description

L

Loop whose block list is filtered.

Pred

Predicate that returns true for blocks to remove.

Created with MrDocs