#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) { … }