
#include <sdag.h>

Public Member Functions | |
| void | pup (PUP::er &p) |
| Dependency (int numEntries, int numWhens) | |
| Dependency () | |
| ~Dependency () | |
| void | addDepends (int whenID, int entry) |
| void | reg (Continuation *c) |
| void | dereg (Continuation *c) |
| Buffer * | pushBuffer (int entry, Closure *cl) |
| Continuation * | tryFindContinuation (int entry) |
| bool | searchBufferedMatching (Continuation *t) |
| Buffer * | tryFindMessage (int entry, bool hasRef, CMK_REFNUM_TYPE refnum, std::unordered_set< Buffer * > *ignore) |
| Buffer * | tryFindMessage (int entry) |
| void | removeMessage (Buffer *buf) |
| int | getAndIncrementSpeculationIndex () |
| void | removeAllSpeculationIndex (int speculationIndex) |
Data Fields | |
| std::vector< std::list< int > > | entryToWhen |
| std::vector< std::list < Continuation * > > | whenToContinuation |
| std::vector< std::list< Buffer * > > | buffer |
| int | curSpeculationIndex |
Definition at line 250 of file sdag.h.
| SDAG::Dependency::~Dependency | ( | ) | [inline] |
| void SDAG::Dependency::pup | ( | PUP::er & | p | ) | [inline] |
Definition at line 261 of file sdag.h.
References curSpeculationIndex, entryToWhen, and whenToContinuation.
| void SDAG::Dependency::reg | ( | Continuation * | c | ) | [inline] |
Definition at line 301 of file sdag.h.
References SDAG::Continuation::whenID, and whenToContinuation.
| void SDAG::Dependency::dereg | ( | Continuation * | c | ) | [inline] |
Definition at line 306 of file sdag.h.
References SDAG::Continuation::whenID, and whenToContinuation.
Referenced by tryFindContinuation().

| Continuation* SDAG::Dependency::tryFindContinuation | ( | int | entry | ) | [inline] |
Definition at line 318 of file sdag.h.
References c, dereg(), entryToWhen, searchBufferedMatching(), and whenToContinuation.

| bool SDAG::Dependency::searchBufferedMatching | ( | Continuation * | t | ) | [inline] |
Definition at line 338 of file sdag.h.
References SDAG::Continuation::anyEntries, SDAG::Continuation::entries, SDAG::Continuation::refnums, and tryFindMessage().
Referenced by tryFindContinuation().


| Buffer* SDAG::Dependency::tryFindMessage | ( | int | entry, | |
| bool | hasRef, | |||
| CMK_REFNUM_TYPE | refnum, | |||
| std::unordered_set< Buffer * > * | ignore | |||
| ) | [inline] |
Definition at line 353 of file sdag.h.
Referenced by searchBufferedMatching().

| void SDAG::Dependency::removeMessage | ( | Buffer * | buf | ) | [inline] |
| int SDAG::Dependency::getAndIncrementSpeculationIndex | ( | ) | [inline] |
| void SDAG::Dependency::removeAllSpeculationIndex | ( | int | speculationIndex | ) | [inline] |
| std::vector<std::list<int> > SDAG::Dependency::entryToWhen |
Definition at line 251 of file sdag.h.
Referenced by addDepends(), pup(), and tryFindContinuation().
| std::vector<std::list<Continuation*> > SDAG::Dependency::whenToContinuation |
Definition at line 252 of file sdag.h.
Referenced by dereg(), pup(), reg(), removeAllSpeculationIndex(), tryFindContinuation(), and ~Dependency().
| std::vector<std::list<Buffer*> > SDAG::Dependency::buffer |
1.5.5