Lines Matching defs:discard
35 * discard;
39 * discard;
45 * discard
47 * Case 2: The "then" clause contains an unconditional discard:
52 * discard;
61 * discard;
66 * Case 3: The "else" clause contains an unconditional discard:
73 * discard;
82 * discard;
114 is_only_instruction(ir_discard *discard)
116 return (discard->prev->is_head_sentinel() &&
117 discard->next->is_tail_sentinel());
129 /* If both branches result in discard, replace whole if with discard. */
136 /* Otherwise, one branch has a discard. */
154 ir_discard *discard = find_unconditional_discard(ir->body_instructions);
156 if (discard) {
157 ir->replace_with(discard);
167 /* Look for a top-level unconditional discard */
168 ir_discard *discard = find_unconditional_discard(*instructions);
169 if (discard != NULL) {
171 instructions->push_tail(discard);