diff options
| author | Philip Reames <listmail@philipreames.com> | 2019-10-24 16:34:39 -0700 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2019-10-24 16:34:49 -0700 |
| commit | 0c3921e7b9a821b4faa6b75f6b8a10f96b5678a8 (patch) | |
| tree | 5163c6597c8304627e957fd4ec6096171df282de | |
| parent | 9ab6d8236b176bf9dd43741f4d874a8afebed99c (diff) | |
| download | bcm5719-llvm-0c3921e7b9a821b4faa6b75f6b8a10f96b5678a8.tar.gz bcm5719-llvm-0c3921e7b9a821b4faa6b75f6b8a10f96b5678a8.zip | |
[SCEV] Delete unused code from header
| -rw-r--r-- | llvm/include/llvm/Analysis/ScalarEvolution.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h index 9c55f7a5090..8641c307d34 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolution.h +++ b/llvm/include/llvm/Analysis/ScalarEvolution.h @@ -435,35 +435,6 @@ public: } }; -struct ExitLimitQuery { - ExitLimitQuery(const Loop *L, BasicBlock *ExitingBlock, bool AllowPredicates) - : L(L), ExitingBlock(ExitingBlock), AllowPredicates(AllowPredicates) {} - - const Loop *L; - BasicBlock *ExitingBlock; - bool AllowPredicates; -}; - -template <> struct DenseMapInfo<ExitLimitQuery> { - static inline ExitLimitQuery getEmptyKey() { - return ExitLimitQuery(nullptr, nullptr, true); - } - - static inline ExitLimitQuery getTombstoneKey() { - return ExitLimitQuery(nullptr, nullptr, false); - } - - static unsigned getHashValue(ExitLimitQuery Val) { - return hash_combine(hash_combine(Val.L, Val.ExitingBlock), - Val.AllowPredicates); - } - - static bool isEqual(ExitLimitQuery LHS, ExitLimitQuery RHS) { - return LHS.L == RHS.L && LHS.ExitingBlock == RHS.ExitingBlock && - LHS.AllowPredicates == RHS.AllowPredicates; - } -}; - /// The main scalar evolution driver. Because client code (intentionally) /// can't do much with the SCEV objects directly, they must ask this class /// for services. |

