Home
last modified time | relevance | path

Searched refs:fs_reg (Results 1 - 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs.h75 static inline fs_reg
76 offset(const fs_reg &reg, const brw::fs_builder &bld, unsigned delta) in offset()
112 fs_reg vgrf(const glsl_type *const type);
116 const fs_reg &dst,
117 const fs_reg &surf_index,
118 const fs_reg &varying_offset,
157 bool get_pull_locs(const fs_reg &src, unsigned *out_surf_index,
209 void emit_fragcoord_interpolation(fs_reg wpos);
210 void emit_is_helper_invocation(fs_reg result);
211 fs_reg emit_frontfacing_interpolatio
[all...]
H A Dbrw_ir_fs.h32 class fs_reg : public backend_reg { class
34 DECLARE_RALLOC_CXX_OPERATORS(fs_reg)
38 fs_reg();
39 fs_reg(struct ::brw_reg reg);
40 fs_reg(enum brw_reg_file file, int nr);
41 fs_reg(enum brw_reg_file file, int nr, enum brw_reg_type type);
43 bool equals(const fs_reg &r) const;
44 bool negative_equals(const fs_reg &r) const;
57 static inline fs_reg
58 negate(fs_reg re
[all...]
H A Dbrw_fs_visitor.cpp37 fs_reg
38 fs_visitor::emit_mcs_fetch(const fs_reg &coordinate, unsigned components, in emit_mcs_fetch()
39 const fs_reg &texture, in emit_mcs_fetch()
40 const fs_reg &texture_handle) in emit_mcs_fetch()
42 const fs_reg dest = vgrf(glsl_type::uvec4_type); in emit_mcs_fetch()
44 fs_reg srcs[TEX_LOGICAL_NUM_SRCS]; in emit_mcs_fetch()
72 bld.MOV(fs_reg(MRF, 2 + i * reg_width, BRW_REGISTER_TYPE_F), in emit_dummy_fs()
118 fs_reg
136 return fs_reg(ATTR, regnr, BRW_REGISTER_TYPE_F); in interp_reg()
143 fs_reg
[all...]
H A Dtest_fs_cmod_propagation.cpp126 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
127 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
128 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
129 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
158 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
159 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
160 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
161 fs_reg zero(brw_imm_f(0.0f)); in TEST_F()
192 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
193 fs_reg src in TEST_F()
[all...]
H A Dbrw_lower_logical_sends.cpp43 fs_reg *payload_sources = new fs_reg[inst->mlen]; in lower_urb_read_logical_send()
44 fs_reg payload = fs_reg(VGRF, bld.shader->alloc.allocate(inst->mlen), in lower_urb_read_logical_send()
89 fs_reg *payload_sources = new fs_reg[inst->mlen]; in lower_urb_write_logical_send()
90 fs_reg payload = fs_reg(VGRF, bld.shader->alloc.allocate(inst->mlen), in lower_urb_write_logical_send()
133 fs_reg *dst, fs_reg colo in setup_color_payload()
[all...]
H A Dtest_fs_saturate_propagation.cpp116 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
117 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
118 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
119 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
151 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
152 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
153 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F()
154 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
155 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
189 fs_reg dst in TEST_F()
[all...]
H A Dbrw_fs_nir.cpp92 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * reg_size); in nir_setup_outputs()
121 group_size[i] = fs_reg(UNIFORM, uniforms++, BRW_REGISTER_TYPE_UD); in nir_setup_uniforms()
131 subgroup_id = fs_reg(UNIFORM, uniforms++, BRW_REGISTER_TYPE_UD); in nir_setup_uniforms()
138 fs_reg *reg; in emit_system_values_block()
173 fs_reg g1(retype(brw_vec8_grf(1, 0), BRW_REGISTER_TYPE_UD)); in emit_system_values_block()
174 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
228 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
247 fs_reg inverted = negate(shifted); in emit_system_values_block()
256 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
259 fs_reg ds in emit_system_values_block()
[all...]
H A Dtest_fs_scoreboard.cpp99 emit_SEND(const fs_builder &bld, const fs_reg &dst, in emit_SEND()
100 const fs_reg &desc, const fs_reg &payload) in emit_SEND()
142 fs_reg g[16]; in TEST_F()
146 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
147 fs_reg y = v->vgrf(glsl_type::int_type); in TEST_F()
169 fs_reg g[16]; in TEST_F()
173 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
195 fs_reg g[16]; in TEST_F()
199 fs_reg in TEST_F()
[all...]
H A Dbrw_mesh.cpp812 static fs_reg
825 fs_reg h = ubld8.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_mesh_urb_handle()
843 fs_reg &urb_handle, in adjust_handle_and_offset()
860 const fs_reg &src) in emit_urb_direct_writes()
867 fs_reg urb_handle = get_mesh_urb_handle(bld, instr->intrinsic); in emit_urb_direct_writes()
898 fs_reg payload_srcs[4]; in emit_urb_direct_writes()
907 fs_reg srcs[URB_LOGICAL_NUM_SRCS]; in emit_urb_direct_writes()
910 srcs[URB_LOGICAL_SRC_DATA] = fs_reg(VGRF, bld.shader->alloc.allocate(length), in emit_urb_direct_writes()
929 fs_reg payload_srcs[4]; in emit_urb_direct_writes()
935 fs_reg src in emit_urb_direct_writes()
[all...]
H A Dbrw_fs.cpp52 fs_inst::init(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in init()
53 const fs_reg *src, unsigned sources) in init()
57 this->src = new fs_reg[MAX2(sources, 3)]; in init()
103 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst) in fs_inst()
108 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst()
109 const fs_reg &src0) in fs_inst()
111 const fs_reg src[1] = { src0 }; in fs_inst()
115 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst()
116 const fs_reg &src0, const fs_reg in fs_inst()
493 fs_reg::fs_reg() fs_reg() function in fs_reg
499 fs_reg::fs_reg(struct ::brw_reg reg) : fs_reg() function in fs_reg
[all...]
H A Dtest_fs_copy_propagation.cpp115 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
116 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
117 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
118 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F()
157 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
158 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
159 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
H A Dbrw_fs_cse.cpp43 fs_reg tmp;
120 fs_reg *xs = a->src; in operands_match()
121 fs_reg *ys = b->src; in operands_match()
205 create_copy_instr(const fs_builder &bld, fs_inst *inst, fs_reg src, bool negate) in create_copy_instr()
214 fs_reg *payload = ralloc_array(bld.shader->mem_ctx, fs_reg, in create_copy_instr()
231 fs_reg *payload = ralloc_array(bld.shader->mem_ctx, fs_reg, sources); in create_copy_instr()
294 entry->tmp = fs_reg(VGRF, alloc.allocate(written), in opt_cse_local()
348 fs_reg *src_re in opt_cse_local()
[all...]
H A Dbrw_fs_live_variables.h95 int var_from_reg(const fs_reg &reg) const in var_from_reg()
135 void setup_one_read(struct block_data *bd, int ip, const fs_reg &reg);
137 const fs_reg &reg);
H A Dbrw_fs_reg_allocate.cpp37 assign_reg(unsigned *reg_hw_locations, fs_reg *reg) in assign_reg()
352 fs_reg dst, uint32_t spill_offset, unsigned count);
354 fs_reg src, uint32_t spill_offset, unsigned count);
358 fs_reg alloc_scratch_header();
359 fs_reg alloc_spill_reg(unsigned size, int ip);
393 fs_reg scratch_header;
748 fs_reg dst, in emit_unspill()
761 fs_reg header = this->scratch_header; in emit_unspill()
769 fs_reg ex_desc; in emit_unspill()
778 fs_reg src in emit_unspill()
[all...]
H A Dbrw_fs_combine_constants.cpp94 reg_link(fs_reg *reg) : reg(reg) {} in reg_link()
97 fs_reg *reg;
101 link(void *mem_ctx, fs_reg *reg) in link()
220 const fs_reg *src = &inst->src[src_idx]; in get_constant_value()
300 needs_negate(const fs_reg *reg, const struct imm *imm) in needs_negate()
511 fs_reg reg(VGRF, alloc.allocate(1)); in opt_combine_constants()
560 fs_reg *reg = link->reg; in opt_combine_constants()
H A Dbrw_fs_lower_regioning.cpp381 const fs_reg tmp = ibld.vgrf(get_exec_type(inst)); in lower_src_modifiers()
412 fs_reg tmp = ibld.vgrf(type, stride); in lower_dst_modifiers()
455 fs_reg tmp = ibld.vgrf(inst->src[i].type, stride); in lower_src_region()
465 fs_reg raw_src = inst->src[i]; in lower_src_region()
475 fs_reg lower_src = tmp; in lower_src_region()
504 fs_reg tmp = ibld.vgrf(inst->dst.type, stride); in lower_dst_region()
556 fs_reg tmp = ibld.vgrf(inst->dst.type, inst->dst.stride); in lower_exec_type()
H A Dbrw_fs_live_variables.cpp57 int ip, const fs_reg &reg) in setup_one_read()
75 int ip, const fs_reg &reg) in setup_one_write()
118 fs_reg reg = inst->src[i]; in setup_def_use()
133 fs_reg reg = inst->dst; in setup_def_use()
328 const fs_reg &reg, unsigned n) in check_register_live_range()
H A Dbrw_fs_sel_peephole.cpp200 fs_reg src0(then_mov[i]->src[0]); in opt_peephole_sel()
207 fs_reg src1(else_mov[i]->src[0]); in opt_peephole_sel()
H A Dbrw_fs_lower_pack.cpp41 fs_reg dst = inst->dst; in lower_pack()
H A Dbrw_fs_bank_conflicts.cpp483 is_grf(const fs_reg &r)
495 reg_of(const fs_reg &r)
895 fs_reg
896 transform(const partitioning &p, const permutation &map, fs_reg r) in transform()
H A Dbrw_fs_dead_code_eliminate.cpp101 inst->dst = fs_reg(spread(retype(brw_null_reg(), inst->dst.type), in dead_code_eliminate()
H A Dbrw_fs_scoreboard.cpp641 get(const fs_reg &r) const
653 set(const fs_reg &r, const dependency &d)
743 dep(const fs_reg &r)
1015 const fs_reg r = byte_offset(inst->src[i], REG_SIZE * j);
H A Dbrw_fs_builder.h43 typedef fs_reg src_reg;
46 typedef fs_reg dst_reg;
/third_party/node/deps/v8/src/execution/mips/
H A Dsimulator-mips.cc2683 fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterDRsType()
3078 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterWRsType()
3083 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3087 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3170 fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
3316 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
3383 ? get_fpu_register_float(fs_reg()) in DecodeTypeRegisterSRsType()
3389 ? get_fpu_register_float(fs_reg()) in DecodeTypeRegisterSRsType()
3570 double fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterLRsType()
3578 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
[all...]
/third_party/node/deps/v8/src/execution/mips64/
H A Dsimulator-mips64.cc2690 fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterSRsType()
3019 ? get_fpu_register_float(fs_reg()) in DecodeTypeRegisterSRsType()
3025 ? get_fpu_register_float(fs_reg()) in DecodeTypeRegisterSRsType()
3066 fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterDRsType()
3435 float fs = get_fpu_register_float(fs_reg()); in DecodeTypeRegisterWRsType()
3440 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3444 alu_out = get_fpu_register_signed_word(fs_reg()); in DecodeTypeRegisterWRsType()
3526 double fs = get_fpu_register_double(fs_reg()); in DecodeTypeRegisterLRsType()
3531 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
3535 i64 = get_fpu_register(fs_reg()); in DecodeTypeRegisterLRsType()
[all...]

Completed in 31 milliseconds

12