27 #ifndef LLVM_SUPPORT_TRIGRAMINDEX_H 28 #define LLVM_SUPPORT_TRIGRAMINDEX_H 34 #include <unordered_map> 55 bool Defeated =
false;
59 std::vector<unsigned> Counts;
65 std::unordered_map<unsigned, SmallVector<size_t, 4>> Index{256};
70 #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.
static void Query(const MachineInstr &MI, AliasAnalysis &AA, bool &Read, bool &Write, bool &Effects, bool &StackPointer)
StringRef - Represent a constant reference to a string, i.e.