1//===--- DeltaPass.h - Delta Pass Structure --------------------*- 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#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAPASS_H
10#define LLVM_TOOLS_LLVM_REDUCE_DELTAPASS_H
11
12#include "ReducerWorkItem.h"
13#include "deltas/Delta.h"
14#include "llvm/ADT/StringRef.h"
15
16namespace llvm {
17struct DeltaPass {
18 StringRef Name; // e.g., "strip-debug-info"
19 void (*Func)(Oracle &, ReducerWorkItem &); // e.g., stripDebugInfoDeltaPass
20 StringRef Desc; // e.g., "Stripping Debug Info"
21};
22} // namespace llvm
23
24#endif
25

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of llvm/tools/llvm-reduce/DeltaPass.h