*** empty log message ***

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3077 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-07-25 15:00:45 +00:00
parent de32fedb8c
commit c6a4bf1251
9 changed files with 23 additions and 8 deletions

View File

@ -9,10 +9,11 @@
#ifndef LLVM_ANALYSIS_DATASTRUCTURE_GRAPH_H
#define LLVM_ANALYSIS_DATASTRUCTURE_GRAPH_H
#include "Support/GraphTraits.h"
#include "llvm/Analysis/DataStructure.h"
#include "Support/GraphTraits.h"
#include "Support/iterator"
class DSNodeIterator : public std::forward_iterator<DSNode, ptrdiff_t> {
class DSNodeIterator : public forward_iterator<DSNode, ptrdiff_t> {
friend class DSNode;
DSNode * const Node;
unsigned Link;

View File

@ -9,10 +9,11 @@
#ifndef LLVM_ANALYSIS_DATASTRUCTURE_GRAPH_H
#define LLVM_ANALYSIS_DATASTRUCTURE_GRAPH_H
#include "Support/GraphTraits.h"
#include "llvm/Analysis/DataStructure.h"
#include "Support/GraphTraits.h"
#include "Support/iterator"
class DSNodeIterator : public std::forward_iterator<DSNode, ptrdiff_t> {
class DSNodeIterator : public forward_iterator<DSNode, ptrdiff_t> {
friend class DSNode;
DSNode * const Node;
unsigned Link;

View File

@ -9,10 +9,11 @@
#ifndef LLVM_ANALYSIS_DATASTRUCTURE_GRAPH_H
#define LLVM_ANALYSIS_DATASTRUCTURE_GRAPH_H
#include "Support/GraphTraits.h"
#include "llvm/Analysis/DataStructure.h"
#include "Support/GraphTraits.h"
#include "Support/iterator"
class DSNodeIterator : public std::forward_iterator<DSNode, ptrdiff_t> {
class DSNodeIterator : public forward_iterator<DSNode, ptrdiff_t> {
friend class DSNode;
DSNode * const Node;
unsigned Link;

View File

@ -93,4 +93,4 @@ public:
};
#endif MACHINE_INSTR_ANNOT_h
#endif

View File

@ -33,6 +33,15 @@ public:
typedef unsigned difference_type;
typedef BIty pointer;
typedef IIty reference;
// Copy constructor...
template<typename A, typename B, typename C, typename D>
InstIterator(const InstIterator<A,B,C,D> &II)
: BBs(II.BBs), BB(II.BB), BI(II.BI) {}
template<typename A, typename B, typename C, typename D>
InstIterator(InstIterator<A,B,C,D> &II)
: BBs(II.BBs), BB(II.BB), BI(II.BI) {}
template<class M> InstIterator(M &m)
: BBs(m.getBasicBlockList()), BB(BBs.begin()) { // begin ctor

View File

@ -93,4 +93,4 @@ public:
};
#endif MACHINE_INSTR_ANNOT_h
#endif

View File

@ -17,6 +17,7 @@
#include <fstream>
#include <memory>
using std::cerr;
using std::string;
static cl::opt<string>
InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-"));

View File

@ -17,6 +17,7 @@
#include <fstream>
#include <memory>
using std::cerr;
using std::string;
static cl::opt<string>
InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-"));

View File

@ -17,6 +17,7 @@
#include <fstream>
#include <memory>
using std::cerr;
using std::string;
static cl::opt<string>
InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-"));