summaryrefslogtreecommitdiff
path: root/compiler/InterpreterLoopsMatchCtxs.mli
diff options
context:
space:
mode:
authorSon HO2024-03-09 01:12:20 +0100
committerGitHub2024-03-09 01:12:20 +0100
commit14171474f9a4a45874d181cdb6567c7af7dc32cd (patch)
treef4c7dcd5b172e8922487dec83070e2c38e7b441a /compiler/InterpreterLoopsMatchCtxs.mli
parent169d011cbfa83d853d0148bbf6b946e6ccbe4c4c (diff)
parent46f2f1c0c4c37f089e42c82d76d79817101c5407 (diff)
Merge pull request #85 from AeneasVerif/son/fix_loops3
Fix some issues with the loops
Diffstat (limited to '')
-rw-r--r--compiler/InterpreterLoopsMatchCtxs.mli15
1 files changed, 15 insertions, 0 deletions
diff --git a/compiler/InterpreterLoopsMatchCtxs.mli b/compiler/InterpreterLoopsMatchCtxs.mli
index 5f69b8d3..d6f89ed6 100644
--- a/compiler/InterpreterLoopsMatchCtxs.mli
+++ b/compiler/InterpreterLoopsMatchCtxs.mli
@@ -137,6 +137,21 @@ val match_ctxs :
*)
val ctxs_are_equivalent : ids_sets -> eval_ctx -> eval_ctx -> bool
+(** Reorganize a target context so that we can match it with a source context
+ (remember that the source context is generally the fixed point context,
+ which results from joins during which we ended the loans which
+ were introduced during the loop iterations).
+
+ **Parameters**:
+ - [config]
+ - [loop_id]
+ - [fixed_ids]
+ - [src_ctx]
+
+ *)
+val prepare_match_ctx_with_target :
+ config -> LoopId.id -> ids_sets -> eval_ctx -> cm_fun
+
(** Match a context with a target context.
This is used to compute application of loop translations: we use this