|
Static Value-Flow Analysis
|
#include <WorkList.h>
Public Member Functions | |
| FIFOWorkList () | |
| FIFOWorkList (const std::vector< Data > &vec) | |
| Construct from a vector, pushing all elements in order. | |
| FIFOWorkList (const std::list< Data > &lst) | |
| Construct from a list, pushing all elements in order. | |
| ~FIFOWorkList () | |
| bool | empty () const |
| u32_t | size () const |
| bool | find (const Data &data) const |
| bool | push (const Data &data) |
| void | removeFront () |
| Data & | front () |
| Data | pop () |
| void | clear () |
Private Types | |
| typedef Set< Data > | DataSet |
| typedef std::deque< Data > | DataDeque |
Private Attributes | |
| DataSet | data_set |
| store all data in the work list. | |
| DataDeque | data_list |
| work list using std::vector. | |
Worklist with "first in first out" order. New nodes will be pushed at back and popped from front. Elements in the list are unique as they're recorded by Set.
Definition at line 138 of file WorkList.h.
Definition at line 141 of file WorkList.h.
Definition at line 140 of file WorkList.h.
|
inline |
Definition at line 143 of file WorkList.h.
|
inlineexplicit |
Construct from a vector, pushing all elements in order.
Definition at line 146 of file WorkList.h.
|
inlineexplicit |
|
inline |
Definition at line 159 of file WorkList.h.
|
inline |
Clear all the data
Definition at line 227 of file WorkList.h.
|
inline |
Definition at line 161 of file WorkList.h.
Definition at line 172 of file WorkList.h.
|
inline |
Get reference of top data from the END of work list.
Definition at line 205 of file WorkList.h.
|
inline |
Push a data into the work list.
Definition at line 180 of file WorkList.h.
|
inline |
Remove a data from the END of work list, no return value
Definition at line 195 of file WorkList.h.
|
inline |
|
private |
work list using std::vector.
Definition at line 235 of file WorkList.h.
|
private |
store all data in the work list.
Definition at line 234 of file WorkList.h.