xref: /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ReduceUsingSimplifyCFG.h (revision d415bd752c734aee168c4ee86ff32e8cc249eb16)
1*d415bd75Srobert //===- ReduceUsingSimplifyCFG.h - Specialized Delta Pass --------*- C++ -*-===//
2*d415bd75Srobert //
3*d415bd75Srobert // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*d415bd75Srobert // See https://llvm.org/LICENSE.txt for license information.
5*d415bd75Srobert // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*d415bd75Srobert //
7*d415bd75Srobert //===----------------------------------------------------------------------===//
8*d415bd75Srobert //
9*d415bd75Srobert // This file implements a function which calls the Generic Delta pass in order
10*d415bd75Srobert // to call SimplifyCFG on individual basic blocks.
11*d415bd75Srobert //
12*d415bd75Srobert //===----------------------------------------------------------------------===//
13*d415bd75Srobert 
14*d415bd75Srobert #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_SIMPLIFYCFG_H
15*d415bd75Srobert #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_SIMPLIFYCFG_H
16*d415bd75Srobert 
17*d415bd75Srobert #include "Delta.h"
18*d415bd75Srobert 
19*d415bd75Srobert namespace llvm {
20*d415bd75Srobert void reduceUsingSimplifyCFGDeltaPass(TestRunner &Test);
21*d415bd75Srobert void reduceConditionalsTrueDeltaPass(TestRunner &Test);
22*d415bd75Srobert void reduceConditionalsFalseDeltaPass(TestRunner &Test);
23*d415bd75Srobert } // namespace llvm
24*d415bd75Srobert 
25*d415bd75Srobert #endif
26