[Modules] Move the ConstantFolder into the IR library where it can

reference the ConstantExpr implementation.

llvm-svn: 202833
This commit is contained in:
Chandler Carruth 2014-03-04 12:02:47 +00:00
parent 452a00747e
commit b30e68b0bf
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
//===-- llvm/Support/ConstantFolder.h - Constant folding helper -*- C++ -*-===// //===- ConstantFolder.h - Constant folding helper ---------------*- C++ -*-===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //
@ -14,8 +14,8 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef LLVM_SUPPORT_CONSTANTFOLDER_H #ifndef LLVM_IR_CONSTANTFOLDER_H
#define LLVM_SUPPORT_CONSTANTFOLDER_H #define LLVM_IR_CONSTANTFOLDER_H
#include "llvm/IR/Constants.h" #include "llvm/IR/Constants.h"
#include "llvm/IR/InstrTypes.h" #include "llvm/IR/InstrTypes.h"

View File

@ -19,13 +19,13 @@
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h" #include "llvm/ADT/Twine.h"
#include "llvm/IR/BasicBlock.h" #include "llvm/IR/BasicBlock.h"
#include "llvm/IR/ConstantFolder.h"
#include "llvm/IR/DataLayout.h" #include "llvm/IR/DataLayout.h"
#include "llvm/IR/Instructions.h" #include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h" #include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Operator.h" #include "llvm/IR/Operator.h"
#include "llvm/IR/ValueHandle.h" #include "llvm/IR/ValueHandle.h"
#include "llvm/Support/CBindingWrapping.h" #include "llvm/Support/CBindingWrapping.h"
#include "llvm/Support/ConstantFolder.h"
namespace llvm { namespace llvm {
class MDNode; class MDNode;