CBMC
loop_utils.h File Reference

Helper functions for k-induction and loop invariants. More...

+ Include dependency graph for loop_utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::set< exprtassignst
 
typedef natural_loops_mutablet::natural_loopt loopt
 

Functions

void get_assigns (const local_may_aliast &local_may_alias, const loopt &loop, assignst &assigns)
 
void get_assigns_lhs (const local_may_aliast &local_may_alias, goto_programt::const_targett t, const exprt &lhs, assignst &assigns)
 
goto_programt::targett get_loop_exit (const loopt &)
 

Detailed Description

Helper functions for k-induction and loop invariants.

Definition in file loop_utils.h.

Typedef Documentation

◆ assignst

typedef std::set<exprt> assignst

Definition at line 19 of file loop_utils.h.

◆ loopt

Definition at line 20 of file loop_utils.h.

Function Documentation

◆ get_assigns()

void get_assigns ( const local_may_aliast local_may_alias,
const loopt loop,
assignst assigns 
)

Definition at line 72 of file loop_utils.cpp.

◆ get_assigns_lhs()

void get_assigns_lhs ( const local_may_aliast local_may_alias,
goto_programt::const_targett  t,
const exprt lhs,
assignst assigns 
)

Definition at line 39 of file loop_utils.cpp.

◆ get_loop_exit()

goto_programt::targett get_loop_exit ( const loopt loop)

Definition at line 21 of file loop_utils.cpp.