cprover
concurrency_aware_ait< domainT > Class Template Reference

#include <ai.h>

Inheritance diagram for concurrency_aware_ait< domainT >:
[legend]
Collaboration diagram for concurrency_aware_ait< domainT >:
[legend]

Public Types

typedef ait< domainT >::statet statet
 
- Public Types inherited from ait< domainT >
typedef goto_programt::const_targett locationt
 
- Public Types inherited from ai_baset
typedef ai_domain_baset statet
 
typedef goto_programt::const_targett locationt
 

Public Member Functions

 concurrency_aware_ait ()
 
bool merge_shared (const statet &src, goto_programt::const_targett from, goto_programt::const_targett to, const namespacet &ns) override
 
- Public Member Functions inherited from ait< domainT >
 ait ()
 
domainT & operator[] (locationt l)
 
const domainT & operator[] (locationt l) const
 
std::unique_ptr< statetabstract_state_before (locationt t) const override
 Accessing individual domains at particular locations (without needing to know what kind of domain or history is used) A pointer to a copy as the method should be const and there are some non-trivial cases including merging domains, etc. More...
 
void clear () override
 Resets the domain. More...
 
- Public Member Functions inherited from ai_baset
 ai_baset ()
 
virtual ~ai_baset ()
 
void operator() (const goto_programt &goto_program, const namespacet &ns)
 Running the interpreter. More...
 
void operator() (const goto_functionst &goto_functions, const namespacet &ns)
 
void operator() (const goto_modelt &goto_model)
 
void operator() (const goto_functionst::goto_functiont &goto_function, const namespacet &ns)
 
virtual std::unique_ptr< statetabstract_state_after (locationt l) const
 Returns the abstract state after the given instruction. More...
 
virtual void output (const namespacet &ns, const goto_functionst &goto_functions, std::ostream &out) const
 
void output (const goto_modelt &goto_model, std::ostream &out) const
 
void output (const namespacet &ns, const goto_programt &goto_program, std::ostream &out) const
 
void output (const namespacet &ns, const goto_functionst::goto_functiont &goto_function, std::ostream &out) const
 
virtual jsont output_json (const namespacet &ns, const goto_functionst &goto_functions) const
 Output the domains for the whole program as JSON. More...
 
jsont output_json (const goto_modelt &goto_model) const
 
jsont output_json (const namespacet &ns, const goto_programt &goto_program) const
 
jsont output_json (const namespacet &ns, const goto_functionst::goto_functiont &goto_function) const
 
virtual xmlt output_xml (const namespacet &ns, const goto_functionst &goto_functions) const
 Output the domains for the whole program as XML. More...
 
xmlt output_xml (const goto_modelt &goto_model) const
 
xmlt output_xml (const namespacet &ns, const goto_programt &goto_program) const
 
xmlt output_xml (const namespacet &ns, const goto_functionst::goto_functiont &goto_function) const
 

Protected Member Functions

void fixedpoint (const goto_functionst &goto_functions, const namespacet &ns) override
 
- Protected Member Functions inherited from ait< domainT >
virtual statetget_state (locationt l) override
 
const statetfind_state (locationt l) const override
 
bool merge (const statet &src, locationt from, locationt to) override
 
std::unique_ptr< statetmake_temporary_state (const statet &s) override
 
- Protected Member Functions inherited from ai_baset
virtual void initialize (const goto_programt &)
 
virtual void initialize (const goto_functionst::goto_functiont &)
 
virtual void initialize (const goto_functionst &)
 
virtual void finalize ()
 
void entry_state (const goto_programt &)
 
void entry_state (const goto_functionst &)
 
virtual void output (const namespacet &ns, const goto_programt &goto_program, const irep_idt &identifier, std::ostream &out) const
 
virtual jsont output_json (const namespacet &ns, const goto_programt &goto_program, const irep_idt &identifier) const
 Output the domains for a single function as JSON. More...
 
virtual xmlt output_xml (const namespacet &ns, const goto_programt &goto_program, const irep_idt &identifier) const
 Output the domains for a single function as XML. More...
 
locationt get_next (working_sett &working_set)
 
void put_in_working_set (working_sett &working_set, locationt l)
 
bool fixedpoint (const goto_programt &goto_program, const goto_functionst &goto_functions, const namespacet &ns)
 
void sequential_fixedpoint (const goto_functionst &goto_functions, const namespacet &ns)
 
void concurrent_fixedpoint (const goto_functionst &goto_functions, const namespacet &ns)
 
bool visit (locationt l, working_sett &working_set, const goto_programt &goto_program, const goto_functionst &goto_functions, const namespacet &ns)
 
bool do_function_call_rec (locationt l_call, locationt l_return, const exprt &function, const exprt::operandst &arguments, const goto_functionst &goto_functions, const namespacet &ns)
 
bool do_function_call (locationt l_call, locationt l_return, const goto_functionst &goto_functions, const goto_functionst::function_mapt::const_iterator f_it, const exprt::operandst &arguments, const namespacet &ns)
 

Additional Inherited Members

- Protected Types inherited from ait< domainT >
typedef std::unordered_map< locationt, domainT, const_target_hash, pointee_address_equaltstate_mapt
 
- Protected Types inherited from ai_baset
typedef std::map< unsigned, locationtworking_sett
 
- Protected Attributes inherited from ait< domainT >
state_mapt state_map
 

Detailed Description

template<typename domainT>
class concurrency_aware_ait< domainT >

Definition at line 398 of file ai.h.

Member Typedef Documentation

◆ statet

template<typename domainT>
typedef ait<domainT>::statet concurrency_aware_ait< domainT >::statet

Definition at line 401 of file ai.h.

Constructor & Destructor Documentation

◆ concurrency_aware_ait()

template<typename domainT>
concurrency_aware_ait< domainT >::concurrency_aware_ait ( )
inline

Definition at line 404 of file ai.h.

Member Function Documentation

◆ fixedpoint()

template<typename domainT>
void concurrency_aware_ait< domainT >::fixedpoint ( const goto_functionst goto_functions,
const namespacet ns 
)
inlineoverrideprotectedvirtual

Reimplemented from ait< domainT >.

Definition at line 420 of file ai.h.

◆ merge_shared()

template<typename domainT>
bool concurrency_aware_ait< domainT >::merge_shared ( const statet src,
goto_programt::const_targett  from,
goto_programt::const_targett  to,
const namespacet ns 
)
inlineoverridevirtual

Reimplemented from ait< domainT >.

Definition at line 408 of file ai.h.

Referenced by concurrency_aware_ait< rd_range_domaint >::merge_shared().


The documentation for this class was generated from the following file: