mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
*** 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:
parent
de32fedb8c
commit
c6a4bf1251
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -93,4 +93,4 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#endif MACHINE_INSTR_ANNOT_h
|
||||
#endif
|
||||
|
@ -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
|
||||
|
@ -93,4 +93,4 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#endif MACHINE_INSTR_ANNOT_h
|
||||
#endif
|
||||
|
@ -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("-"));
|
||||
|
@ -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("-"));
|
||||
|
@ -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("-"));
|
||||
|
Loading…
Reference in New Issue
Block a user