ReduceUsingSimplifyCFG.h 926 B

12345678910111213141516171819202122232425
  1. //===- ReduceUsingSimplifyCFG.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 call SimplifyCFG on individual basic blocks.
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_SIMPLIFYCFG_H
  14. #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_SIMPLIFYCFG_H
  15. #include "Delta.h"
  16. namespace llvm {
  17. void reduceUsingSimplifyCFGDeltaPass(TestRunner &Test);
  18. void reduceConditionalsTrueDeltaPass(TestRunner &Test);
  19. void reduceConditionalsFalseDeltaPass(TestRunner &Test);
  20. } // namespace llvm
  21. #endif