projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3370bd
)
pan/bi: Add pred/successors to build CFG
author
Alyssa Rosenzweig
<alyssa.rosenzweig@collabora.com>
Tue, 3 Mar 2020 18:47:13 +0000
(13:47 -0500)
committer
Marge Bot
<eric+marge@anholt.net>
Thu, 5 Mar 2020 14:35:38 +0000
(14:35 +0000)
We'll want this for analysis passes or something, probably.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
src/panfrost/bifrost/compiler.h
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/compiler.h
b/src/panfrost/bifrost/compiler.h
index a010cb896d1dfa3bce9bfb44dc2a1cb4356f682d..7af4d39bf403043c5f304a62b4e2c8132d02a104 100644
(file)
--- a/
src/panfrost/bifrost/compiler.h
+++ b/
src/panfrost/bifrost/compiler.h
@@
-269,6
+269,10
@@
typedef struct bi_block {
struct list_head instructions; /* pre-schedule, list of bi_instructions */
struct list_head clauses; /* list of bi_clause */
};
+
+ /* Control flow graph */
+ struct set *predecessors;
+ struct bi_block *successors[2];
} bi_block;
typedef struct {