LLVM 22.0.0git
llvm::ScalarEvolution::LoopGuards Class Reference

#include "llvm/Analysis/ScalarEvolution.h"

Public Member Functions

LLVM_ABI const SCEVrewrite (const SCEV *Expr) const
 Try to apply the collected loop guards to Expr.

Static Public Member Functions

static LLVM_ABI LoopGuards collect (const Loop *L, ScalarEvolution &SE)
 Collect rewrite map for loop guards for loop L, together with flags indicating if NUW and NSW can be preserved during rewriting.

Detailed Description

Definition at line 1342 of file ScalarEvolution.h.

Member Function Documentation

◆ collect()

ScalarEvolution::LoopGuards ScalarEvolution::LoopGuards::collect ( const Loop * L,
ScalarEvolution & SE )
static

Collect rewrite map for loop guards for loop L, together with flags indicating if NUW and NSW can be preserved during rewriting.

Definition at line 15461 of file ScalarEvolution.cpp.

References llvm::ScalarEvolution::ScalarEvolution().

Referenced by llvm::ScalarEvolution::applyLoopGuards(), evaluatePtrAddRecAtMaxBTCWillNotWrap(), llvm::isDereferenceableAndAlignedInLoop(), and shouldPeelLastIteration().

◆ rewrite()


The documentation for this class was generated from the following files: