Get lib/Analysis/DataStructure to compile with VC++

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19412 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2005-01-09 04:18:28 +00:00
parent 12f82b7e37
commit 2611dd4448
6 changed files with 75 additions and 2 deletions

View File

@ -16,6 +16,7 @@
#define LLVM_ANALYSIS_DSGRAPH_H
#include "llvm/Analysis/DataStructure/DSNode.h"
#include "llvm/ADT/hash_map"
namespace llvm {
@ -97,7 +98,8 @@ public:
//===----------------------------------------------------------------------===//
/// DSGraph - The graph that represents a function.
///
struct DSGraph {
class DSGraph {
public:
// Public data-type declarations...
typedef DSScalarMap ScalarMapTy;
typedef hash_map<Function*, DSNodeHandle> ReturnNodesTy;

View File

@ -15,6 +15,7 @@
#define LLVM_ANALYSIS_DSNODE_H
#include "llvm/Analysis/DataStructure/DSSupport.h"
#include "llvm/ADT/hash_map"
namespace llvm {

View File

@ -15,6 +15,7 @@
#define LLVM_ANALYSIS_DSSUPPORT_H
#include <functional>
#include "llvm/ADT/hash_map"
#include "llvm/ADT/hash_set"
#include "llvm/Support/CallSite.h"

View File

@ -16,6 +16,7 @@
#include "llvm/Pass.h"
#include "llvm/Target/TargetData.h"
#include "llvm/ADT/hash_map"
#include "llvm/ADT/hash_set"
namespace llvm {

View File

@ -49,7 +49,8 @@ namespace llvm {
/// not copied over from one table to another since it is no longer useful.
///--------------------------------------------------------------------------
struct ModRefTable {
class ModRefTable {
public:
typedef hash_map<Instruction*, ModRefInfo> ModRefMap;
typedef ModRefMap::const_iterator const_map_iterator;
typedef ModRefMap:: iterator map_iterator;

View File

@ -188,6 +188,73 @@
RelativePath="..\..\lib\Analysis\Ipa\PrintSCC.cpp">
</File>
</Filter>
<Filter
Name="DataStructure"
Filter="">
<File
RelativePath="..\..\lib\Analysis\DataStructure\BottomUpClosure.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\CompleteBottomUp.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\DataStructure.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\DataStructureAA.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\DataStructureOpt.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\DataStructureStats.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\DependenceGraph.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\DependenceGraph.h">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\DSCallSiteIterator.h">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\GraphChecker.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\IPModRef.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\IPModRef.h">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\Local.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\MemoryDepAnalysis.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\MemoryDepAnalysis.h">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\Parallelize.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\PgmDependenceGraph.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\PgmDependenceGraph.h">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\Printer.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\Steensgaard.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\DataStructure\TopDownClosure.cpp">
</File>
</Filter>
</Filter>
<Filter
Name="Header Files"