Home
last modified time | relevance | path

Searched defs:instr (Results 226 - 250 of 521) sorted by relevance

12345678910>>...21

/third_party/mesa3d/src/broadcom/compiler/
H A Dv3d40_tex.c83 handle_tex_src(struct v3d_compile *c, nir_tex_instr *instr, unsigned src_idx, unsigned non_array_components, struct V3D41_TMU_CONFIG_PARAMETER_2 *p2_unpacked, struct qreg *s_out, unsigned *tmu_writes) handle_tex_src() argument
200 vir_tex_handle_srcs(struct v3d_compile *c, nir_tex_instr *instr, struct V3D41_TMU_CONFIG_PARAMETER_2 *p2_unpacked, struct qreg *s, unsigned *tmu_writes) vir_tex_handle_srcs() argument
217 get_required_tex_tmu_writes(struct v3d_compile *c, nir_tex_instr *instr) get_required_tex_tmu_writes() argument
225 v3d40_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr) v3d40_vir_emit_tex() argument
387 v3d40_image_load_store_tmu_op(nir_intrinsic_instr *instr) v3d40_image_load_store_tmu_op() argument
431 vir_image_emit_register_writes(struct v3d_compile *c, nir_intrinsic_instr *instr, bool atomic_add_replaced, uint32_t *tmu_writes) vir_image_emit_register_writes() argument
508 get_required_image_tmu_writes(struct v3d_compile *c, nir_intrinsic_instr *instr, bool atomic_add_replaced) get_required_image_tmu_writes() argument
519 v3d40_vir_emit_image_load_store(struct v3d_compile *c, nir_intrinsic_instr *instr) v3d40_vir_emit_image_load_store() argument
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_lower_phis.cpp123 insert_before_logical_end(Block* block, aco_ptr<Instruction> instr) in insert_before_logical_end() argument
H A Daco_opt_value_numbering.cpp52 hash_murmur_32(Instruction* instr) in hash_murmur_32() argument
333 can_eliminate(aco_ptr<Instruction>& instr) can_eliminate() argument
[all...]
H A Daco_optimizer_postRA.cpp48 uint32_t instr; member
120 save_reg_writes(pr_opt_ctx& ctx, aco_ptr<Instruction>& instr) in save_reg_writes() argument
204 try_apply_branch_vcc(pr_opt_ctx& ctx, aco_ptr<Instruction>& instr) in try_apply_branch_vcc() argument
262 try_optimize_scc_nocompare(pr_opt_ctx& ctx, aco_ptr<Instruction>& instr) try_optimize_scc_nocompare() argument
399 try_combine_dpp(pr_opt_ctx& ctx, aco_ptr<Instruction>& instr) try_combine_dpp() argument
474 process_instruction(pr_opt_ctx& ctx, aco_ptr<Instruction>& instr) process_instruction() argument
[all...]
H A Daco_print_asm.cpp69 print_instr(FILE* output, const std::vector<uint32_t>& binary, char* instr, unsigned size, in print_instr() argument
H A Daco_scheduler.cpp284 aco_ptr<Instruction>& instr = block->instructions[cursor.source_idx]; in downwards_skip() local
161 assert(source_idx < insert_idx_clause); assert(insert_idx_clause < insert_idx); RegisterDemand reference_demand; for (int i = source_idx + 1; i < insert_idx_clause; ++i) { reference_demand.update(register_demand[i]); } assert(total_demand == reference_demand); reference_demand = {}; for (int i = insert_idx_clause; i < insert_idx; ++i) { reference_demand.update(register_demand[i]); } assert(clause_demand == reference_demand); } DownwardsCursor MoveState::downwards_init(int current_idx, bool improved_rar_, bool may_form_clauses) { improved_rar = improved_rar_; std::fill(depends_on.begin(), depends_on.end(), false); if (improved_rar) { std::fill(RAR_dependencies.begin(), RAR_dependencies.end(), false); if (may_form_clauses) std::fill(RAR_dependencies_clause.begin(), RAR_dependencies_clause.end(), false); } for (const Operand& op : current->operands) { if (op.isTemp()) { depends_on[op.tempId()] = true; if (improved_rar && op.isFirstKill()) RAR_dependencies[op.tempId()] = true; } } DownwardsCursor cursor(current_idx, register_demand[current_idx]); cursor.verify_invariants(register_demand); return cursor; } MoveResult MoveState::downwards_move(DownwardsCursor& cursor, bool add_to_clause) { aco_ptr<Instruction>& instr = block->instructions[cursor.source_idx]; for (const Definition& def : instr->definitions) if (def.isTemp() && depends_on[def.tempId()]) return move_fail_ssa; std::vector<bool>& RAR_deps = improved_rar ? (add_to_clause ? RAR_dependencies_clause : RAR_dependencies) : depends_on; for (const Operand& op : instr->operands) verify_invariants() argument
[all...]
H A Daco_ssa_elimination.cpp290 instr_writes_exec(Instruction* instr) in instr_writes_exec() argument
331 aco_ptr<Instruction>& instr in eliminate_useless_exec_writes_in_block() local
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_alu_width.c44 inst_is_vector_alu(const nir_instr *instr, const void *_state) in inst_is_vector_alu() argument
158 nir_alu_instr *instr = nir_alu_instr_create( in lower_fdot() local
178 lower_alu_instr_width(nir_builder *b, nir_instr *instr, void *_data) lower_alu_instr_width() argument
431 scalar_cb(const nir_instr *instr, const void *data) scalar_cb() argument
[all...]
H A Dnir_lower_alu.c43 lower_alu_instr(nir_alu_instr *instr, nir_builder *b) in lower_alu_instr() argument
[all...]
H A Dnir_divergence_analysis.c63 visit_alu(nir_alu_instr *instr) in visit_alu() argument
81 visit_intrinsic(nir_shader *shader, nir_intrinsic_instr *instr) in visit_intrinsic() argument
638 visit_tex(nir_tex_instr *instr) visit_tex() argument
670 visit_load_const(nir_load_const_instr *instr) visit_load_const() argument
676 visit_ssa_undef(nir_ssa_undef_instr *instr) visit_ssa_undef() argument
792 update_instr_divergence(nir_shader *shader, nir_instr *instr) update_instr_divergence() argument
1086 nir_update_instr_divergence(nir_shader *shader, nir_instr *instr) nir_update_instr_divergence() argument
[all...]
H A Dnir_gather_info.c318 nir_intrinsic_writes_external_memory(const nir_intrinsic_instr *instr) in nir_intrinsic_writes_external_memory() argument
467 gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader, in gather_intrinsic_info() argument
844 gather_tex_info(nir_tex_instr *instr, nir_shader *shader) gather_tex_info() argument
860 gather_alu_info(nir_alu_instr *instr, nir_shader *shader) gather_alu_info() argument
[all...]
H A Dnir_group_loads.c54 is_memory_load(nir_instr *instr) in is_memory_load() argument
99 is_grouped_load(nir_instr *instr) in is_grouped_load() argument
112 can_move(nir_instr *instr, uint8_t current_indirection_level) in can_move() argument
135 get_uniform_inst_resource(nir_instr *instr) get_uniform_inst_resource() argument
247 is_pseudo_inst(nir_instr *instr) is_pseudo_inst() argument
298 is_barrier(nir_instr *instr) is_barrier() argument
330 nir_instr *instr = src->ssa->parent_instr; gather_indirections() local
347 get_num_indirections(nir_instr *instr) get_num_indirections() argument
[all...]
H A Dnir_inline_uniforms.c58 nir_instr *instr = src->ssa->parent_instr; in src_only_uses_uniforms() local
[all...]
H A Dnir_lower_blend.c426 nir_lower_blend_instr(nir_builder *b, nir_instr *instr, void *data) in nir_lower_blend_instr() argument
H A Dnir_lower_bit_size.c40 nir_alu_instr *instr = nir_alu_instr_create(bld->shader, nir_op_b2i32); in convert_to_bit_size() local
[all...]
H A Dnir_lower_flrp.c225 all_same_constant(const nir_alu_instr *instr, unsigned src, double *result) in all_same_constant() argument
259 sources_are_constants_with_similar_magnitudes(const nir_alu_instr *instr) in sources_are_constants_with_similar_magnitudes() argument
653 struct nir_alu_instr **instr; nir_lower_flrp() local
[all...]
/third_party/mesa3d/src/imagination/vulkan/pds/
H A Dpvr_pds_printer.c651 void pvr_pds_print_instruction(uint32_t instr) in pvr_pds_print_instruction() argument
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_liverangeevaluator.cpp59 void visit(EmitVertexInstr *instr) override {(void)instr;} global() variable
229 visit(AluInstr *instr) visit() argument
231 sfn_log << SfnLog::merge << "Visit " << *instr << "\\n"; visit() local
250 visit(TexInstr *instr) visit() argument
252 sfn_log << SfnLog::merge << "Visit " << *instr << "\\n"; visit() local
263 visit(ExportInstr *instr) visit() argument
265 sfn_log << SfnLog::merge << "Visit " << *instr << "\\n"; visit() local
270 visit(FetchInstr *instr) visit() argument
272 sfn_log << SfnLog::merge << "Visit " << *instr << "\\n"; visit() local
279 visit(Block *instr) visit() argument
290 visit(ScratchIOInstr *instr) visit() argument
307 visit(StreamOutInstr *instr) visit() argument
309 sfn_log << SfnLog::merge << "Visit " << *instr << "\\n"; visit() local
314 visit(MemRingOutInstr *instr) visit() argument
316 sfn_log << SfnLog::merge << "Visit " << *instr << "\\n"; visit() local
325 visit(ControlFlowInstr *instr) visit() argument
340 visit(IfInstr *instr) visit() argument
346 visit(GDSInstr *instr) visit() argument
348 sfn_log << SfnLog::merge << "Visit " << *instr << "\\n"; visit() local
355 visit(RatInstr *instr) visit() argument
357 sfn_log << SfnLog::merge << "Visit " << *instr << "\\n"; visit() local
367 visit(WriteTFInstr *instr) visit() argument
372 visit(UNUSED LDSAtomicInstr *instr) visit() argument
377 visit(UNUSED LDSReadInstr *instr) visit() argument
[all...]
H A Dsfn_nir_lower_tex.cpp229 r600_nir_lower_cube_to_2darray_filer(const nir_instr *instr, const void *_options) r600_nir_lower_cube_to_2darray_filer() argument
253 r600_nir_lower_cube_to_2darray_impl(nir_builder *b, nir_instr *instr, void *_options) r600_nir_lower_cube_to_2darray_impl() argument
[all...]
H A Dsfn_optimizer.cpp74 void visit(ExportInstr *instr) override {(void)instr;}; variable
78 void visit(ControlFlowInstr *instr) override {(void)instr;}; variable
79 void visit(IfInstr *instr) overrid variable
80 void visit(ScratchIOInstr *instr) override {(void)instr;}; global() variable
81 void visit(StreamOutInstr *instr) override {(void)instr;}; global() variable
82 void visit(MemRingOutInstr *instr) override {(void)instr;}; global() variable
83 void visit(EmitVertexInstr *instr) override {(void)instr;}; global() variable
84 void visit(GDSInstr *instr) override {(void)instr;}; global() variable
85 void visit(WriteTFInstr *instr) override {(void)instr;}; global() variable
86 void visit(LDSAtomicInstr *instr) override {(void)instr;}; global() variable
88 void visit(RatInstr *instr) override {(void)instr;}; global() variable
124 visit(AluInstr *instr) visit() argument
126 sfn_log << SfnLog::opt << "DCE: visit '" << *instr; visit() local
160 visit(LDSReadInstr *instr) visit() argument
162 sfn_log << SfnLog::opt << "visit " << *instr << "\\n"; visit() local
166 visit(AluGroup *instr) visit() argument
173 visit(TexInstr *instr) visit() argument
193 visit(FetchInstr *instr) visit() argument
230 visit(ControlFlowInstr *instr) visit() argument
235 visit(IfInstr *instr) visit() argument
247 void visit(ExportInstr *instr) override {(void)instr;} global() variable
250 void visit(ControlFlowInstr *instr) override {(void)instr;} global() variable
251 void visit(IfInstr *instr) override {(void)instr;} global() variable
252 void visit(ScratchIOInstr *instr) override {(void)instr;} global() variable
253 void visit(StreamOutInstr *instr) override {(void)instr;} global() variable
254 void visit(MemRingOutInstr *instr) override {(void)instr;} global() variable
255 void visit(EmitVertexInstr *instr) override {(void)instr;} global() variable
256 void visit(GDSInstr *instr) override {(void)instr;}; global() variable
257 void visit(WriteTFInstr *instr) override {(void)instr;}; global() variable
258 void visit(RatInstr *instr) override {(void)instr;}; global() variable
261 void visit(LDSAtomicInstr *instr) override {(void)instr;}; global() variable
262 void visit(LDSReadInstr *instr) override {(void)instr;}; global() variable
275 void visit(ExportInstr *instr) override {(void)instr;} global() variable
278 void visit(ControlFlowInstr *instr) override {(void)instr;} global() variable
279 void visit(IfInstr *instr) override {(void)instr;} global() variable
280 void visit(ScratchIOInstr *instr) override {(void)instr;} global() variable
281 void visit(StreamOutInstr *instr) override {(void)instr;} global() variable
282 void visit(MemRingOutInstr *instr) override {(void)instr;} global() variable
283 void visit(EmitVertexInstr *instr) override {(void)instr;} global() variable
284 void visit(GDSInstr *instr) override {(void)instr;}; global() variable
285 void visit(WriteTFInstr *instr) override {(void)instr;}; global() variable
286 void visit(LDSAtomicInstr *instr) override {(void)instr;}; global() variable
287 void visit(LDSReadInstr *instr) override {(void)instr;}; global() variable
288 void visit(RatInstr *instr) override {(void)instr;}; global() variable
339 visit(AluInstr *instr) visit() argument
382 visit(AluGroup *instr) visit() argument
387 visit(TexInstr *instr) visit() argument
392 visit(FetchInstr *instr) visit() argument
397 visit(Block *instr) visit() argument
409 visit(AluInstr *instr) visit() argument
459 visit(AluGroup *instr) visit() argument
467 visit(TexInstr *instr) visit() argument
472 visit(FetchInstr *instr) visit() argument
477 visit(Block *instr) visit() argument
488 void visit(AluInstr *instr) override{(void)instr;} global() variable
489 void visit(AluGroup *instr) override{(void)instr;} global() variable
499 void visit(EmitVertexInstr *instr) override {(void)instr;} global() variable
500 void visit(GDSInstr *instr) override {(void)instr;}; global() variable
501 void visit(WriteTFInstr *instr) override {(void)instr;}; global() variable
502 void visit(LDSAtomicInstr *instr) override {(void)instr;}; global() variable
503 void visit(LDSReadInstr *instr) override {(void)instr;}; global() variable
504 void visit(RatInstr *instr) override {(void)instr;}; global() variable
521 visit(TexInstr *instr) visit() argument
528 visit(ScratchIOInstr *instr) visit() argument
548 visit(ExportInstr *instr) visit() argument
553 replace_src(Instr *instr, RegisterVec4& reg4) replace_src() argument
579 visit(StreamOutInstr *instr) visit() argument
584 visit(MemRingOutInstr *instr) visit() argument
630 visit(FetchInstr *instr) visit() argument
635 visit(Block *instr) visit() argument
642 visit(ControlFlowInstr *instr) visit() argument
647 visit(IfInstr *instr) visit() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_info.c213 static const nir_src *get_texture_src(nir_tex_instr *instr, nir_tex_src_type type) in get_texture_src() argument
391 scan_instruction(const struct nir_shader *nir, struct si_shader_info *info, nir_instr *instr) scan_instruction() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_inline_uniforms.c42 nir_instr *instr = src->ssa->parent_instr; in src_only_uses_uniforms() local
[all...]
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_nir_tess.c60 add_instr_and_srcs_to_set(struct set *instr_set, nir_instr *instr) in add_instr_and_srcs_to_set() argument
108 get_cursor_for_instr_without_cf(nir_instr *instr) get_cursor_for_instr_without_cf() argument
285 remove_tess_level_accesses(nir_builder *b, nir_instr *instr, void *_data) remove_tess_level_accesses() argument
360 tcs_update_deref_input_types(nir_builder *b, nir_instr *instr, void *data) tcs_update_deref_input_types() argument
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_nir_lower_shader_calls.c150 lower_shader_trace_ray_instr(struct nir_builder *b, nir_instr *instr, void *data) in lower_shader_trace_ray_instr() argument
244 lower_shader_call_instr(struct nir_builder *b, nir_instr *instr, void *data) in lower_shader_call_instr() argument
[all...]
H A Dbrw_nir_lower_mem_access_bit_sizes.c243 lower_mem_access_bit_sizes_instr(nir_builder *b, nir_instr *instr, void *cb_data) lower_mem_access_bit_sizes_instr() argument

Completed in 15 milliseconds

12345678910>>...21