Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Otawa Polymalys
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ballabriga Clément
Otawa Polymalys
Commits
8dd06ace
Commit
8dd06ace
authored
5 years ago
by
Zhenyu Bai
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git+ssh://git.renater.fr:2222/scmrepos/git/otawa/otawa
parents
59618d29
8829df51
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/otawa/dfa/XCFGVisitor.h
+4
-4
4 additions, 4 deletions
include/otawa/dfa/XCFGVisitor.h
include/otawa/dfa/hai/WideningFixPoint.h
+1
-1
1 addition, 1 deletion
include/otawa/dfa/hai/WideningFixPoint.h
src/dcache/Dirty.cpp
+1
-1
1 addition, 1 deletion
src/dcache/Dirty.cpp
with
6 additions
and
6 deletions
include/otawa/dfa/XCFGVisitor.h
+
4
−
4
View file @
8dd06ace
...
...
@@ -75,8 +75,8 @@ XCFGVisitor<D>::XCFGVisitor(const CFGCollection& _cfgs, D& domain)
// Record nodes and CFG next nodes
int
bbi
=
0
,
cfgi
=
0
;
for
(
CFGCollection
::
Iter
cfg
(
cfgs
);
cfg
;
cfg
++
,
cfgi
++
)
for
(
CFG
::
BlockIter
bb
=
cfg
->
blocks
();
bb
;
bb
++
,
bbi
++
)
{
for
(
CFGCollection
::
Iter
cfg
(
cfgs
);
cfg
()
;
cfg
++
,
cfgi
++
)
for
(
CFG
::
BlockIter
bb
=
cfg
->
blocks
();
bb
()
;
bb
++
,
bbi
++
)
{
nodes
[
bbi
].
bb
=
bb
;
nodes
[
bbi
].
cfg
=
cfgi
;
if
(
bb
->
isSynth
())
{
...
...
@@ -94,7 +94,7 @@ template <class D>
XCFGVisitor
<
D
>::~
XCFGVisitor
(
void
)
{
// Release INDEX on CFGs
for
(
CFGCollection
::
Iter
cfg
(
cfgs
);
cfg
;
cfg
++
)
for
(
CFGCollection
::
Iter
cfg
(
cfgs
);
cfg
()
;
cfg
++
)
cfg
->
removeProp
(
&
INDEX
);
// Free memory
...
...
@@ -115,7 +115,7 @@ void XCFGVisitor<D>::visitPreds(XIterativeDFA< XCFGVisitor<D> >& engine, int nod
else
if
(
info
.
from
!=
-
1
)
engine
.
nextPred
(
info
.
from
);
else
for
(
BasicBlock
::
EdgeIter
edge
=
info
.
bb
->
ins
();
edge
;
edge
++
)
for
(
BasicBlock
::
EdgeIter
edge
=
info
.
bb
->
ins
();
edge
()
;
edge
++
)
engine
.
nextPred
(
offs
[
info
.
cfg
]
+
edge
->
source
()
->
index
());
}
...
...
This diff is collapsed.
Click to expand it.
include/otawa/dfa/hai/WideningFixPoint.h
+
1
−
1
View file @
8dd06ace
...
...
@@ -273,7 +273,7 @@ inline int WideningFixPoint<Listener>::collect2(Block* bb, const GC *gc) const {
// mark all the states on edge going out from bb
int
i
=
0
;
for
(
Block
::
EdgeIter
out
=
bb
->
ins
();
out
;
out
++
)
{
for
(
Block
::
EdgeIter
out
=
bb
->
ins
();
out
()
;
out
++
)
{
typename
Listener
::
Problem
::
Domain
*
s
=
*
STATE
(
*
out
);
if
(
s
!=
0
)
{
s
->
collect
(
gc
);
...
...
This diff is collapsed.
Click to expand it.
src/dcache/Dirty.cpp
+
1
−
1
View file @
8dd06ace
...
...
@@ -65,7 +65,7 @@ public:
:
_prob
(
prob
),
_set
(
set
),
_id
(
id
)
{
const
CFGCollection
*
col
=
INVOLVED_CFGS
(
ws
);
for
(
int
i
=
0
;
i
<
col
->
count
();
i
++
)
for
(
CFG
::
BlockIter
bb
=
col
->
get
(
i
)
->
blocks
();
bb
;
bb
++
)
for
(
CFG
::
BlockIter
bb
=
col
->
get
(
i
)
->
blocks
();
bb
()
;
bb
++
)
prob
.
init
(
_id
(
bb
)[
_set
],
prob
.
bottom
());
}
...
...
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