mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
pan/bi: Add pred/successors to build CFG
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>
This commit is contained in:
parent
d3370bd5a5
commit
2afddc4433
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user