ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
remove_no_op.h
Go to the documentation of this file.
1#ifndef CPROVER_GOTO_PROGRAMS_REMOVE_NO_OP_H
2#define CPROVER_GOTO_PROGRAMS_REMOVE_NO_OP_H
3
5
6bool is_no_op(
7 const goto_programt &,
9 bool ignore_labels = false);
13bool is_no_op_program(const goto_programt &p);
14void remove_no_op(goto_programt &goto_program);
15void remove_no_op(goto_functionst &goto_functions);
16
17#endif
Definition goto_functions.h:56
A generic container class for a control flow graph for one function, in the form of a goto-program.
Definition goto_program.h:63
instructionst::const_iterator const_targett
Definition goto_program.h:591
bool is_no_op_program(const goto_programt &p)
True when every instruction of p is a no-op, i.e.
Definition remove_no_op.cpp:13
void remove_no_op(goto_programt &goto_program)
Definition remove_no_op.cpp:185
bool is_no_op(const goto_programt &, goto_programt::const_targett, bool ignore_labels=false)
Definition remove_no_op.cpp:22