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
a57edd0c
"hpvm/include/SupportHPVM/DFGraph.h" did not exist on "616c35f37f6dbbd56564f0851730ddbe7b09913b"
Commit
a57edd0c
authored
11 years ago
by
kotsifa2
Browse files
Options
Downloads
Patches
Plain Diff
Fixed i8* to DFNode map\nFixed makefile to support different source and build trees
parent
f48c9b5e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
llvm/include/llvm/IR/DFGraph.h
+10
-4
10 additions, 4 deletions
llvm/include/llvm/IR/DFGraph.h
llvm/lib/Transforms/BuildDFG/BuildDFG.cpp
+1
-1
1 addition, 1 deletion
llvm/lib/Transforms/BuildDFG/BuildDFG.cpp
llvm/lib/Transforms/Makefile
+2
-1
2 additions, 1 deletion
llvm/lib/Transforms/Makefile
with
13 additions
and
6 deletions
llvm/include/llvm/IR/DFGraph.h
+
10
−
4
View file @
a57edd0c
...
...
@@ -148,13 +148,19 @@ private:
Function
*
ArgMapFuncPointer
;
///< Function that associates the input
///< arguments of destination with the outputs
///< of source dataflow node
// Functions
DFEdge
(
DFNode
*
_SrcDF
,
DFNode
*
_DestDF
,
Function
*
_DFMapFuncPointer
,
Function
*
_ArgMapFuncPointer
)
:
SrcDF
(
_SrcDF
),
DestDF
(
_DestDF
),
DFMapFuncPointer
(
_DFMapFuncPointer
),
ArgMapFuncPointer
(
_ArgMapFuncPointer
)
{}
public
:
//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);
}*/
static
DFEdge
*
Create
(
DFNode
*
SrcDF
,
DFNode
*
DestDF
,
Function
*
DFMapFuncPtr
,
Function
*
ArgMapFuncPtr
)
{
return
new
DFEdge
(
SrcDF
,
DestDF
,
DFMapFuncPtr
,
ArgMapFuncPtr
);
}
};
}
// End llvm namespace
...
...
This diff is collapsed.
Click to expand it.
llvm/lib/Transforms/BuildDFG/BuildDFG.cpp
+
1
−
1
View file @
a57edd0c
...
...
@@ -121,7 +121,7 @@ namespace {
}
}
void
handleCreateEdge
(
DFNode
*
N
,
IntrinsicInst
*
II
)
{
void
BuildDFG
::
handleCreateEdge
(
DFNode
*
N
,
IntrinsicInst
*
II
)
{
// The DFNode structures must be in the map before the edge is processed
HandleToDFNode
::
iterator
DFI
=
HandleToDFNodeMap
.
find
(
II
->
getOperand
(
0
));
assert
(
DFI
!=
HandleToDFNodeMap
.
end
());
...
...
This diff is collapsed.
Click to expand it.
llvm/lib/Transforms/Makefile
+
2
−
1
View file @
a57edd0c
...
...
@@ -8,7 +8,8 @@
##===----------------------------------------------------------------------===##
LEVEL
=
../..
PARALLEL_DIRS
=
Utils Instrumentation Scalar InstCombine IPO Vectorize Hello ObjCARC
PARALLEL_DIRS
=
Utils Instrumentation Scalar InstCombine IPO Vectorize Hello
\
ObjCARC BuildDFG
include
$(LEVEL)/Makefile.config
...
...
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