Lines Matching refs:sym1
428 struct symbol *sym1, *sym2; in expr_join_or() local
440 sym1 = tmp->left.sym; in expr_join_or()
442 sym1 = e1->left.sym; in expr_join_or()
449 if (sym1 != sym2) in expr_join_or()
451 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_or()
453 if (sym1->type == S_TRISTATE) { in expr_join_or()
458 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_no); in expr_join_or()
464 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_mod); in expr_join_or()
470 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_yes); in expr_join_or()
473 if (sym1->type == S_BOOLEAN && sym1 == sym2) { in expr_join_or()
492 struct symbol *sym1, *sym2; in expr_join_and() local
504 sym1 = tmp->left.sym; in expr_join_and()
506 sym1 = e1->left.sym; in expr_join_and()
513 if (sym1 != sym2) in expr_join_and()
515 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_and()
521 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
526 return expr_alloc_symbol(sym1); in expr_join_and()
531 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
533 if (sym1->type == S_TRISTATE) { in expr_join_and()
538 return sym2 != e2->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
545 return sym2 != e1->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
552 return expr_alloc_comp(E_EQUAL, sym1, &symbol_mod); in expr_join_and()
558 return expr_alloc_comp(E_EQUAL, sym1, &symbol_no); in expr_join_and()
564 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()