.. java:import:: fr.inria.tapenade.utils TapIntList .. java:import:: fr.inria.tapenade.utils ILLang FGThreads ========= .. java:package:: fr.inria.tapenade.representation :noindex: .. java:type:: final class FGThreads Class used only by class FlowGraphBuilder. Holds a collection of control flow arrows that reach a same point. Methods ------- add ^^^ .. java:method:: protected void add(Block block, int test, int cas) :outertype: FGThreads Adds one thread to this FGThreads. Adds the thread coming from "block", when the "test" goes to case "cas". block ^^^^^ .. java:method:: protected Block block() :outertype: FGThreads Assumes this FGThread is single and simple. :return: origin Block of this single thread. concat ^^^^^^ .. java:method:: protected void concat(FGThreads newThreads) :outertype: FGThreads Concatenates "newThreads" in front of this FGThreads: Warning: reuses ThreadListCell's of "newThreads", which will be broken. convergeToBlock ^^^^^^^^^^^^^^^ .. java:method:: protected void convergeToBlock(Block destinationBlock, boolean inCycle, boolean traceOn) :outertype: FGThreads Makes all threads flow to the "destinationBlock": Does not modify the contents of the current threads. convergeToInstr ^^^^^^^^^^^^^^^ .. java:method:: protected void convergeToInstr(Instruction instruction, TapList allBlocks, Unit unit, SymbolTable symbolTable, TapList parallelControls, boolean traceOn) :outertype: FGThreads Makes all threads flow to a new instruction built for "tree": Builds a new Block only when necessary (2 incoming threads...) Modifies the contents of the current threads: at the end, current FGThreads is just at the end of the Block that received "tree". empty ^^^^^ .. java:method:: protected void empty() :outertype: FGThreads Removes all threads in current FGThreads. isNotEmpty ^^^^^^^^^^ .. java:method:: protected boolean isNotEmpty() :outertype: FGThreads reTypeThread ^^^^^^^^^^^^ .. java:method:: protected void reTypeThread(int newTest, int newCas) :outertype: FGThreads Assumes this FGThread is single and simple. Re-types it with the given newTest and newCas. toString ^^^^^^^^ .. java:method:: @Override public String toString() :outertype: FGThreads