Home
last modified time | relevance | path

Searched refs:orig_type (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsparse.c120 struct symbol *orig_type = insn->orig_type; in check_cast_instruction() local
121 if (orig_type) { in check_cast_instruction()
122 int old = orig_type->bit_size; in check_cast_instruction()
124 int oldsigned = (orig_type->ctype.modifiers & MOD_SIGNED) != 0; in check_cast_instruction()
H A Dsimplify.c1007 if (value && (def->orig_type->bit_size == 1)) in simplify_seteq_setne()
1030 def->type = def->orig_type; in simplify_seteq_setne()
1056 osize = def->orig_type->bit_size; in simplify_constant_mask()
1434 def->orig_type = def->type; in simplify_cast()
1461 def->orig_type = insn->orig_type; in simplify_cast()
1504 insn->orig_type = def->orig_type; in simplify_cast()
1507 if (size != def->orig_type->bit_size) in simplify_cast()
1520 insn->orig_type = def->orig_type; in simplify_cast()
1527 osize = def->orig_type->bit_size; in simplify_cast()
1532 insn->orig_type = def->orig_type; in simplify_cast()
[all …]
H A Dcse.c95 if (!insn->orig_type || insn->orig_type->bit_size < 0) in cse_collect()
100 hash += hashval(insn->orig_type->bit_size); in cse_collect()
245 size1 = i1->orig_type->bit_size; in insn_compare()
246 size2 = i2->orig_type->bit_size; in insn_compare()
H A Dsmatch_buf_comparison.c490 int orig_type = *limit_type; in match_size_binop() local
501 orig_type == ELEM_COUNT) { in match_size_binop()
509 orig_type == ELEM_LAST) { in match_size_binop()
516 orig_type == ELEM_COUNT) { in match_size_binop()
523 orig_type == BYTE_COUNT) { in match_size_binop()
H A Dlinearize.h115 struct symbol *orig_type; /* casts */ member
H A Dexample.c1028 unsigned int old = insn->orig_type ? insn->orig_type->bit_size : 0; in generate_cast()
1042 if (insn->orig_type && (insn->orig_type->ctype.modifiers & MOD_SIGNED)) { in generate_cast()
H A Dsparse-llvm.c866 struct symbol *otype = insn->orig_type; in output_op_ptrcast()
904 struct symbol *otype = insn->orig_type; in output_op_cast()
938 struct symbol *otype = insn->orig_type; in output_op_fpcast()
H A Dlinearize.c451 type_size(insn->orig_type), in show_instruction()
1181 new->def->orig_type = from; in add_cast()
1398 insn->orig_type = from; in cast_pseudo()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_rlock.c148 rangelock_type_t orig_type = new->lr_type; in rangelock_enter_writer() local
203 new->lr_type = orig_type; in rangelock_enter_writer()
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A DIR.rst261 * .orig_type: type of .src