Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h

not hideous.  Also, fix some MSVC compile errors.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78115 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2009-08-04 22:41:48 +00:00
parent 57035994f7
commit 48b2f3e485
38 changed files with 56 additions and 834 deletions

View File

@ -38,7 +38,7 @@ class CallGraph;
class TargetData;
class Loop;
class LoopInfo;
class LLVMContext;
struct LLVMContext;
/// CloneModule - Return an exact copy of the specified module
///

View File

@ -27,7 +27,7 @@ class PHINode;
class AllocaInst;
class ConstantExpr;
class TargetData;
class LLVMContext;
struct LLVMContext;
struct DbgInfoIntrinsic;
template<typename T> class SmallVectorImpl;

View File

@ -23,7 +23,7 @@ class AllocaInst;
class DominatorTree;
class DominanceFrontier;
class AliasSetTracker;
class LLVMContext;
struct LLVMContext;
/// isAllocaPromotable - Return true if this alloca is legal for promotion.
/// This is true if there are only loads and stores to the alloca...

View File

@ -20,7 +20,7 @@
namespace llvm {
class Value;
class Instruction;
class LLVMContext;
struct LLVMContext;
typedef DenseMap<const Value *, Value *> ValueMapTy;
Value *MapValue(const Value *V, ValueMapTy &VM, LLVMContext &Context);