CBMC
Loading...
Searching...
No Matches
dfcc_infer_loop_assigns.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Dynamic frame condition checking
4
5Author: Remi Delmas, delmasrd@amazon.com
6
7\*******************************************************************/
8
11
12#ifndef CPROVER_GOTO_INSTRUMENT_CONTRACTS_DYNAMIC_FRAMES_DFCC_INFER_LOOP_ASSIGNS_H
13#define CPROVER_GOTO_INSTRUMENT_CONTRACTS_DYNAMIC_FRAMES_DFCC_INFER_LOOP_ASSIGNS_H
14
16
17class namespacet;
20
23std::unordered_set<irep_idt> gen_loop_locals_set(
24 goto_functiont &goto_function,
26
32 std::map<std::size_t, assignst> &inferred_loop_assigns_map,
33 goto_functionst &goto_functions,
34 const goto_functiont &goto_function,
35 message_handlert &message_handler,
36 const namespacet &ns);
37
38#endif
A collection of goto functions.
A goto function, consisting of function body (see body) and parameter identifiers (see parameter_iden...
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition namespace.h:91
std::unordered_set< irep_idt > gen_loop_locals_set(goto_functiont &goto_function, const dfcc_loop_nesting_graph_nodet &loop)
Collect identifiers that are local to loop, i.e., those of variables declared inside loop.
void dfcc_infer_loop_assigns_for_function(std::map< std::size_t, assignst > &inferred_loop_assigns_map, goto_functionst &goto_functions, const goto_functiont &goto_function, message_handlert &message_handler, const namespacet &ns)
Infer assigns clause targets for loops in goto_function from their instructions and an alias analysis...
Helper functions for k-induction and loop invariants.
A graph node that stores information about a natural loop.