Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / tools / llvm-reduce / DeltaManager.h
blobc1445a7da769f5a9ce342a30266a108959bccbe8
1 //===- DeltaManager.h - Runs Delta Passes to reduce Input -------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file calls each specialized Delta pass in order to reduce the input IR
10 // file.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAMANAGER_H
15 #define LLVM_TOOLS_LLVM_REDUCE_DELTAMANAGER_H
17 namespace llvm {
18 class raw_ostream;
19 class TestRunner;
21 void printDeltaPasses(raw_ostream &OS);
22 void runDeltaPasses(TestRunner &Tester, int MaxPassIterations);
23 } // namespace llvm
25 #endif