/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_fs.h | 75 static inline fs_reg 76 offset(const fs_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 D | brw_ir_fs.h | 32 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 D | brw_fs_visitor.cpp | 37 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 D | test_fs_cmod_propagation.cpp | 126 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 D | brw_lower_logical_sends.cpp | 43 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 D | test_fs_saturate_propagation.cpp | 116 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 D | brw_fs_nir.cpp | 92 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 D | test_fs_scoreboard.cpp | 99 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 D | brw_mesh.cpp | 812 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 D | brw_fs.cpp | 52 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 D | test_fs_copy_propagation.cpp | 115 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 D | brw_fs_cse.cpp | 43 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 D | brw_fs_live_variables.h | 95 int var_from_reg(const fs_reg ®) const in var_from_reg() 135 void setup_one_read(struct block_data *bd, int ip, const fs_reg ®); 137 const fs_reg ®);
|
H A D | brw_fs_reg_allocate.cpp | 37 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 D | brw_fs_combine_constants.cpp | 94 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 D | brw_fs_lower_regioning.cpp | 381 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 D | brw_fs_live_variables.cpp | 57 int ip, const fs_reg ®) in setup_one_read() 75 int ip, const fs_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 ®, unsigned n) in check_register_live_range()
|
H A D | brw_fs_sel_peephole.cpp | 200 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 D | brw_fs_lower_pack.cpp | 41 fs_reg dst = inst->dst; in lower_pack()
|
H A D | brw_fs_bank_conflicts.cpp | 483 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 D | brw_fs_dead_code_eliminate.cpp | 101 inst->dst = fs_reg(spread(retype(brw_null_reg(), inst->dst.type), in dead_code_eliminate()
|
H A D | brw_fs_scoreboard.cpp | 641 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 D | brw_fs_builder.h | 43 typedef fs_reg src_reg; 46 typedef fs_reg dst_reg;
|
/third_party/node/deps/v8/src/execution/mips/ |
H A D | simulator-mips.cc | 2683 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 D | simulator-mips64.cc | 2690 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...] |