50 .global cfg_branches_likely
51 .ent cfg_branches_likely
78 .end cfg_branches_likely
81 .global cfg_branches_noswap
82 .ent cfg_branches_noswap
89 bltzal $a0, cfg_branches_noswap
94 bltzal $a0, cfg_branches_noswap
97 bltzall $a0, cfg_branches_noswap
105 .end cfg_branches_noswap
109 .global cfg_branches_never
110 .ent cfg_branches_never
137 bltzal $0, cfg_branches_never
140 bltzall $0, cfg_branches_never
147 .end cfg_branches_never
149 .global cfg_branches_always
150 .ent cfg_branches_always
189 .end cfg_branches_always
191 .global cfg_branchlink
195 bgezal $a0, cfg_jumptobegin
197 bltzal $a0, cfg_jumptobegin
199 bltzall $a0, cfg_jumptobegin
207 .global cfg_strangerefs
220 bltzall $a0, cfg_jumptobegin
231 .global cfg_jumptobegin
236 beq $a0, $a1, cfg_jumptobegin
244 .global cfg_callnoswap
261 jal cfg_switch_innercallback
265 blez $t0, switch1_default
266 lui $v0, %hi(switch1)
268 lw $v0, %lo(switch1)($v0)
285 jal cfg_branches_always
293 cfg_switch_innercallback:
296 lui $v0, %hi(inner_callback)
297 lw $v0, %lo(inner_callback)($v0)
309 int double_break (void)
311 int i, j = 400009, t = 0;
312 for (i = 0; i < 100; i++) {
331 .global graph_double_break
332 .ent graph_double_break
363 .end graph_double_break
365 .global graph_nested_ifs
366 .ent graph_nested_ifs
387 .end graph_nested_ifs
389 .global graph_nested_loops
390 .ent graph_nested_loops
400 3: addu $v0, $v0, $a1
406 .end graph_nested_loops
409 .global graph_for_inside_if
410 .ent graph_for_inside_if
415 1: addiu $a0, $a0, -1
422 .end graph_for_inside_if