Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / tools / llvm-reduce / deltas / ReduceSpecialGlobals.h
blobd17790529e06bc2498bdc4062378ecbd96ffe5c1
1 //===- ReduceSpecialGlobals.h - Specialized Delta Pass ----------*- C++ -*-===//
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 special globals, like @llvm.used, in the provided Module.
12 // For more details about special globals, see
13 // https://llvm.org/docs/LangRef.html#intrinsic-global-variables
15 //===----------------------------------------------------------------------===//
17 #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCESPECIALGLOBALS_H
18 #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCESPECIALGLOBALS_H
20 #include "Delta.h"
22 namespace llvm {
23 void reduceSpecialGlobalsDeltaPass(TestRunner &Test);
24 } // namespace llvm
26 #endif