Halide
|
Lossily track known equal exprs with a cache. More...
#include <IREquality.h>
Public Member Functions | |
void | insert (const Expr &a, const Expr &b) |
bool | contains (const Expr &a, const Expr &b) const |
void | clear () |
IRCompareCache ()=default | |
IRCompareCache (int b) | |
Lossily track known equal exprs with a cache.
On collision, the old pair is evicted. Used below by ExprWithCompareCache.
Definition at line 22 of file IREquality.h.
|
default |
|
inline |
Definition at line 67 of file IREquality.h.
Definition at line 46 of file IREquality.h.
Definition at line 52 of file IREquality.h.
References Halide::Internal::IntrusivePtr< T >::same_as().
|
inline |
Definition at line 59 of file IREquality.h.