mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Unbreak VC++ build.
llvm-svn: 32113
This commit is contained in:
parent
1629b0d995
commit
f99052befb
@ -20,6 +20,7 @@
|
||||
#include "llvm/Support/GetElementPtrTypeIterator.h"
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
#include <cerrno>
|
||||
#include <cmath>
|
||||
using namespace llvm;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -78,6 +78,7 @@
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include <ostream>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <set>
|
||||
#include <queue>
|
||||
#include <memory>
|
||||
#include <cmath>
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include <csignal>
|
||||
#include <map>
|
||||
#include <cmath>
|
||||
using std::vector;
|
||||
|
||||
using namespace llvm;
|
||||
|
@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
@ -117,6 +117,9 @@
|
||||
<File
|
||||
RelativePath="..\..\lib\Analysis\AliasAnalysisEvaluator.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\Analysis\AliasDebugger.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\Analysis\AliasSetTracker.cpp">
|
||||
</File>
|
||||
|
@ -175,6 +175,9 @@
|
||||
<File
|
||||
RelativePath="..\..\lib\Support\Statistic.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\Support\Streams.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\Support\StringExtras.cpp">
|
||||
</File>
|
||||
@ -313,6 +316,9 @@
|
||||
<File
|
||||
RelativePath="..\..\include\llvm\Support\StableBasicBlockNumbering.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\llvm\Support\Streams.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\llvm\Support\SystemUtils.h">
|
||||
</File>
|
||||
|
@ -183,6 +183,9 @@
|
||||
<File
|
||||
RelativePath="..\..\lib\VMCore\Pass.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\VMCore\PassManager.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lib\VMCore\SymbolTable.cpp">
|
||||
</File>
|
||||
|
Loading…
Reference in New Issue
Block a user