Return true if any node in Root satisfies the predicate Pred.

Synopsis

Declared in <llvm/Analysis/ScalarEvolutionExpressions.h>

template<typename PredTy>
bool
SCEVExprContains(
    SCEV const* Root,
    PredTy Pred);

Return Value

True if any node in Root satisfies Pred.

Parameters

Name

Description

Root

Root SCEV of the expression tree.

Pred

Predicate invoked for each visited SCEV.

Created with MrDocs