//===- ReduceUsingSimplifyCFG.h - Specialized Delta Pass ------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements a function which calls the Generic Delta pass in order // to call SimplifyCFG on individual basic blocks. // //===----------------------------------------------------------------------===// #include "ReduceUsingSimplifyCFG.h" #include "llvm/Analysis/TargetTransformInfo.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Instructions.h" #include "llvm/Transforms/Utils/Local.h" usingnamespacellvm; static void reduceUsingSimplifyCFG(Oracle &O, ReducerWorkItem &WorkItem) { … } void llvm::reduceUsingSimplifyCFGDeltaPass(TestRunner &Test) { … } static void reduceConditionals(Oracle &O, ReducerWorkItem &WorkItem, bool Direction) { … } void llvm::reduceConditionalsTrueDeltaPass(TestRunner &Test) { … } void llvm::reduceConditionalsFalseDeltaPass(TestRunner &Test) { … }