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:
Alyssa Rosenzweig 2020-03-03 13:47:13 -05:00 committed by Marge Bot
parent d3370bd5a5
commit 2afddc4433

View File

@ -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 {