summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-reduce/DeltaManager.h
blob: 027685e4120d7886188d6a966eeb4193066b5d69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===- llvm-reduce.cpp - The LLVM Delta Reduction utility -----------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This class calls each specialized Delta pass by passing it as a template to
// the generic Delta Pass.
//
//===----------------------------------------------------------------------===//

#include "TestRunner.h"
#include "deltas/Delta.h"
#include "deltas/RemoveFunctions.h"

namespace llvm {

inline void runDeltaPasses(TestRunner &Tester) {
  outs() << "Reducing functions...\n";
  Delta<RemoveFunctions>::run(Tester);
  // TODO: Implement the rest of the Delta Passes
}

} // namespace llvm
OpenPOWER on IntegriCloud