Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
37bb60fc
Commit
37bb60fc
authored
11 years ago
by
Prakalp Srivastava
Browse files
Options
Downloads
Patches
Plain Diff
Commented out the Creat function as no constructor defined yet.
parent
90ec8080
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/include/llvm/IR/DFGraph.h
+17
-11
17 additions, 11 deletions
llvm/include/llvm/IR/DFGraph.h
with
17 additions
and
11 deletions
llvm/include/llvm/IR/DFGraph.h
+
17
−
11
View file @
37bb60fc
...
...
@@ -11,7 +11,7 @@
//
// DFNode represents a single VISC Dataflow Node in LLVM.
//
// A Dataflow Node basically consists of
// A Dataflow Node basically consists of
// 1. Pointer to a function describing this dataflow node
// 2. Number of dimensions in which the node is replicated
// 3. Number of instances in each dimension
...
...
@@ -20,8 +20,8 @@
// 6. List of Dataflow Edges among children
//
// DFEdge represents a single VISC Dataflow Edge in LLVM.
//
// A Dataflow Edge basically consists of
//
// A Dataflow Edge basically consists of
// 1. Pointer to the dataflow node that is the source of this edge
// 2. Pointer to the dataflow node that is the destination of this edge
// 3. Pointer to a function that describes which instances of the source
...
...
@@ -41,6 +41,9 @@
#include
"llvm/Support/Compiler.h"
namespace
llvm
{
class
DFEdge
;
class
DFNode
:
public
ilist_node
<
DFNode
>
{
private:
...
...
@@ -49,11 +52,11 @@ private:
public:
// DFNode and DFEdge iterators
typedef
DFNodeListType
::
iterator
iterator
;
typedef
DFNodeListType
::
const_iterator
const_iterator
;
typedef
DFNodeListType
::
iterator
node_
iterator
;
typedef
DFNodeListType
::
const_iterator
const_
node_
iterator
;
typedef
DFEdgeListType
::
iterator
iterator
;
typedef
DFEdgeListType
::
const_iterator
const_iterator
;
typedef
DFEdgeListType
::
iterator
edge_
iterator
;
typedef
DFEdgeListType
::
const_iterator
const_
edge_
iterator
;
private:
// Important things that make up a Dataflow Node
...
...
@@ -65,10 +68,12 @@ private:
DFEdgeListType
DFEdgeList
;
///< List of Dataflow edges among children
public:
static
DFNode
*
Create
(
Function
*
FuncPointer
,
int
NumOfDim
=
0
,
DFNode
*
Parent
=
NULL
)
{
//FIXME: Write a matching constructor, then uncomment this function.
/*static DFNode *Create(Function* FuncPointer, int NumOfDim = 0, DFNode* Parent = NULL) {
return new DFNode(FuncPointer, NumOfDim, Parent);
}
}
*/
};
class
DFEdge
:
public
ilist_node
<
DFEdge
>
{
...
...
@@ -84,10 +89,11 @@ private:
///< of source dataflow node
public:
static
DFEdge
*
Create
(
DFNode
*
SrcDF
,
DFNode
*
DestDF
,
Function
*
DFMapFuncPointer
,
Function
*
ArgMapFuncPointer
)
{
//FIXME: Write a matching constructor, then uncomment this function.
/*static DFEdge *Create(DFNode* SrcDF, DFNode* DestDF, Function* DFMapFuncPointer, Function* ArgMapFuncPointer) {
return new DFEdge(SrcDF, DestDF, DFMapFuncPointer, ArgMapFuncPointer);
}
}
*/
};
}
// End llvm namespace
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment