xref: /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ReduceArguments.h (revision 82d56013d7b633d116a93943de88e08335357a7c)
17330f729Sjoerg //===- ReduceArguments.h - Specialized Delta Pass -------------------------===//
27330f729Sjoerg //
37330f729Sjoerg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
47330f729Sjoerg // See https://llvm.org/LICENSE.txt for license information.
57330f729Sjoerg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
67330f729Sjoerg //
77330f729Sjoerg //===----------------------------------------------------------------------===//
87330f729Sjoerg //
97330f729Sjoerg // This file implements a function which calls the Generic Delta pass in order
107330f729Sjoerg // to reduce uninteresting Arguments from defined functions.
117330f729Sjoerg //
127330f729Sjoerg //===----------------------------------------------------------------------===//
137330f729Sjoerg 
14*82d56013Sjoerg #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEARGUMENTS_H
15*82d56013Sjoerg #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEARGUMENTS_H
16*82d56013Sjoerg 
177330f729Sjoerg #include "Delta.h"
187330f729Sjoerg #include "llvm/IR/Argument.h"
197330f729Sjoerg #include "llvm/Transforms/Utils/BasicBlockUtils.h"
207330f729Sjoerg #include "llvm/Transforms/Utils/Cloning.h"
217330f729Sjoerg 
227330f729Sjoerg namespace llvm {
237330f729Sjoerg void reduceArgumentsDeltaPass(TestRunner &Test);
247330f729Sjoerg } // namespace llvm
25*82d56013Sjoerg 
26*82d56013Sjoerg #endif
27