26 #ifndef LLVM_SUPPORT_TRIGRAMINDEX_H 27 #define LLVM_SUPPORT_TRIGRAMINDEX_H 33 #include <unordered_map> 54 bool Defeated =
false;
58 std::vector<unsigned> Counts;
64 std::unordered_map<unsigned, SmallVector<size_t, 4>> Index{256};
69 #endif // LLVM_SUPPORT_TRIGRAMINDEX_H This class represents lattice values for constants.
bool isDefinitelyOut(StringRef Query) const
Returns true, if special case list definitely does not have a line that matches the query...
void insert(std::string Regex)
Inserts a new Regex into the index.
bool isDefeated()
Returned true, iff the heuristic is defeated and not useful.
StringRef - Represent a constant reference to a string, i.e.