Lines Matching refs:cond

74 static void free_cond( struct condition *cond )  in free_cond()  argument
77 for ( tmp = cond; tmp; tmp = tmp1 ) in free_cond()
153 struct condition * cond; in join_condition_stack() local
189 for ( cond = conditions [i]; cond != NULL; cond = cond->next ) in join_condition_stack()
193 cnew->op = cond->op; in join_condition_stack()
194 cnew->str = cond->str ? strdup( cond->str ) : NULL; in join_condition_stack()
195 cnew->nameindex = cond->nameindex; in join_condition_stack()
456 remove_bang( eliminate_other_arch( cfg->cond ) ); in fix_conditionals()
457 cfg->cond = NULL; in fix_conditionals()
469 struct condition * cond; in fix_conditionals() local
471 for ( cond = cond_stack [depth-1]; in fix_conditionals()
472 cond != NULL; in fix_conditionals()
473 cond = cond->next ) in fix_conditionals()
475 switch( cond->op ) in fix_conditionals()
478 case op_and: cond->op = op_or; break; in fix_conditionals()
479 case op_or: cond->op = op_and1; break; in fix_conditionals()
480 case op_neq: cond->op = op_eq; break; in fix_conditionals()
481 case op_eq: cond->op = op_neq; break; in fix_conditionals()
482 case op_true: cond->op = op_false;break; in fix_conditionals()
483 case op_false:cond->op = op_true; break; in fix_conditionals()
509 cfg->cond = join_condition_stack( cond_stack, depth ); in fix_conditionals()
510 if ( cfg->cond && cfg->cond->op == op_false ) in fix_conditionals()
527 if ( cfg->cond ) in fix_conditionals()
529 cond_stack [depth] = eliminate_other_arch( cfg->cond ); in fix_conditionals()
530 cfg->cond = join_condition_stack( cond_stack, depth+1 ); in fix_conditionals()
534 cfg->cond = join_condition_stack( cond_stack, depth ); in fix_conditionals()
536 if ( cfg->cond && cfg->cond->op == op_false ) in fix_conditionals()