Searched refs:then_instructions (Results 1 - 25 of 58) sorted by relevance

123

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dopt_conditional_discard.cpp67 if (ir->then_instructions.is_empty() ||
68 !ir->then_instructions.get_head_raw()->next->is_tail_sentinel() ||
69 !((ir_instruction *) ir->then_instructions.get_head_raw())->as_discard() ||
74 ir_discard *discard = (ir_discard *) ir->then_instructions.get_head_raw();
H A Dopt_flatten_nested_if_blocks.cpp90 if (ir->then_instructions.is_empty() || !ir->else_instructions.is_empty())
93 ir_if *inner = ((ir_instruction *) ir->then_instructions.get_head_raw())->as_if();
99 inner->then_instructions.move_nodes_to(&ir->then_instructions);
H A Dopt_if_simplification.cpp75 if (ir->then_instructions.is_empty() &&
94 ir->insert_before(&ir->then_instructions);
119 if (ir->then_instructions.is_empty()) {
122 ir->else_instructions.move_nodes_to(&ir->then_instructions);
H A Dloop_unroll.cpp202 limit_if->then_instructions.get_tail();
205 if (ir_if_last != limit_if->then_instructions.get_head())
218 splice_post_if_instructions(limit_if, &limit_if->then_instructions);
309 ? &ir_if->then_instructions : &ir_if->else_instructions;
320 ? &ir_if->then_instructions : &ir_if->else_instructions;
338 * (...then_instructions...
347 * (...then_instructions...
372 if (term_if->then_instructions.get_head() ==
373 term_if->then_instructions.get_tail())
412 t->ir->then_instructions
[all...]
H A Dopt_redundant_jumps.cpp66 (ir_instruction *) ir->then_instructions.get_tail();
92 if (ir->then_instructions.is_empty() && ir->else_instructions.is_empty())
H A Dir_basic_block.cpp71 call_for_basic_blocks(&ir_if->then_instructions, callback, data);
H A Dlower_jumps.cpp390 (ir_instruction *) ir_if->then_instructions.get_tail());
533 * unconditional jumps at the end of ir->then_instructions and
536 block_records[0] = visit_block(&ir->then_instructions);
541 /* Determine which of ir->then_instructions and
545 exec_list& list = i ? ir->else_instructions : ir->then_instructions;
552 * postcondition by lowering jumps in both then_instructions and
557 * ir->then_instructions and ir->else_instructions.
768 exec_list* list = move_into ? &ir->else_instructions : &ir->then_instructions;
809 ir_after->insert_before(&ir_if->then_instructions);
827 move_outer_block_inside(ir, &if_execute->then_instructions);
[all...]
H A Dbuiltin_int64.h92 body.instructions = &f0013->then_instructions;
115 body.instructions = &f001A->then_instructions;
135 body.instructions = &f001C->then_instructions;
162 body.instructions = &f0024->then_instructions;
199 body.instructions = &f0028->then_instructions;
219 body.instructions = &f002A->then_instructions;
246 body.instructions = &f0032->then_instructions;
306 body.instructions = &f003D->then_instructions;
329 body.instructions = &f0044->then_instructions;
349 body.instructions = &f0046->then_instructions;
[all...]
H A Dlower_discard.cpp170 ir_discard *then_discard = find_discard(ir->then_instructions);
H A Dlower_discard_flow.cpp135 if_inst->then_instructions.push_tail(br);
H A Dlower_if_to_cond_assign.cpp249 foreach_in_list(ir_instruction, then_ir, &ir->then_instructions) {
294 &ir->then_instructions,
H A Dir_clone.cpp124 foreach_in_list(ir_instruction, ir, &this->then_instructions) {
125 new_if->then_instructions.push_tail(ir->clone(mem_ctx, ht));
H A Dlower_variable_index_to_cond_assign.cpp291 ir_factory then_body(&if_less->then_instructions, body.mem_ctx);
490 ir_factory then_body(&if_stmt->then_instructions, body.mem_ctx);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dopt_conditional_discard.cpp67 if (ir->then_instructions.is_empty() ||
68 !ir->then_instructions.get_head_raw()->next->is_tail_sentinel() ||
69 !((ir_instruction *) ir->then_instructions.get_head_raw())->as_discard() ||
74 ir_discard *discard = (ir_discard *) ir->then_instructions.get_head_raw();
H A Dopt_flatten_nested_if_blocks.cpp90 if (ir->then_instructions.is_empty() || !ir->else_instructions.is_empty())
93 ir_if *inner = ((ir_instruction *) ir->then_instructions.get_head_raw())->as_if();
99 inner->then_instructions.move_nodes_to(&ir->then_instructions);
H A Dopt_if_simplification.cpp75 if (ir->then_instructions.is_empty() &&
94 ir->insert_before(&ir->then_instructions);
119 if (ir->then_instructions.is_empty()) {
122 ir->else_instructions.move_nodes_to(&ir->then_instructions);
H A Dloop_unroll.cpp202 limit_if->then_instructions.get_tail();
205 if (ir_if_last != limit_if->then_instructions.get_head())
218 splice_post_if_instructions(limit_if, &limit_if->then_instructions);
309 ? &ir_if->then_instructions : &ir_if->else_instructions;
320 ? &ir_if->then_instructions : &ir_if->else_instructions;
338 * (...then_instructions...
347 * (...then_instructions...
372 if (term_if->then_instructions.get_head() ==
373 term_if->then_instructions.get_tail())
419 t->ir->then_instructions
[all...]
H A Dopt_redundant_jumps.cpp66 (ir_instruction *) ir->then_instructions.get_tail();
92 if (ir->then_instructions.is_empty() && ir->else_instructions.is_empty())
H A Dir_basic_block.cpp71 call_for_basic_blocks(&ir_if->then_instructions, callback, data);
H A Dlower_jumps.cpp388 (ir_instruction *) ir_if->then_instructions.get_tail());
531 * unconditional jumps at the end of ir->then_instructions and
534 block_records[0] = visit_block(&ir->then_instructions);
539 /* Determine which of ir->then_instructions and
543 exec_list& list = i ? ir->else_instructions : ir->then_instructions;
550 * postcondition by lowering jumps in both then_instructions and
555 * ir->then_instructions and ir->else_instructions.
766 exec_list* list = move_into ? &ir->else_instructions : &ir->then_instructions;
807 ir_after->insert_before(&ir_if->then_instructions);
825 move_outer_block_inside(ir, &if_execute->then_instructions);
[all...]
H A Dbuiltin_int64.h92 body.instructions = &f0013->then_instructions;
115 body.instructions = &f001A->then_instructions;
135 body.instructions = &f001C->then_instructions;
162 body.instructions = &f0024->then_instructions;
199 body.instructions = &f0028->then_instructions;
219 body.instructions = &f002A->then_instructions;
246 body.instructions = &f0032->then_instructions;
306 body.instructions = &f003D->then_instructions;
329 body.instructions = &f0044->then_instructions;
349 body.instructions = &f0046->then_instructions;
[all...]
H A Dlower_discard.cpp170 ir_discard *then_discard = find_discard(ir->then_instructions);
H A Dlower_discard_flow.cpp135 if_inst->then_instructions.push_tail(br);
H A Dlower_if_to_cond_assign.cpp243 foreach_in_list(ir_instruction, then_ir, &ir->then_instructions) {
288 &ir->then_instructions,
H A Dir_clone.cpp118 foreach_in_list(ir_instruction, ir, &this->then_instructions) {
119 new_if->then_instructions.push_tail(ir->clone(mem_ctx, ht));

Completed in 19 milliseconds

123