Home
last modified time | relevance | path

Searched refs:emit_op (Results 1 – 16 of 16) sorted by relevance

/third_party/pcre2/pcre2/src/sljit/
DsljitNativePPC_common.c1061 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 input_flags, in emit_op() function
1199emit_op(compiler, (src & SLJIT_IMM) ? SLJIT_MOV : type, flags | (type_flags), dst, dstw, TMP_REG1,…
1253 return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1276 return emit_op(compiler, SLJIT_NOT, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1279 …return emit_op(compiler, SLJIT_NEG, flags | (GET_FLAG_TYPE(op_flags) ? ALT_FORM1 : 0), dst, dstw, … in sljit_emit_op1()
1283 …return emit_op(compiler, SLJIT_CLZ, flags | (!(op_flags & SLJIT_I32_OP) ? 0 : ALT_FORM1), dst, dst… in sljit_emit_op1()
1285 return emit_op(compiler, SLJIT_CLZ, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1385 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1390 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1394 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
[all …]
DsljitNativeSPARC_common.c711 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, in emit_op() function
902 return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
905 return emit_op(compiler, SLJIT_MOV_U32, flags | INT_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
908 …return emit_op(compiler, SLJIT_MOV_S32, flags | INT_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, sr… in sljit_emit_op1()
911 …return emit_op(compiler, SLJIT_MOV_U8, flags | BYTE_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJI… in sljit_emit_op1()
914 …return emit_op(compiler, SLJIT_MOV_S8, flags | BYTE_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, sr… in sljit_emit_op1()
917 …return emit_op(compiler, SLJIT_MOV_U16, flags | HALF_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJ… in sljit_emit_op1()
920 …return emit_op(compiler, SLJIT_MOV_S16, flags | HALF_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, s… in sljit_emit_op1()
924 return emit_op(compiler, op, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
927 return emit_op(compiler, SLJIT_SUB, flags | IMM_OP, dst, dstw, SLJIT_IMM, 0, src, srcw); in sljit_emit_op1()
[all …]
DsljitNativeMIPS_common.c1088 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, in emit_op() function
1348 return emit_op(compiler, SLJIT_MOV, WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1352 return emit_op(compiler, SLJIT_MOV_U32, INT_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1354 …return emit_op(compiler, SLJIT_MOV_U32, INT_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1()
1359 …return emit_op(compiler, SLJIT_MOV_S32, INT_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1361 …return emit_op(compiler, SLJIT_MOV_S32, INT_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src … in sljit_emit_op1()
1365 …return emit_op(compiler, SLJIT_MOV_U8, BYTE_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1()
1368 …return emit_op(compiler, SLJIT_MOV_S8, BYTE_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src … in sljit_emit_op1()
1371 …return emit_op(compiler, SLJIT_MOV_U16, HALF_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) … in sljit_emit_op1()
1374 …return emit_op(compiler, SLJIT_MOV_S16, HALF_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src… in sljit_emit_op1()
[all …]
DsljitNativeARM_32.c1011 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 inp_flags,
1045 FAIL_IF(emit_op(compiler, SLJIT_SUB, ALLOW_IMM, SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, local_size)); in sljit_emit_enter()
1085 …FAIL_IF(emit_op(compiler, SLJIT_ADD, ALLOW_IMM, SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, compiler->loc… in sljit_emit_return()
1545 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 inp_flags, in emit_op() function
1785 return emit_op(compiler, SLJIT_MOV, ALLOW_ANY_IMM, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1788 …return emit_op(compiler, SLJIT_MOV_U8, ALLOW_ANY_IMM | BYTE_SIZE, dst, dstw, TMP_REG1, 0, src, (sr… in sljit_emit_op1()
1791 …return emit_op(compiler, SLJIT_MOV_S8, ALLOW_ANY_IMM | SIGNED | BYTE_SIZE, dst, dstw, TMP_REG1, 0,… in sljit_emit_op1()
1794 …return emit_op(compiler, SLJIT_MOV_U16, ALLOW_ANY_IMM | HALF_SIZE, dst, dstw, TMP_REG1, 0, src, (s… in sljit_emit_op1()
1797 …return emit_op(compiler, SLJIT_MOV_S16, ALLOW_ANY_IMM | SIGNED | HALF_SIZE, dst, dstw, TMP_REG1, 0… in sljit_emit_op1()
1800 return emit_op(compiler, op, ALLOW_ANY_IMM, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
[all …]
/third_party/quickjs/
Dquickjs.c21551 static void emit_op(JSParseState *s, uint8_t val) in emit_op() function
21613 emit_op(s, OP_label); in emit_label()
21628 emit_op(s, opcode); in emit_goto()
21659 emit_op(s, OP_push_atom_value); in emit_push_const()
21668 emit_op(s, OP_push_const); in emit_push_const()
21808 emit_op(s, OP_enter_scope); in push_scope()
21831 emit_op(s, OP_leave_scope); in pop_scope()
21841 emit_op(s, OP_leave_scope); in close_scopes()
22234 emit_op(s, OP_get_field2); in js_parse_template()
22270 emit_op(s, OP_call_method); in js_parse_template()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_lower_to_hw_instr.cpp427 emit_op(lower_context* ctx, PhysReg dst_reg, PhysReg src0_reg, PhysReg src1_reg, PhysReg vtmp, in emit_op() function
570 emit_op(ctx, tmp, vtmp, tmp, PhysReg{0}, reduce_op, src.size()); in emit_reduction()
574 emit_op(ctx, tmp, vtmp, tmp, PhysReg{0}, reduce_op, src.size()); in emit_reduction()
578 emit_op(ctx, tmp, vtmp, tmp, PhysReg{0}, reduce_op, src.size()); in emit_reduction()
582 emit_op(ctx, tmp, vtmp, tmp, PhysReg{0}, reduce_op, src.size()); in emit_reduction()
586 emit_op(ctx, tmp, vtmp, tmp, PhysReg{0}, reduce_op, src.size()); in emit_reduction()
591 emit_op(ctx, tmp, dst.physReg(), tmp, vtmp, reduce_op, src.size()); in emit_reduction()
623 emit_op(ctx, tmp, tmp, vtmp, PhysReg{0}, reduce_op, src.size()); in emit_reduction()
628 emit_op(ctx, tmp, dst.physReg(), tmp, vtmp, reduce_op, src.size()); in emit_reduction()
735 emit_op(ctx, tmp, tmp, vtmp, PhysReg{0}, reduce_op, src.size()); in emit_reduction()
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp5644 SPIRExpression &CompilerGLSL::emit_op(uint32_t result_type, uint32_t result_id, const string &rhs, … in emit_op() function in CompilerGLSL
5668 emit_op(result_type, result_id, join(op, to_enclosed_unpacked_expression(op0)), forward); in emit_unary_op()
5680 emit_op(result_type, result_id, in emit_binary_op()
5703 emit_op(result_type, result_id, expr, should_forward(operand)); in emit_unrolled_unary_op()
5752 emit_op(result_type, result_id, expr, should_forward(op0) && should_forward(op1)); in emit_unrolled_binary_op()
5810 emit_op(result_type, id, expr, should_forward(op0)); in emit_complex_bitcast()
5836 emit_op(result_type, result_id, expr, should_forward(op0) && should_forward(op1)); in emit_binary_op_cast()
5844 emit_op(result_type, result_id, join(op, "(", to_unpacked_expression(op0), ")"), forward); in emit_unary_func_op()
5852emit_op(result_type, result_id, join(op, "(", to_unpacked_expression(op0), ", ", to_unpacked_expre… in emit_binary_func_op()
5862 emit_op(result_type, result_id, in emit_atomic_func_op()
[all …]
Dspirv_hlsl.cpp2285 emit_op(result_type, result_id, to_combined_image_sampler(image_id, samp_id), true, true); in emit_sampled_image_op()
3186 emit_op(result_type, id, expr, forward, false); in emit_texture_op()
4016 auto &e = emit_op(result_type, id, load_expr, forward, true); in emit_load()
4572 emit_op(result_type, id, "WaveIsFirstLane()", true); in emit_subgroup_op()
4609 emit_op(result_type, id, join(left, " + ", right), forward); in emit_subgroup_op()
4627 emit_op(ops[0], ops[1], in emit_subgroup_op()
4636 emit_op(ops[0], ops[1], in emit_subgroup_op()
4645 emit_op(ops[0], ops[1], in emit_subgroup_op()
4674emit_op(result_type, id, make_inclusive_##hlsl_op (join("WavePrefix" #hlsl_op, "(", to_expression(… in emit_subgroup_op()
4877 emit_op(result_type, id, expr, should_forward(a) && should_forward(b)); in emit_instruction()
[all …]
Dspirv_msl.cpp6735 emit_op(result_type, result_id, in emit_binary_unord_op()
7054 emit_op(result_type_id, id, expr, false); in emit_tessellation_io_load()
7980 emit_op(rslt_type_id, id, expr, should_forward(img_id)); in emit_instruction()
8020 emit_op(rslt_type_id, id, expr, should_forward(img_id)); \ in emit_instruction()
8039 auto &e = emit_op(result_type, id, to_expression(combined->image), true, true); in emit_instruction()
8049 e = &emit_op(result_type, id, join(to_expression(ops[2]), ".plane0"), true, true); in emit_instruction()
8051 e = &emit_op(result_type, id, to_expression(ops[2]), true, true); in emit_instruction()
8086 emit_op(result_type, id, exp, should_forward(arg)); in emit_instruction()
8145 emit_op(result_type, id, expr, should_forward(a) && should_forward(b)); in emit_instruction()
8179 emit_op(ops[0], ops[1], expr, forward); in emit_instruction()
[all …]
Dspirv_glsl.hpp674 …SPIRExpression &emit_op(uint32_t result_type, uint32_t result_id, const std::string &rhs, bool for…
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h241 (*emit_op)(const struct lp_build_image_soa *image, member
Dlp_bld_tgsi_soa.c3438 bld->image->emit_op(bld->image, in img_load_emit()
3589 bld->image->emit_op(bld->image, in img_store_emit()
3744 bld->image->emit_op(bld->image, in img_atomic_emit()
Dlp_bld_nir_soa.c1374 bld->image->emit_op(bld->image, in emit_image_op()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c479 image->base.emit_op = draw_llvm_image_soa_emit_op; in draw_llvm_image_soa_create()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc341 auto emit_op = [&] { in EmitBinary() local
474 if (!emit_op()) { in EmitBinary()
503 if (!emit_op()) { in EmitBinary()
517 if (!emit_op()) { in EmitBinary()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c528 image->base.emit_op = lp_llvm_image_soa_emit_op; in lp_llvm_image_soa_create()