Loading...
Searching...
No Matches
goto_program.h File Reference
Concrete Goto Program.
More...
+ Include dependency graph for goto_program.h:
Go to the source code of this file.
A generic container class for the GOTO intermediate representation of one function.
More...
This class represents an instruction in the GOTO intermediate representation.
More...
A total order over
targett and
const_targett.
More...
Functor to check whether iterators from different collections point at the same object.
More...
enum
goto_program_instruction_typet {
NO_INSTRUCTION_TYPE = 0
,
GOTO = 1
,
ASSUME = 2
,
ASSERT = 3
,
OTHER = 4
,
SKIP = 5
,
START_THREAD = 6
,
END_THREAD = 7
,
LOCATION = 8
,
END_FUNCTION = 9
,
ATOMIC_BEGIN = 10
,
ATOMIC_END = 11
,
SET_RETURN_VALUE = 12
,
ASSIGN = 13
,
DECL = 14
,
DEAD = 15
,
FUNCTION_CALL = 16
,
THROW = 17
,
CATCH = 18
,
INCOMPLETE_GOTO = 19
}
The type of an instruction in a GOTO program.
More...
Outputs a string representation of a goto_program_instruction_typet
Detailed Description
Macro Definition Documentation
◆ forall_goto_program_instructions
#
define forall_goto_program_instructions
(
it,
program
)
Value: for(goto_programt::instructionst::const_iterator \
it=(program).instructions.begin(); \
it!=(program).instructions.end(); it++)
Definition at line 1228 of file goto_program.h.
◆ Forall_goto_program_instructions
#
define Forall_goto_program_instructions
(
it,
program
)
Value: for(goto_programt::instructionst::iterator \
it=(program).instructions.begin(); \
it!=(program).instructions.end(); it++)
Definition at line 1233 of file goto_program.h.
Enumeration Type Documentation
◆ goto_program_instruction_typet
The type of an instruction in a GOTO program.
| Enumerator |
|---|
| NO_INSTRUCTION_TYPE |
| GOTO |
| ASSUME |
| ASSERT |
| OTHER |
| SKIP |
| START_THREAD |
| END_THREAD |
| LOCATION |
| END_FUNCTION |
| ATOMIC_BEGIN |
| ATOMIC_END |
| SET_RETURN_VALUE |
| ASSIGN |
| DECL |
| DEAD |
| FUNCTION_CALL |
| THROW |
| CATCH |
| INCOMPLETE_GOTO |
Definition at line 30 of file goto_program.h.
Function Documentation
◆ as_string()
◆ expressions_read()
◆ expressions_written()
◆ for_each_instruction()
◆ for_each_instruction_if()
◆ objects_read()
◆ objects_written()
◆ operator<<()
std::ostream &
operator<<
(
std::ostream &
out,
)
Outputs a string representation of a goto_program_instruction_typet
Definition at line 1172 of file goto_program.cpp.