LLVM 22.0.0git
|
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 |
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.
Definition at line 127 of file HashRecognize.cpp.
bool ValueEvolution::computeEvolutions | ( | ArrayRef< PhiStepPair > | PhiEvolutions | ) |
Definition at line 266 of file HashRecognize.cpp.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::emplace_or_assign(), llvm::StringRef::empty(), I, and KnownPhis.
Referenced by llvm::HashRecognize::recognizeCRC().
|
inline |
Definition at line 116 of file HashRecognize.cpp.
Referenced by llvm::HashRecognize::recognizeCRC().
KnownPhiMap ValueEvolution::KnownPhis |
Definition at line 124 of file HashRecognize.cpp.
Referenced by computeEvolutions(), and llvm::HashRecognize::recognizeCRC().
SmallPtrSet<const Instruction *, 16> ValueEvolution::Visited |
Definition at line 120 of file HashRecognize.cpp.
Referenced by llvm::HashRecognize::recognizeCRC().