gem5 v24.0.0.0
|
Create a factory to determine if input matches a pattern. More...
#include <dictionary_compressor.hh>
Static Public Member Functions | |
static std::unique_ptr< Pattern > | getPattern (const DictionaryEntry &bytes, const DictionaryEntry &dict_bytes, const int match_location) |
Create a factory to determine if input matches a pattern.
The if else chains are constructed by recursion. The patterns should be explored sorted by size for correct behaviour.
Definition at line 151 of file dictionary_compressor.hh.
|
inlinestatic |
Definition at line 153 of file dictionary_compressor.hh.
References gem5::compression::DictionaryCompressor< T >::Factory< Head, Tail >::getPattern().
Referenced by gem5::compression::DictionaryCompressor< T >::Factory< Head, Tail >::getPattern().