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
9ed55cf9
Commit
9ed55cf9
authored
11 years ago
by
Prakalp Srivastava
Browse files
Options
Downloads
Patches
Plain Diff
Changed the type of DimLimits field of DFNode class to std::vector<Value*>.
parent
0c455638
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/include/llvm/IR/DFGraph.h
+10
-10
10 additions, 10 deletions
llvm/include/llvm/IR/DFGraph.h
with
10 additions
and
10 deletions
llvm/include/llvm/IR/DFGraph.h
+
10
−
10
View file @
9ed55cf9
...
...
@@ -38,7 +38,7 @@
#define LLVM_IR_DFGRAPH_H
#include
"llvm/IR/Function.h"
#include
"llvm/IR/
Global
Value.h"
#include
"llvm/IR/Value.h"
#include
"llvm/Support/Compiler.h"
namespace
llvm
{
...
...
@@ -52,23 +52,23 @@ private:
typedef
std
::
vector
<
DFEdge
*>
DFEdgeListType
;
// Important things that make up a Dataflow Node
IntrinsicInst
*
II
;
///< Associated IntrinsicInst/Value
Function
*
FuncPointer
;
///< Associated Function
DFNode
*
Parent
;
///< Pointer to parent dataflow Node
int
NumOfDim
;
///< Number of dimensions
std
::
vector
<
int
>
DimLimits
;
///< Number of instances in each dimension
DFNodeListType
ChildrenList
;
///< List of children Dataflow Nodes
DFEdgeListType
DFEdgeList
;
///< List of Dataflow edges among children
IntrinsicInst
*
II
;
///< Associated IntrinsicInst/Value
Function
*
FuncPointer
;
///< Associated Function
DFNode
*
Parent
;
///< Pointer to parent dataflow Node
int
NumOfDim
;
///< Number of dimensions
std
::
vector
<
Value
*
>
DimLimits
;
///< Number of instances in each dimension
DFNodeListType
ChildrenList
;
///< List of children Dataflow Nodes
DFEdgeListType
DFEdgeList
;
///< List of Dataflow edges among children
// Functions
DFNode
(
IntrinsicInst
*
_II
,
Function
*
_FuncPointer
,
DFNode
*
_Parent
,
int
_NumOfDim
,
std
::
vector
<
int
>
_DimLimits
)
:
II
(
_II
),
FuncPointer
(
_FuncPointer
),
std
::
vector
<
Value
*
>
_DimLimits
)
:
II
(
_II
),
FuncPointer
(
_FuncPointer
),
Parent
(
_Parent
),
NumOfDim
(
_NumOfDim
),
DimLimits
(
_DimLimits
)
{}
public
:
static
DFNode
*
Create
(
IntrinsicInst
*
II
,
Function
*
FuncPointer
,
DFNode
*
Parent
=
NULL
,
int
NumOfDim
=
0
,
std
::
vector
<
int
>
DimLimits
=
std
::
vector
<
int
>
())
{
int
NumOfDim
=
0
,
std
::
vector
<
Value
*
>
DimLimits
=
std
::
vector
<
Value
*
>
())
{
return
new
DFNode
(
II
,
FuncPointer
,
Parent
,
NumOfDim
,
DimLimits
);
}
};
...
...
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