Lines Matching refs:sym1
355 struct symbol *sym1, *sym2; in expr_join_or() local
367 sym1 = tmp->left.sym; in expr_join_or()
369 sym1 = e1->left.sym; in expr_join_or()
376 if (sym1 != sym2) in expr_join_or()
378 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_or()
380 if (sym1->type == S_TRISTATE) { in expr_join_or()
385 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_no); in expr_join_or()
391 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_mod); in expr_join_or()
397 return expr_alloc_comp(E_UNEQUAL, sym1, &symbol_yes); in expr_join_or()
400 if (sym1->type == S_BOOLEAN && sym1 == sym2) { in expr_join_or()
419 struct symbol *sym1, *sym2; in expr_join_and() local
431 sym1 = tmp->left.sym; in expr_join_and()
433 sym1 = e1->left.sym; in expr_join_and()
440 if (sym1 != sym2) in expr_join_and()
442 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) in expr_join_and()
448 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
453 return expr_alloc_symbol(sym1); in expr_join_and()
458 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()
460 if (sym1->type == S_TRISTATE) { in expr_join_and()
465 return sym2 != e2->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
472 return sym2 != e1->right.sym ? expr_alloc_comp(E_EQUAL, sym1, sym2) in expr_join_and()
479 return expr_alloc_comp(E_EQUAL, sym1, &symbol_mod); in expr_join_and()
485 return expr_alloc_comp(E_EQUAL, sym1, &symbol_no); in expr_join_and()
491 return expr_alloc_comp(E_EQUAL, sym1, &symbol_yes); in expr_join_and()