LLVM 22.0.0git
Public Member Functions | Public Attributes | List of all members
ValueEvolution Class Reference

A much simpler version of ValueTracking, in that it computes KnownBits of values, except that it computes the evolution of KnownBits in a loop with a given trip count, and predication is specialized for a significant-bit check. More...

Public Member Functions

 ValueEvolution (unsigned TripCount, bool ByteOrderSwapped)
 
bool computeEvolutions (ArrayRef< PhiStepPair > PhiEvolutions)
 
StringRef getError () const
 

Public Attributes

SmallPtrSet< const Instruction *, 16 > Visited
 
KnownPhiMap KnownPhis
 

Detailed Description

A much simpler version of ValueTracking, in that it computes KnownBits of values, except that it computes the evolution of KnownBits in a loop with a given trip count, and predication is specialized for a significant-bit check.

Definition at line 88 of file HashRecognize.cpp.

Constructor & Destructor Documentation

◆ ValueEvolution()

ValueEvolution::ValueEvolution ( unsigned  TripCount,
bool  ByteOrderSwapped 
)

Definition at line 127 of file HashRecognize.cpp.

Member Function Documentation

◆ computeEvolutions()

bool ValueEvolution::computeEvolutions ( ArrayRef< PhiStepPair PhiEvolutions)

◆ getError()

StringRef ValueEvolution::getError ( ) const
inline

Definition at line 116 of file HashRecognize.cpp.

Referenced by llvm::HashRecognize::recognizeCRC().

Member Data Documentation

◆ KnownPhis

KnownPhiMap ValueEvolution::KnownPhis

Definition at line 124 of file HashRecognize.cpp.

Referenced by computeEvolutions(), and llvm::HashRecognize::recognizeCRC().

◆ Visited

SmallPtrSet<const Instruction *, 16> ValueEvolution::Visited

Definition at line 120 of file HashRecognize.cpp.

Referenced by llvm::HashRecognize::recognizeCRC().


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