cprover
path.cpp
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Loop Acceleration
4
5
Author: Matt Lewis
6
7
\*******************************************************************/
8
11
12
#include "
path.h
"
13
14
#include <
goto-programs/goto_program.h
>
15
16
void
output_path
(
17
const
patht
&path,
18
const
goto_programt
&program,
19
const
namespacet
&ns,
20
std::ostream &str)
21
{
22
for
(
const
auto
&step : path)
23
program.
output_instruction
(ns,
"path"
, str, *step.loc);
24
}
path.h
Loop Acceleration.
namespacet
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition:
namespace.h:91
goto_programt::output_instruction
std::ostream & output_instruction(const namespacet &ns, const irep_idt &identifier, std::ostream &out, const instructionst::value_type &instruction) const
Output a single instruction.
Definition:
goto_program.cpp:47
output_path
void output_path(const patht &path, const goto_programt &program, const namespacet &ns, std::ostream &str)
Definition:
path.cpp:16
goto_program.h
Concrete Goto Program.
patht
std::list< path_nodet > patht
Definition:
path.h:44
goto_programt
A generic container class for the GOTO intermediate representation of one function.
Definition:
goto_program.h:71
goto-instrument
accelerate
path.cpp
Generated by
1.8.20