|
Static Value-Flow Analysis
|
#include <WorkList.h>
Public Member Functions | |
| FILOWorkList () | |
| FILOWorkList (const std::vector< Data > &vec) | |
| Construct from a vector, pushing all elements in order. | |
| FILOWorkList (const std::list< Data > &lst) | |
| Construct from a list, pushing all elements in order. | |
| ~FILOWorkList () | |
| bool | empty () const |
| u32_t | size () const |
| bool | find (const Data &data) const |
| bool | push (const Data &data) |
| Data | pop () |
| void | removeBack () |
| Data & | back () |
| void | clear () |
Private Types | |
| typedef Set< Data > | DataSet |
| typedef std::vector< Data > | DataVector |
Private Attributes | |
| DataSet | data_set |
| store all data in the work list. | |
| DataVector | data_list |
| work list using std::vector. | |
Worklist with "first in last out" order. New nodes will be pushed at back and popped from back. Elements in the list are unique as they're recorded by Set.
Definition at line 244 of file WorkList.h.
Definition at line 246 of file WorkList.h.
Definition at line 247 of file WorkList.h.
|
inline |
Definition at line 249 of file WorkList.h.
|
inlineexplicit |
Construct from a vector, pushing all elements in order.
Definition at line 252 of file WorkList.h.
|
inlineexplicit |
|
inline |
Definition at line 265 of file WorkList.h.
|
inline |
Get reference of top data from the END of work list.
Definition at line 323 of file WorkList.h.
|
inline |
Clear all the data
Definition at line 333 of file WorkList.h.
|
inline |
Definition at line 267 of file WorkList.h.
Definition at line 278 of file WorkList.h.
|
inline |
Push a data into the work list.
Definition at line 286 of file WorkList.h.
|
inline |
Remove a data from the END of work list, no return value
Definition at line 313 of file WorkList.h.
|
inline |
|
private |
work list using std::vector.
Definition at line 341 of file WorkList.h.
|
private |
store all data in the work list.
Definition at line 340 of file WorkList.h.