diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2022-02-05 20:07:43 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2022-05-14 11:44:47 +0000 |
commit | 1fd87a682ad7442327078e1eeb63edc4258f9815 (patch) | |
tree | 83b42223e987ef7df2e1036937bc1bb627fa2779 /contrib/llvm-project/llvm/include/llvm/IR/ReplaceConstant.h | |
parent | 04eeddc0aa8e0a417a16eaf9d7d095207f4a8623 (diff) | |
parent | ecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff) | |
download | src-1fd87a682ad7442327078e1eeb63edc4258f9815.tar.gz src-1fd87a682ad7442327078e1eeb63edc4258f9815.zip |
Merge llvm-project main llvmorg-14-init-18294-gdb01b123d012
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-14-init-18294-gdb01b123d012, the last commit before
the upstream release/14.x branch was created.
PR: 261742
MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/IR/ReplaceConstant.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/IR/ReplaceConstant.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/IR/ReplaceConstant.h b/contrib/llvm-project/llvm/include/llvm/IR/ReplaceConstant.h index 5ad1d0a6f920..1d6b10d9a78b 100644 --- a/contrib/llvm-project/llvm/include/llvm/IR/ReplaceConstant.h +++ b/contrib/llvm-project/llvm/include/llvm/IR/ReplaceConstant.h @@ -14,13 +14,16 @@ #ifndef LLVM_IR_REPLACECONSTANT_H #define LLVM_IR_REPLACECONSTANT_H -#include "llvm/IR/Constants.h" -#include "llvm/IR/Instruction.h" #include <map> #include <vector> namespace llvm { +class ConstantExpr; +class Instruction; +class Use; +template <typename PtrType> class SmallPtrSetImpl; + /// The given instruction \p I contains given constant expression \p CE as one /// of its operands, possibly nested within constant expression trees. Convert /// all reachable paths from contant expression operands of \p I to \p CE into |