25 lines · c
1//===- ReduceArguments.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-exception6//7//===----------------------------------------------------------------------===//8//9// This file implements a function which calls the Generic Delta pass in order10// to reduce uninteresting BasicBlocks from defined functions.11//12//===----------------------------------------------------------------------===//13#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEBASICBLOCKS_H14#define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEBASICBLOCKS_H15 16#include "Delta.h"17 18namespace llvm {19void reduceBasicBlocksDeltaPass(Oracle &O, ReducerWorkItem &WorkItem);20void reduceUnreachableBasicBlocksDeltaPass(Oracle &O,21 ReducerWorkItem &WorkItem);22} // namespace llvm23 24#endif25