[clang] Propagate -ftime-report to offload lto (#122143)
[llvm-project.git] / llvm / tools / llvm-reduce / deltas / ReduceIRReferences.h
blob548559a0775b4d64e75ef5af9cf416366f8c66df
1 //===- ReduceIRReferences.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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file implements a function which calls the Generic Delta pass in order
10 // to reduce uninteresting IR references from the MachineFunction.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEIRREFERENCES_MIR_H
15 #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEIRREFERENCES_MIR_H
17 namespace llvm {
18 class TestRunner;
20 /// Remove IR references from instructions (i.e. from memory operands)
21 void reduceIRInstructionReferencesDeltaPass(TestRunner &Test);
23 /// Remove IR BasicBlock references (the block names)
24 void reduceIRBlockReferencesDeltaPass(TestRunner &Test);
26 /// Remove IR references from function level fields (e.g. frame object names)
27 void reduceIRFunctionReferencesDeltaPass(TestRunner &Test);
29 } // namespace llvm
31 #endif