1 //===- ReduceGlobalVars.h - Specialized Delta Pass --------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file implements a function which calls the Generic Delta pass in order
10 // to reduce Global Variables in the provided Module.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEGLOBALVARS_H
15 #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEGLOBALVARS_H
18 #include "llvm/IR/Value.h"
19 #include "llvm/Transforms/Utils/Cloning.h"
22 void reduceGlobalsDeltaPass(TestRunner
&Test
);