Lines Matching refs:sym1

354 	struct symbol *sym1, *sym2;  in expr_join_or()  local
366 sym1 = tmp->left.sym; in expr_join_or()
368 sym1 = e1->left.sym; in expr_join_or()
375 if (sym1 != sym2) in expr_join_or()
377 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_or()
379 if (sym1->type == S_TRISTATE) { in expr_join_or()
384 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_no); in expr_join_or()
390 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_mod); in expr_join_or()
396 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_yes); in expr_join_or()
399 if (sym1->type == S_BOOLEAN && sym1 == sym2) { in expr_join_or()
418 struct symbol *sym1, *sym2; in expr_join_and() local
430 sym1 = tmp->left.sym; in expr_join_and()
432 sym1 = e1->left.sym; in expr_join_and()
439 if (sym1 != sym2) in expr_join_and()
441 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_and()
447 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
452 return expr_alloc_symbol(sym1); in expr_join_and()
457 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
459 if (sym1->type == S_TRISTATE) { in expr_join_and()
464 return sym2 != e2->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
471 return sym2 != e1->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
478 return expr_alloc_comp(E_EQUAL, sym1, &symbol_mod); in expr_join_and()
484 return expr_alloc_comp(E_EQUAL, sym1, &symbol_no); in expr_join_and()
490 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()