search for: visti

Displaying 1 result from an estimated 1 matches for "visti".

Did you mean: visit
2011 Nov 21
1
[LLVMdev] Fwd: Order of Basic Blocks
...: BB0->BB1 (T), BB8 (F) BB1-> BB2 (T), BB3 (F) BB2-> BB4 BB3-> BB5 BB4-> BB6 BB5-> BB8 (T), BB5 (F) BB6-> BB7 (T), BB4 (F) BB7-> BB8 (T), BB4 (F) BB8 (end) So, this is the basic block flow graph. When I iterate using the ReversePostOrderTraversal iterator, the basic blocks vistied are in this order: BB0, BB1, BB3, BB2, BB7, BB6, BB4, BB5, BB8 Can someone explain why this is and how the BBs are stored so that I can either go top->down or more prefably, depth first search (from the given graph above)? Thanks. On Mon, Nov 21, 2011 at 10:14 AM, Benjamin Kramer <ben...