Lines Matching refs:sym1
426 struct symbol *sym1, *sym2; in expr_join_or() local
438 sym1 = tmp->left.sym; in expr_join_or()
440 sym1 = e1->left.sym; in expr_join_or()
447 if (sym1 != sym2) in expr_join_or()
449 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_or()
451 if (sym1->type == S_TRISTATE) { in expr_join_or()
456 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_no); in expr_join_or()
462 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_mod); in expr_join_or()
468 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_yes); in expr_join_or()
471 if (sym1->type == S_BOOLEAN && sym1 == sym2) { in expr_join_or()
490 struct symbol *sym1, *sym2; in expr_join_and() local
502 sym1 = tmp->left.sym; in expr_join_and()
504 sym1 = e1->left.sym; in expr_join_and()
511 if (sym1 != sym2) in expr_join_and()
513 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_and()
519 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
524 return expr_alloc_symbol(sym1); in expr_join_and()
529 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
531 if (sym1->type == S_TRISTATE) { in expr_join_and()
536 return sym2 != e2->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
543 return sym2 != e1->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
550 return expr_alloc_comp(E_EQUAL, sym1, &symbol_mod); in expr_join_and()
556 return expr_alloc_comp(E_EQUAL, sym1, &symbol_no); in expr_join_and()
562 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()