Home
last modified time | relevance | path

Searched refs:src2 (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsimplify.c324 kill_use(&insn->src2); in kill_insn()
393 static int dead_insn(struct instruction *insn, pseudo_t *src1, pseudo_t *src2, pseudo_t *src3) in dead_insn() argument
400 kill_use(src2); in dead_insn()
455 kill_use(&insn->src2); in replace_with_pseudo()
519 long long right = insn->src2->value; in eval_insn()
651 pseudo_t src2 = and->src2; in simplify_mask_or_and() local
655 if (!constant(src2)) in simplify_mask_or_and()
657 omask = src2->value; in simplify_mask_or_and()
667 pseudo_t *arg = (ora == or->src1) ? &or->src1 : &or->src2; in simplify_mask_or_and()
673 and->src2 = value_pseudo(nmask); in simplify_mask_or_and()
[all …]
H A Dcse.c73 hash += hashval(insn->src2); in cse_collect()
177 if (i1->src1 == i2->src2 && i1->src2 == i2->src1) in insn_compare()
206 if (i1->src2 != i2->src2) in insn_compare()
207 return i1->src2 < i2->src2 ? -1 : 1; in insn_compare()
H A Dexample.c890 struct operand *src2 = get_generic_operand(state, val2); in do_binop() local
894 output_insn(state, "%s.%d %s,%s", op, insn->size, show_op(state, src2), dst->name); in do_binop()
896 put_operand(state, src2); in do_binop()
903 do_binop(state, insn, insn->src1, insn->src2); in generate_binop()
923 pseudo_t src1, src2; in generate_commutative_binop() local
928 src2 = insn->src2; in generate_commutative_binop()
929 reg2 = find_in_reg(state, src2); in generate_commutative_binop()
935 if (!is_dead_reg(state, src2, reg2)) in generate_commutative_binop()
945 src1 = src2; in generate_commutative_binop()
946 src2 = insn->src1; in generate_commutative_binop()
[all …]
H A Dlinearize.c457 …(buf, "%s <- %s, %s", show_pseudo(insn->target), show_pseudo(insn->src1), show_pseudo(insn->src2)); in show_instruction()
462 show_pseudo(insn->src1), show_pseudo(insn->src2), show_pseudo(insn->src3)); in show_instruction()
479 …buf += sprintf(buf, "%s between %s..%s", show_pseudo(insn->src1), show_pseudo(insn->src2), show_ps… in show_instruction()
721 use_pseudo(select, if_true, &select->src2); in insert_select()
1045 pseudo_t src2; in taint_undefined_behaviour() local
1051 src2 = insn->src2; in taint_undefined_behaviour()
1052 if (src2->type != PSEUDO_VAL) in taint_undefined_behaviour()
1054 if ((unsigned long long)src2->value >= insn->size) in taint_undefined_behaviour()
1066 use_pseudo(insn, right, &insn->src2); in add_binary_op()
1558 pseudo_t src1, src2, dst; in linearize_binop_bool() local
[all …]
H A Dliveness.c70 USES(src1); USES(src2); DEFINES(target); in track_instruction_usage()
80 USES(src1); USES(src2); USES(src3); DEFINES(target); in track_instruction_usage()
129 USES(src1); USES(src2); USES(src3); in track_instruction_usage()
H A Dsparse-llvm.c540 rhs = get_ioperand(fn, insn->type, insn->src2); in output_op_binary()
625 if (insn->src2->type == PSEUDO_VAL) in output_op_compare()
626 rhs = constant_value(insn->src2->value, LLVMTypeOf(lhs)); in output_op_compare()
628 rhs = pseudo_to_value(fn, NULL, insn->src2); in output_op_compare()
756 LLVMValueRef target, src1, src2, src3; in output_op_sel() local
760 src2 = get_operand(fn, insn->type, insn->src2); in output_op_sel()
764 target = LLVMBuildSelect(fn->builder, src1, src2, src3, name); in output_op_sel()
H A Dir.c132 err += check_user(insn, insn->src2); in validate_insn()
H A Dlinearize.h123 pseudo_t src1, src2, src3; member
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrl.c148 sm_strlcat2(dst, src1, src2, len) in sm_strlcat2() argument
151 register const char *src2;
161 return o + strlen(src1) + strlen(src2);
174 return j + strlen(src1 + i) + strlen(src2);
180 for (i = 0; i < len && (dst[j] = src2[i]) != 0; i++, j++)
183 if (src2[i] == '\0')
186 return j + strlen(src2 + i);
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A DIR.rst16 * .src1, .src2, .src3: (pseudo_t) operands of binops or ternary ops.
115 * .src1, .src2: operands (types must be compatible with .target)
131 * .src1, .src2: operands (types must be compatible)
305 * .src2, .src3: operands (types must be compatible with .target)
313 * .src2, src3: bound of the value (must be constants?)
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxge_osdep.h125 #define xge_os_memcmp(src1, src2, size) bcmp(src1, src2, size) argument
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrcmp.S131 cmp %o3, %g1 ! *scr1 == *src2 ?
133 add %o1, 8, %o1 ! src1 += 8, src2 += 8
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_instruction_emul.c1724 uint64_t src1, src2, dst, rflags; in vie_emulate_bextr() local
1753 error = vm_get_register(vm, vcpuid, gpr_map[vie->vex_reg], &src2); in vie_emulate_bextr()
1760 start = (src2 & 0xff); in vie_emulate_bextr()
1761 len = (src2 & 0xff00) >> 8; in vie_emulate_bextr()