CBMC
|
#include <acceleration_utils.h>
Classes | |
struct | polynomial_array_assignmentt |
Public Types | |
typedef std::pair< exprt, exprt > | expr_pairt |
typedef std::vector< expr_pairt > | expr_pairst |
typedef std::vector< polynomial_array_assignmentt > | polynomial_array_assignmentst |
Public Attributes | |
symbol_table_baset & | symbol_table |
namespacet | ns |
const goto_functionst & | goto_functions |
exprt & | loop_counter |
nil_exprt | nil |
Protected Attributes | |
message_handlert & | message_handler |
Definition at line 34 of file acceleration_utils.h.
typedef std::vector<expr_pairt> acceleration_utilst::expr_pairst |
Definition at line 93 of file acceleration_utils.h.
typedef std::pair<exprt, exprt> acceleration_utilst::expr_pairt |
Definition at line 92 of file acceleration_utils.h.
typedef std::vector<polynomial_array_assignmentt> acceleration_utilst::polynomial_array_assignmentst |
Definition at line 103 of file acceleration_utils.h.
|
inline |
Definition at line 40 of file acceleration_utils.h.
|
inline |
Definition at line 53 of file acceleration_utils.h.
Definition at line 275 of file acceleration_utils.cpp.
bool acceleration_utilst::array_assignments2polys | ( | expr_pairst & | array_assignments, |
std::map< exprt, polynomialt > & | polynomials, | ||
polynomial_array_assignmentst & | array_polynomials, | ||
polynomialst & | nondet_indices | ||
) |
Definition at line 764 of file acceleration_utils.cpp.
bool acceleration_utilst::assign_array | ( | const index_exprt & | lhs, |
const exprt & | rhs, | ||
scratch_programt & | program | ||
) |
Definition at line 990 of file acceleration_utils.cpp.
bool acceleration_utilst::check_inductive | ( | std::map< exprt, polynomialt > | polynomials, |
patht & | path, | ||
guard_managert & | guard_manager | ||
) |
Definition at line 98 of file acceleration_utils.cpp.
bool acceleration_utilst::do_arrays | ( | goto_programt::instructionst & | loop_body, |
std::map< exprt, polynomialt > & | polynomials, | ||
substitutiont & | substitution, | ||
scratch_programt & | program | ||
) |
Definition at line 529 of file acceleration_utils.cpp.
bool acceleration_utilst::do_assumptions | ( | std::map< exprt, polynomialt > | polynomials, |
patht & | body, | ||
exprt & | guard, | ||
guard_managert & | guard_manager | ||
) |
Definition at line 329 of file acceleration_utils.cpp.
bool acceleration_utilst::do_nonrecursive | ( | goto_programt::instructionst & | loop_body, |
std::map< exprt, polynomialt > & | polynomials, | ||
substitutiont & | substitution, | ||
expr_sett & | nonrecursive, | ||
scratch_programt & | program | ||
) |
Definition at line 853 of file acceleration_utils.cpp.
void acceleration_utilst::ensure_no_overflows | ( | scratch_programt & | program | ) |
Definition at line 452 of file acceleration_utils.cpp.
bool acceleration_utilst::expr2poly | ( | exprt & | expr, |
std::map< exprt, polynomialt > & | polynomials, | ||
polynomialt & | poly | ||
) |
Definition at line 823 of file acceleration_utils.cpp.
void acceleration_utilst::extract_polynomial | ( | scratch_programt & | program, |
std::set< std::pair< expr_listt, exprt >> & | coefficients, | ||
polynomialt & | polynomial | ||
) |
Definition at line 1197 of file acceleration_utils.cpp.
void acceleration_utilst::find_modified | ( | const goto_programt & | program, |
expr_sett & | modified | ||
) |
Definition at line 55 of file acceleration_utils.cpp.
void acceleration_utilst::find_modified | ( | const goto_programt::instructionst & | instructions, |
expr_sett & | modified | ||
) |
Definition at line 63 of file acceleration_utils.cpp.
void acceleration_utilst::find_modified | ( | const natural_loops_mutablet::natural_loopt & | loop, |
expr_sett & | modified | ||
) |
Definition at line 82 of file acceleration_utils.cpp.
Definition at line 74 of file acceleration_utils.cpp.
void acceleration_utilst::find_modified | ( | goto_programt::const_targett | t, |
expr_sett & | modified | ||
) |
Definition at line 90 of file acceleration_utils.cpp.
Definition at line 1246 of file acceleration_utils.cpp.
Definition at line 1178 of file acceleration_utils.cpp.
acceleration_utilst::expr_pairst acceleration_utilst::gather_array_assignments | ( | goto_programt::instructionst & | loop_body, |
expr_sett & | arrays_written | ||
) |
Definition at line 486 of file acceleration_utils.cpp.
Definition at line 35 of file acceleration_utils.cpp.
Definition at line 223 of file acceleration_utils.cpp.
void acceleration_utilst::push_nondet | ( | exprt & | expr | ) |
Definition at line 304 of file acceleration_utils.cpp.
void acceleration_utilst::stash_polynomials | ( | scratch_programt & | program, |
std::map< exprt, polynomialt > & | polynomials, | ||
std::map< exprt, exprt > & | stashed, | ||
patht & | path | ||
) |
Definition at line 175 of file acceleration_utils.cpp.
void acceleration_utilst::stash_variables | ( | scratch_programt & | program, |
expr_sett | modified, | ||
substitutiont & | substitution | ||
) |
Definition at line 194 of file acceleration_utils.cpp.
const goto_functionst& acceleration_utilst::goto_functions |
Definition at line 157 of file acceleration_utils.h.
exprt& acceleration_utilst::loop_counter |
Definition at line 158 of file acceleration_utils.h.
|
protected |
Definition at line 37 of file acceleration_utils.h.
nil_exprt acceleration_utilst::nil |
Definition at line 159 of file acceleration_utils.h.
namespacet acceleration_utilst::ns |
Definition at line 156 of file acceleration_utils.h.
symbol_table_baset& acceleration_utilst::symbol_table |
Definition at line 155 of file acceleration_utils.h.