aboutsummaryrefslogtreecommitdiffstats
path: root/scheduling/BTL.v
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-05-10 17:49:29 +0200
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-05-10 17:49:29 +0200
commite3613e0614ccc93c1013f7c39b58cffb6c21a76c (patch)
treebe6738e0bda41d1271c5a8655e482c07221a9049 /scheduling/BTL.v
parent895470548b89f00111d1f98ae52d217b9fd15643 (diff)
downloadcompcert-kvx-e3613e0614ccc93c1013f7c39b58cffb6c21a76c.tar.gz
compcert-kvx-e3613e0614ccc93c1013f7c39b58cffb6c21a76c.zip
new strong_state predicate and lemma
Diffstat (limited to 'scheduling/BTL.v')
-rw-r--r--scheduling/BTL.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/scheduling/BTL.v b/scheduling/BTL.v
index a87f674b..bc0f0815 100644
--- a/scheduling/BTL.v
+++ b/scheduling/BTL.v
@@ -786,6 +786,11 @@ Definition verify_function dupmap f f' : res unit :=
do _ <- verify_is_copy dupmap (fn_entrypoint f) (RTL.fn_entrypoint f');
verify_cfg dupmap (fn_code f) (RTL.fn_code f').
+Definition is_goto (ib: iblock): bool :=
+ match ib with
+ | Bgoto _ => true
+ | _ => false
+ end.
Definition is_atom (ib: iblock): bool :=
match ib with