xref: /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.h (revision 82d56013d7b633d116a93943de88e08335357a7c)
1*82d56013Sjoerg //===- reduceGlobalsInitializersDeltaPass.h - Specialized Delta Pass ------===//
2*82d56013Sjoerg //
3*82d56013Sjoerg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*82d56013Sjoerg // See https://llvm.org/LICENSE.txt for license information.
5*82d56013Sjoerg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*82d56013Sjoerg //
7*82d56013Sjoerg //===----------------------------------------------------------------------===//
8*82d56013Sjoerg //
9*82d56013Sjoerg // This file implements a function which calls the Generic Delta pass in order
10*82d56013Sjoerg // to reduce initializers of Global Variables in the provided Module.
11*82d56013Sjoerg //
12*82d56013Sjoerg //===----------------------------------------------------------------------===//
13*82d56013Sjoerg 
14*82d56013Sjoerg #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEGLOBALVARINITIALIZERS_H
15*82d56013Sjoerg #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEGLOBALVARINITIALIZERS_H
16*82d56013Sjoerg 
17*82d56013Sjoerg #include "Delta.h"
18*82d56013Sjoerg #include "llvm/IR/Value.h"
19*82d56013Sjoerg #include "llvm/Transforms/Utils/Cloning.h"
20*82d56013Sjoerg 
21*82d56013Sjoerg namespace llvm {
22*82d56013Sjoerg void reduceGlobalsInitializersDeltaPass(TestRunner &Test);
23*82d56013Sjoerg } // namespace llvm
24*82d56013Sjoerg 
25*82d56013Sjoerg #endif
26