diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2006-12-02 02:22:01 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2006-12-02 02:22:01 +0000 |
commit | 97af751deb9b26fd42fbcee082da9ccc4ded5b45 (patch) | |
tree | b8b0b9a80532db41e09d5ce6a4d3f6e3d7823184 | |
parent | 9919e3df178fdb9f9b9b9147f6701294e363fa77 (diff) |
Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32113 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/ConstantFolding.cpp | 1 | ||||
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 1 | ||||
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 1 | ||||
-rw-r--r-- | lib/CodeGen/RegAllocLinearScan.cpp | 1 | ||||
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1 | ||||
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 1 | ||||
-rw-r--r-- | lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 1 | ||||
-rw-r--r-- | lib/Transforms/Scalar/PredicateSimplifier.cpp | 14 | ||||
-rw-r--r-- | lib/VMCore/Instructions.cpp | 2 | ||||
-rw-r--r-- | win32/Analysis/Analysis.vcproj | 3 | ||||
-rw-r--r-- | win32/Support/Support.vcproj | 6 | ||||
-rw-r--r-- | win32/VMCore/VMCore.vcproj | 3 |
12 files changed, 27 insertions, 8 deletions
diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp index 1b355b6478..359766d444 100644 --- a/lib/Analysis/ConstantFolding.cpp +++ b/lib/Analysis/ConstantFolding.cpp @@ -20,6 +20,7 @@ #include "llvm/Support/GetElementPtrTypeIterator.h" #include "llvm/Support/MathExtras.h" #include <cerrno> +#include <cmath> using namespace llvm; //===----------------------------------------------------------------------===// diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 26d73fc033..87232b371c 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -78,6 +78,7 @@ #include "llvm/ADT/Statistic.h" #include <ostream> #include <algorithm> +#include <cmath> using namespace llvm; namespace { diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 10a3565c33..9248662e39 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -33,6 +33,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/ADT/STLExtras.h" #include <algorithm> +#include <cmath> using namespace llvm; namespace { diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 18a3db8150..d941640e60 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/lib/CodeGen/RegAllocLinearScan.cpp @@ -32,6 +32,7 @@ #include <set> #include <queue> #include <memory> +#include <cmath> using namespace llvm; namespace { diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 9528cb43c8..1dcf9fda05 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -29,6 +29,7 @@ #include <iostream> #include <set> #include <algorithm> +#include <cmath> using namespace llvm; /// makeVTList - Return an instance of the SDVTList struct initialized with the diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 5b287b2cc4..fd5fb6f0bd 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -20,6 +20,7 @@ #include "llvm/Support/GetElementPtrTypeIterator.h" #include "llvm/ADT/Statistic.h" #include "llvm/Support/Debug.h" +#include <cmath> using namespace llvm; namespace { diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index 1b8f399b39..161873c2c8 100644 --- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -27,6 +27,7 @@ #include "llvm/Target/TargetData.h" #include <csignal> #include <map> +#include <cmath> using std::vector; using namespace llvm; diff --git a/lib/Transforms/Scalar/PredicateSimplifier.cpp b/lib/Transforms/Scalar/PredicateSimplifier.cpp index 7c6f7d5ecb..7d0a40456f 100644 --- a/lib/Transforms/Scalar/PredicateSimplifier.cpp +++ b/lib/Transforms/Scalar/PredicateSimplifier.cpp @@ -436,8 +436,8 @@ namespace { for (typename C::iterator KI = Kill.begin(), KE = Kill.end(); KI != KE; ++KI) { - for (Node::iterator I = (*KI)->begin(), E = (*KI)->end(); I != E; ++I) { - if (I->first == N) continue; + for (Node::iterator I = (*KI)->begin(), E = (*KI)->end(); I != E; ++I) { + if (I->first == N) continue; Node::iterator NI = N->find(I->first); if (NI == N->end()) { @@ -446,8 +446,8 @@ namespace { unsigned char LV = NI->second & I->second; if (LV == EQ_BIT) { - assert(std::find(Kill.begin(), Kill.end(), I->first) != Kill.end() - && "Lost EQ property."); + assert(std::find(Kill.begin(), Kill.end(), I->first) != Kill.end() + && "Lost EQ property."); N->erase(NI); } else { NI->second = static_cast<LatticeVal>(LV); @@ -465,9 +465,9 @@ namespace { } // Removing references from N to Kill. - Node::iterator I = N->find(*KI); - if (I != N->end()) { - N->erase(I); // breaks reciprocity until Kill is deleted. + Node::iterator NI = N->find(*KI); + if (NI != N->end()) { + N->erase(NI); // breaks reciprocity until Kill is deleted. } } diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index d421adb291..f486642317 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -1678,7 +1678,7 @@ SExtInst::SExtInst( assert(checkCast(getOpcode(), S, Ty) && "Illegal SExt"); } -SExtInst::SExtInst::SExtInst( +SExtInst::SExtInst( Value *S, const Type *Ty, const std::string &Name, BasicBlock *InsertAtEnd ) : CastInst(Ty, SExt, S, Name, InsertAtEnd) { assert(checkCast(getOpcode(), S, Ty) && "Illegal SExt"); diff --git a/win32/Analysis/Analysis.vcproj b/win32/Analysis/Analysis.vcproj index 70af36b233..3d3ec61b5b 100644 --- a/win32/Analysis/Analysis.vcproj +++ b/win32/Analysis/Analysis.vcproj @@ -118,6 +118,9 @@ RelativePath="..\..\lib\Analysis\AliasAnalysisEvaluator.cpp"> </File> <File + RelativePath="..\..\lib\Analysis\AliasDebugger.cpp"> + </File> + <File RelativePath="..\..\lib\Analysis\AliasSetTracker.cpp"> </File> <File diff --git a/win32/Support/Support.vcproj b/win32/Support/Support.vcproj index 0da1c3f781..613bb0f3de 100644 --- a/win32/Support/Support.vcproj +++ b/win32/Support/Support.vcproj @@ -176,6 +176,9 @@ RelativePath="..\..\lib\Support\Statistic.cpp"> </File> <File + RelativePath="..\..\lib\Support\Streams.cpp"> + </File> + <File RelativePath="..\..\lib\Support\StringExtras.cpp"> </File> <File @@ -314,6 +317,9 @@ RelativePath="..\..\include\llvm\Support\StableBasicBlockNumbering.h"> </File> <File + RelativePath="..\..\include\llvm\Support\Streams.h"> + </File> + <File RelativePath="..\..\include\llvm\Support\SystemUtils.h"> </File> <File diff --git a/win32/VMCore/VMCore.vcproj b/win32/VMCore/VMCore.vcproj index 78039b888b..37484f545f 100644 --- a/win32/VMCore/VMCore.vcproj +++ b/win32/VMCore/VMCore.vcproj @@ -184,6 +184,9 @@ RelativePath="..\..\lib\VMCore\Pass.cpp"> </File> <File + RelativePath="..\..\lib\VMCore\PassManager.cpp"> + </File> + <File RelativePath="..\..\lib\VMCore\SymbolTable.cpp"> </File> <File |