Home
last modified time | relevance | path

Searched refs:pass_flags (Results 1 – 25 of 25) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_nir_analyze_boolean_resolves.c48 uint8_t resolve_status = src_instr->pass_flags & BRW_NIR_BOOLEAN_MASK; in get_resolve_status_for_src()
71 uint8_t resolve_status = src_instr->pass_flags & BRW_NIR_BOOLEAN_MASK; in src_mark_needs_resolve()
77 src_instr->pass_flags &= ~BRW_NIR_BOOLEAN_MASK; in src_mark_needs_resolve()
78 src_instr->pass_flags |= BRW_NIR_BOOLEAN_NEEDS_RESOLVE; in src_mark_needs_resolve()
202 instr->pass_flags = (instr->pass_flags & ~BRW_NIR_BOOLEAN_MASK) | in analyze_boolean_resolves_block()
235 instr->pass_flags &= ~BRW_NIR_BOOLEAN_MASK; in analyze_boolean_resolves_block()
237 instr->pass_flags |= BRW_NIR_BOOLEAN_NO_RESOLVE; in analyze_boolean_resolves_block()
239 instr->pass_flags |= BRW_NIR_NON_BOOLEAN; in analyze_boolean_resolves_block()
248 instr->pass_flags = (instr->pass_flags & ~BRW_NIR_BOOLEAN_MASK) | in analyze_boolean_resolves_block()
Dbrw_vec4_nir.cpp1898 (instr->instr.pass_flags & BRW_NIR_BOOLEAN_MASK) == in nir_emit_alu()
Dbrw_fs_nir.cpp1916 (instr->instr.pass_flags & BRW_NIR_BOOLEAN_MASK) == BRW_NIR_BOOLEAN_NEEDS_RESOLVE) { in nir_emit_alu()
3441 (alu->instr.pass_flags & BRW_NIR_BOOLEAN_MASK) != BRW_NIR_BOOLEAN_NEEDS_RESOLVE || in nir_emit_fs_intrinsic()
/external/mesa3d/src/compiler/nir/
Dnir_opt_gcm.c202 instr->pass_flags = GCM_INSTR_SCHEDULE_EARLIER_ONLY; in gcm_pin_instructions()
207 instr->pass_flags = GCM_INSTR_PINNED; in gcm_pin_instructions()
213 instr->pass_flags = 0; in gcm_pin_instructions()
220 instr->pass_flags = GCM_INSTR_SCHEDULE_EARLIER_ONLY; in gcm_pin_instructions()
225 instr->pass_flags = 0; in gcm_pin_instructions()
230 instr->pass_flags = 0; in gcm_pin_instructions()
232 instr->pass_flags = GCM_INSTR_PINNED; in gcm_pin_instructions()
240 instr->pass_flags = GCM_INSTR_PINNED; in gcm_pin_instructions()
247 if (!(instr->pass_flags & GCM_INSTR_PINNED)) { in gcm_pin_instructions()
320 if (instr->pass_flags & GCM_INSTR_SCHEDULED_EARLY) in gcm_schedule_early_instr()
[all …]
Dnir_to_lcssa.c115 if (def->parent_instr->pass_flags == undefined) in def_is_invariant()
116 def->parent_instr->pass_flags = instr_is_invariant(def->parent_instr, loop); in def_is_invariant()
118 return def->parent_instr->pass_flags == invariant; in def_is_invariant()
167 assert(instr->pass_flags == undefined); in instr_is_invariant()
199 assert(def->parent_instr->pass_flags != undefined); in convert_loop_exit_for_ssa()
200 if (def->parent_instr->pass_flags == invariant) in convert_loop_exit_for_ssa()
307 instr->pass_flags = undefined; in convert_to_lcssa()
330 if (instr->pass_flags == undefined) in convert_to_lcssa()
331 instr->pass_flags = instr_is_invariant(instr, nir_cf_node_as_loop(cf_node)); in convert_to_lcssa()
341 if (state->skip_invariants && instr->pass_flags == invariant) in convert_to_lcssa()
[all …]
Dnir_opt_dce.c37 instr->pass_flags = 1; in mark_and_push()
45 if (src->is_ssa && !src->ssa->parent_instr->pass_flags) in mark_live_cb()
63 instr->pass_flags = 0; in init_instr()
116 !following_if->condition.ssa->parent_instr->pass_flags) in init_block()
141 if (!instr->pass_flags) { in nir_opt_dce_impl()
Dnir_opt_combine_stores.c144 assert(store->instr.pass_flags > 0); in combine_stores()
145 if (--store->instr.pass_flags == 0 && store != combo->latest) in combine_stores()
151 assert(combo->latest->instr.pass_flags == 0); in combine_stores()
260 intrin->instr.pass_flags = util_bitcount(vec_mask); in update_combined_store()
270 if (--prev_store->instr.pass_flags == 0) { in update_combined_store()
Dnir_lower_amul.c83 if (parent->pass_flags) in lower_large_src()
96 parent->pass_flags = 1; in lower_large_src()
276 instr->pass_flags = 0; in nir_lower_amul()
Dnir.h757 uint8_t pass_flags; member
/external/mesa3d/src/gallium/drivers/lima/ir/
Dlima_nir_duplicate_consts.c45 dupl->instr.pass_flags = 1; in lima_nir_duplicate_load_const()
71 dupl->instr.pass_flags = 1; in lima_nir_duplicate_load_const()
95 instr->pass_flags = 0; in lima_nir_duplicate_load_consts_impl()
104 if (load->instr.pass_flags) in lima_nir_duplicate_load_consts_impl()
Dlima_nir_duplicate_intrinsic.c54 dupl->instr.pass_flags = 1; in lima_nir_duplicate_intrinsic()
88 dupl->instr.pass_flags = 1; in lima_nir_duplicate_intrinsic()
113 instr->pass_flags = 0; in lima_nir_duplicate_intrinsic_impl()
125 if (itr->instr.pass_flags) in lima_nir_duplicate_intrinsic_impl()
/external/mesa3d/src/amd/compiler/
Daco_opt_value_numbering.cpp152 if (a->operands[i].physReg() == exec && a->pass_flags != b->pass_flags) in operator ()()
174 return a->pass_flags == b->pass_flags; in operator ()()
177 if ((uint32_t) a->format & (uint32_t) Format::VOPC && a->pass_flags != b->pass_flags) in operator ()()
195 return aDPP->pass_flags == bDPP->pass_flags && in operator ()()
250 return aR->pass_flags == bR->pass_flags && in operator ()()
303 aD->pass_flags == bD->pass_flags && in operator ()()
400 instr->pass_flags = ctx.exec_id; in process_block()
Daco_assembler.cpp165 sopp->pass_flags = 0; in emit_instruction()
859 branch->pass_flags = out.size(); in emit_long_jump()
886 if ((offset < INT16_MIN || offset > INT16_MAX) && !branch.second->pass_flags) { in fix_branches()
898 if (branch.second->pass_flags) { in fix_branches()
899 int after_getpc = branch.first + branch.second->pass_flags - 2; in fix_branches()
901 out[branch.first + branch.second->pass_flags - 1] = offset * 4; in fix_branches()
Daco_optimizer.cpp317 mad->pass_flags = mad_info_idx; in set_mad()
1434 if (vopc_instr->pass_flags == instr->pass_flags) { in label_instruction()
1435 assert(instr->pass_flags > 0); in label_instruction()
3026 mad_info = &ctx.mad_infos[ctx.info[instr->definitions[0].tempId()].instr->pass_flags]; in select_instruction()
3210 mad_info* info = &ctx.mad_infos[ctx.info[instr->definitions[0].tempId()].instr->pass_flags]; in apply_literals()
Daco_ir.h911 uint32_t pass_flags; member
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.h186 assert(!(instr->pass_flags & BYPASS_SRC)); in real_dest()
187 instr->pass_flags |= BYPASS_DST; in real_dest()
191 if (can_bypass_src && !(p_instr->pass_flags & BYPASS_DST)) { in real_dest()
192 p_instr->pass_flags |= BYPASS_SRC; in real_dest()
Detnaviv_compiler_nir_liveness.c88 if (instr->pass_flags & BYPASS_SRC) { in set_src_live()
205 if (instr->pass_flags) in etna_live_defs()
Detnaviv_compiler_nir_ra.c128 instr->pass_flags = 0; in etna_ra_assign()
Detnaviv_compiler_nir.c350 if (instr->pass_flags & BYPASS_SRC) { in get_src()
453 if (alu->instr.pass_flags) in emit_alu()
/external/swiftshader/third_party/SPIRV-Tools/tools/opt/
Dopt.cpp660 std::vector<std::string> pass_flags; in ParseFlags() local
751 pass_flags.push_back(CanonicalizeFlag(argv, argc, &argi)); in ParseFlags()
770 if (!optimizer->RegisterPassesFromFlags(pass_flags)) { in ParseFlags()
/external/deqp-deps/SPIRV-Tools/tools/opt/
Dopt.cpp664 std::vector<std::string> pass_flags; in ParseFlags() local
757 pass_flags.push_back(CanonicalizeFlag(argv, argc, &argi)); in ParseFlags()
776 if (!optimizer->RegisterPassesFromFlags(pass_flags)) { in ParseFlags()
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/opt/
Dopt.cpp670 std::vector<std::string> pass_flags; in ParseFlags() local
763 pass_flags.push_back(CanonicalizeFlag(argv, argc, &argi)); in ParseFlags()
782 if (!optimizer->RegisterPassesFromFlags(pass_flags)) { in ParseFlags()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Doptimizer_test.cpp148 std::vector<std::string> pass_flags = { in TEST() local
199 EXPECT_TRUE(opt.RegisterPassesFromFlags(pass_flags)); in TEST()
/external/deqp-deps/SPIRV-Tools/test/opt/
Doptimizer_test.cpp148 std::vector<std::string> pass_flags = { in TEST() local
199 EXPECT_TRUE(opt.RegisterPassesFromFlags(pass_flags)); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Doptimizer_test.cpp148 std::vector<std::string> pass_flags = { in TEST() local
199 EXPECT_TRUE(opt.RegisterPassesFromFlags(pass_flags)); in TEST()