12 #ifndef CPROVER_GOTO_INSTRUMENT_ACCELERATE_ACCELERATE_H
13 #define CPROVER_GOTO_INSTRUMENT_ACCELERATE_ACCELERATE_H
80 patht &inserted_path);
98 trace_automatont::sym_mapt::iterator p,
99 trace_automatont::sym_mapt::iterator end,
void accelerate_functions(goto_modelt &, message_handlert &message_handler, bool use_z3, guard_managert &guard_manager)
std::unordered_map< exprt, exprt, irep_hash > expr_mapt
void insert_accelerator(goto_programt::targett &loop_header, goto_programt::targett &back_jump, path_acceleratort &accelerator, subsumed_patht &subsumed_path)
void insert_automaton(trace_automatont &automaton)
acceleration_utilst utils
bool accelerate_path(patht &path, path_acceleratort &accelerator)
symbolt make_symbol(std::string name, typet type)
void extend_path(goto_programt::targett &t, goto_programt::targett &loop_header, natural_loops_mutablet::natural_loopt &loop, patht &prefix, pathst &loop_paths, pathst &exit_paths, goto_programt::targett &back_jump)
natural_loops_mutablet natural_loops
message_handlert & message_handler
void decl(symbol_exprt &sym, goto_programt::targett t)
symbol_tablet & symbol_table
bool contains_nested_loops(goto_programt::targett &loop_header)
void build_state_machine(trace_automatont::sym_mapt::iterator p, trace_automatont::sym_mapt::iterator end, state_sett &accept_states, symbol_exprt state, symbol_exprt next_state, scratch_programt &state_machine)
void make_overflow_loc(goto_programt::targett loop_header, goto_programt::targett &loop_end, goto_programt::targett &overflow_loc)
acceleratet(goto_programt &_program, goto_modelt &_goto_model, message_handlert &message_handler, bool _use_z3, guard_managert &guard_manager)
overflow_mapt overflow_locs
std::map< goto_programt::targett, goto_programt::targetst, goto_programt::target_less_than > overflow_mapt
void set_dirty_vars(path_acceleratort &accelerator)
void find_paths(goto_programt::targett &loop_header, pathst &loop_paths, pathst &exit_paths, goto_programt::targett &back_jump)
goto_functionst & goto_functions
bool is_underapproximate(path_acceleratort &accelerator)
static const int accelerate_limit
goto_programt::targett find_back_jump(goto_programt::targett loop_header)
guard_managert & guard_manager
void insert_looping_path(goto_programt::targett &loop_header, goto_programt::targett &back_jump, goto_programt &looping_path, patht &inserted_path)
int accelerate_loop(goto_programt::targett &loop_header)
Base class for all expressions.
A collection of goto functions.
A generic container class for the GOTO intermediate representation of one function.
instructionst::iterator targett
std::list< targett > targetst
A loop, specified as a set of instructions.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Expression to hold a symbol (variable)
The type of an expression, extends irept.
Compute natural loops in a goto_function.
std::list< patht > pathst
std::list< path_nodet > patht
A total order over targett and const_targett.
This is unused by this implementation of guards, but can be used by other implementations of the same...
std::list< subsumed_patht > subsumed_pathst
std::set< statet > state_sett