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
22std::unordered_set<irep_idt> gen_loop_locals_set(
23 const irep_idt &function_id,
24 goto_functiont &goto_function,
26 message_handlert &message_handler,
27 const namespacet &ns);
28
34 std::map<std::size_t, assignst> &inferred_loop_assigns_map,
35 goto_functionst &goto_functions,
36 const goto_functiont &goto_function,
37 message_handlert &message_handler,
38 const namespacet &ns);
39
40#endif
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition dstring.h:38
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
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...
std::unordered_set< irep_idt > gen_loop_locals_set(const irep_idt &function_id, goto_functiont &goto_function, const dfcc_loop_nesting_graph_nodet &loop, message_handlert &message_handler, const namespacet &ns)
Collect identifiers that are local to loop.
Helper functions for k-induction and loop invariants.
A graph node that stores information about a natural loop.