xref: /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ReduceArguments.h (revision 82d56013d7b633d116a93943de88e08335357a7c)
1 //===- ReduceArguments.h - Specialized Delta Pass -------------------------===//
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 implements a function which calls the Generic Delta pass in order
10 // to reduce uninteresting Arguments from defined functions.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEARGUMENTS_H
15 #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEARGUMENTS_H
16 
17 #include "Delta.h"
18 #include "llvm/IR/Argument.h"
19 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
20 #include "llvm/Transforms/Utils/Cloning.h"
21 
22 namespace llvm {
23 void reduceArgumentsDeltaPass(TestRunner &Test);
24 } // namespace llvm
25 
26 #endif
27