diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-04 22:41:48 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-04 22:41:48 +0000 |
commit | b52abbc089c21a98acb85fb2496a0fdf1f7893e3 (patch) | |
tree | 4a9d1fe3a0e3feacea1d637131b754943e0939f1 /include/llvm/Analysis | |
parent | 34707fabb7e5e41596d95b75bad53f604e988e9a (diff) | |
download | external_llvm-b52abbc089c21a98acb85fb2496a0fdf1f7893e3.zip external_llvm-b52abbc089c21a98acb85fb2496a0fdf1f7893e3.tar.gz external_llvm-b52abbc089c21a98acb85fb2496a0fdf1f7893e3.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/ConstantFolding.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/SparsePropagation.h | 2 | ||||
-rw-r--r-- | include/llvm/Analysis/ValueTracking.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Analysis/ConstantFolding.h b/include/llvm/Analysis/ConstantFolding.h index 3e393ff..3293d26 100644 --- a/include/llvm/Analysis/ConstantFolding.h +++ b/include/llvm/Analysis/ConstantFolding.h @@ -22,7 +22,7 @@ namespace llvm { class TargetData; class Function; class Type; - class LLVMContext; + struct LLVMContext; /// ConstantFoldInstruction - Attempt to constant fold the specified /// instruction. If successful, the constant result is returned, if not, null diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 5e24a57..53934d8 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -40,7 +40,7 @@ namespace llvm { class DebugLoc; struct DebugLocTracker; class Instruction; - class LLVMContext; + struct LLVMContext; class DIDescriptor { protected: diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 739f06b..1a648df 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -40,7 +40,7 @@ namespace llvm { class Type; class ScalarEvolution; class TargetData; - class LLVMContext; + struct LLVMContext; class Loop; class LoopInfo; class Operator; diff --git a/include/llvm/Analysis/SparsePropagation.h b/include/llvm/Analysis/SparsePropagation.h index 638008d..8778233 100644 --- a/include/llvm/Analysis/SparsePropagation.h +++ b/include/llvm/Analysis/SparsePropagation.h @@ -31,7 +31,7 @@ namespace llvm { class BasicBlock; class Function; class SparseSolver; - class LLVMContext; + struct LLVMContext; template<typename T> class SmallVectorImpl; diff --git a/include/llvm/Analysis/ValueTracking.h b/include/llvm/Analysis/ValueTracking.h index 1ebd9c2..fa46921 100644 --- a/include/llvm/Analysis/ValueTracking.h +++ b/include/llvm/Analysis/ValueTracking.h @@ -23,7 +23,7 @@ namespace llvm { class Instruction; class APInt; class TargetData; - class LLVMContext; + struct LLVMContext; /// ComputeMaskedBits - Determine which of the bits specified in Mask are /// known to be either zero or one and return them in the KnownZero/KnownOne |