[clang] Propagate -ftime-report to offload lto (#122143)
[llvm-project.git] / llvm / tools / llvm-reduce / deltas / Utils.h
blobe94aee5a91153858b943e79eb536ce62a02c331d
1 //===- Utils.h - llvm-reduce utility functions ------------------*- 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 contains some utility functions supporting llvm-reduce.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_UTILS_H
14 #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_UTILS_H
16 #include "llvm/IR/Function.h"
17 #include "llvm/IR/Value.h"
18 #include "llvm/Support/CommandLine.h"
20 namespace llvm {
22 extern cl::opt<bool> Verbose;
24 Value *getDefaultValue(Type *T);
25 bool hasAliasUse(Function &F);
26 bool hasAliasOrBlockAddressUse(Function &F);
28 } // namespace llvm
30 #endif