llvm/llvm/tools/llvm-reduce/deltas/RunIRPasses.cpp

//===- RunIRPasses.cpp ----------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "RunIRPasses.h"
#include "Delta.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"

usingnamespacellvm;

extern cl::OptionCategory LLVMReduceOptions;

static cl::opt<std::string>
    PassPipeline("ir-passes",
                 cl::desc("A textual description of the pass pipeline, same as "
                          "what's passed to `opt -passes`."),
                 cl::init("function(sroa,instcombine<no-verify-fixpoint>,gvn,"
                          "simplifycfg,infer-address-spaces)"),
                 cl::cat(LLVMReduceOptions));

static void runPasses(Oracle &O, ReducerWorkItem &WorkItem) {}

void llvm::runIRPassesDeltaPass(TestRunner &Test) {}