1 //===- ReduceGlobalVars.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 initialized Global Variables in the provided Module. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #include "Delta.h" 15 #include "llvm/IR/Value.h" 16 #include "llvm/Transforms/Utils/Cloning.h" 17 18 namespace llvm { 19 void reduceGlobalsDeltaPass(TestRunner &Test); 20 } // namespace llvm 21