summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-reduce/deltas/RemoveFunctions.h
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2019-08-06 19:40:37 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2019-08-06 19:40:37 +0000
commite2f17e264997ab6f2630d368bfc7b517e75507d3 (patch)
treee2100c3e8f97e911e20e9718e9cc9e6e0bf80152 /llvm/tools/llvm-reduce/deltas/RemoveFunctions.h
parente5e10b526f2fca057478685777c456e0d2cb7782 (diff)
downloadbcm5719-llvm-e2f17e264997ab6f2630d368bfc7b517e75507d3.tar.gz
bcm5719-llvm-e2f17e264997ab6f2630d368bfc7b517e75507d3.zip
Revert "Added Delta IR Reduction Tool"
This reverts commit r368071, it broke buildbots. llvm-svn: 368073
Diffstat (limited to 'llvm/tools/llvm-reduce/deltas/RemoveFunctions.h')
-rw-r--r--llvm/tools/llvm-reduce/deltas/RemoveFunctions.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/tools/llvm-reduce/deltas/RemoveFunctions.h b/llvm/tools/llvm-reduce/deltas/RemoveFunctions.h
deleted file mode 100644
index 3a6e501dc93..00000000000
--- a/llvm/tools/llvm-reduce/deltas/RemoveFunctions.h
+++ /dev/null
@@ -1,28 +0,0 @@
-//===- 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 file is a Specialized Delta Pass, which removes the functions that are
-// not in the provided function-chunks.
-//
-//===----------------------------------------------------------------------===//
-
-#include "Delta.h"
-#include "llvm/Transforms/Utils/Cloning.h"
-
-namespace llvm {
-
-class RemoveFunctions {
-public:
- /// Outputs the number of Functions in the given Module
- static int getTargetCount(Module *Program);
- /// Clones module and returns it with chunk functions only
- static std::unique_ptr<Module>
- extractChunksFromModule(std::vector<Chunk> ChunksToKeep, Module *Program);
-};
-
-} // namespace llvm
OpenPOWER on IntegriCloud