diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 12:02:47 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-04 12:02:47 +0000 |
commit | 9234e060659bec52046187e4123ceb784264036c (patch) | |
tree | b7ff577d7ef88cbfbe2e7a4412a536bcbf4854b4 /include | |
parent | d90488f7e8160c136b2b40276e9b6c1c9c688332 (diff) | |
download | llvm-9234e060659bec52046187e4123ceb784264036c.tar.gz llvm-9234e060659bec52046187e4123ceb784264036c.tar.bz2 llvm-9234e060659bec52046187e4123ceb784264036c.tar.xz |
[Modules] Move the ConstantFolder into the IR library where it can
reference the ConstantExpr implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/ConstantFolder.h (renamed from include/llvm/Support/ConstantFolder.h) | 6 | ||||
-rw-r--r-- | include/llvm/IR/IRBuilder.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Support/ConstantFolder.h b/include/llvm/IR/ConstantFolder.h index 4aad952aac..86668f7e7d 100644 --- a/include/llvm/Support/ConstantFolder.h +++ b/include/llvm/IR/ConstantFolder.h @@ -1,4 +1,4 @@ -//===-- llvm/Support/ConstantFolder.h - Constant folding helper -*- C++ -*-===// +//===- ConstantFolder.h - Constant folding helper ---------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -14,8 +14,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_SUPPORT_CONSTANTFOLDER_H -#define LLVM_SUPPORT_CONSTANTFOLDER_H +#ifndef LLVM_IR_CONSTANTFOLDER_H +#define LLVM_IR_CONSTANTFOLDER_H #include "llvm/IR/Constants.h" #include "llvm/IR/InstrTypes.h" diff --git a/include/llvm/IR/IRBuilder.h b/include/llvm/IR/IRBuilder.h index 29264668e1..d28652f125 100644 --- a/include/llvm/IR/IRBuilder.h +++ b/include/llvm/IR/IRBuilder.h @@ -19,13 +19,13 @@ #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/IR/BasicBlock.h" +#include "llvm/IR/ConstantFolder.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Operator.h" #include "llvm/IR/ValueHandle.h" #include "llvm/Support/CBindingWrapping.h" -#include "llvm/Support/ConstantFolder.h" namespace llvm { class MDNode; |