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

12

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_nir_analyze_boolean_resolves.c32 * will have the booleans portion of the instr->pass_flags field set to
48 uint8_t resolve_status = src_instr->pass_flags & BRW_NIR_BOOLEAN_MASK;
71 uint8_t resolve_status = src_instr->pass_flags & BRW_NIR_BOOLEAN_MASK;
77 src_instr->pass_flags &= ~BRW_NIR_BOOLEAN_MASK;
78 src_instr->pass_flags |= BRW_NIR_BOOLEAN_NEEDS_RESOLVE;
194 instr->pass_flags = (instr->pass_flags & ~BRW_NIR_BOOLEAN_MASK) |
227 instr->pass_flags &= ~BRW_NIR_BOOLEAN_MASK;
229 instr->pass_flags |= BRW_NIR_BOOLEAN_NO_RESOLVE;
231 instr->pass_flags |
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_analyze_boolean_resolves.c32 * will have the booleans portion of the instr->pass_flags field set to
48 uint8_t resolve_status = src_instr->pass_flags & BRW_NIR_BOOLEAN_MASK;
71 uint8_t resolve_status = src_instr->pass_flags & BRW_NIR_BOOLEAN_MASK;
77 src_instr->pass_flags &= ~BRW_NIR_BOOLEAN_MASK;
78 src_instr->pass_flags |= BRW_NIR_BOOLEAN_NEEDS_RESOLVE;
202 instr->pass_flags = (instr->pass_flags & ~BRW_NIR_BOOLEAN_MASK) |
235 instr->pass_flags &= ~BRW_NIR_BOOLEAN_MASK;
237 instr->pass_flags |= BRW_NIR_BOOLEAN_NO_RESOLVE;
239 instr->pass_flags |
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_move_discards_to_top.c51 * Sets instr->pass_flags to MOVE_INSTR_FLAG and adds the instr
61 if (instr->pass_flags)
83 /* set pass_flags and remember the instruction for potential cleanup */
84 instr->pass_flags = MOVE_INSTR_FLAG;
98 * discard and its dependencies (using pass_flags = 1).
118 discard->instr.pass_flags = MOVE_INSTR_FLAG;
123 discard->instr.pass_flags = 0;
125 instr->pass_flags = 0;
147 instr->pass_flags = 0;
165 instr->pass_flags
[all...]
H A Dnir_opt_gcm.c68 /* Flags used in the instr->pass_flags field for various instruction states */
246 instr->pass_flags = GCM_INSTR_PINNED;
250 instr->pass_flags = 0;
269 instr->pass_flags = GCM_INSTR_PINNED;
272 instr->pass_flags = GCM_INSTR_PINNED;
281 instr->pass_flags = GCM_INSTR_PINNED;
286 instr->pass_flags = GCM_INSTR_PINNED;
296 * This function also serves to initialize the instr->pass_flags field.
297 * After this is completed, all instructions' pass_flags fields will be set
320 instr->pass_flags
[all...]
H A Dnir_to_lcssa.c117 if (def->parent_instr->pass_flags == undefined)
118 def->parent_instr->pass_flags = instr_is_invariant(def->parent_instr, loop);
120 return def->parent_instr->pass_flags == invariant;
169 assert(instr->pass_flags == undefined);
201 assert(def->parent_instr->pass_flags != undefined);
202 if (def->parent_instr->pass_flags == invariant)
314 instr->pass_flags = undefined;
337 if (instr->pass_flags == undefined)
338 instr->pass_flags = instr_is_invariant(instr, nir_cf_node_as_loop(cf_node));
348 if (state->skip_invariants && instr->pass_flags
[all...]
H A Dnir_opt_combine_stores.c62 * in this array is kept in the store's pass_flags.
144 assert(store->instr.pass_flags > 0);
145 if (--store->instr.pass_flags == 0 && store != combo->latest)
151 assert(combo->latest->instr.pass_flags == 0);
257 /* Use pass_flags to reference count the store based on how many
260 intrin->instr.pass_flags = util_bitcount(vec_mask);
270 if (--prev_store->instr.pass_flags == 0) {
H A Dnir_lower_amul.c85 if (parent->pass_flags)
98 parent->pass_flags = 1;
282 instr->pass_flags = 0;
H A Dnir_opt_vectorize.c71 instr->pass_flags);
120 if (!alu_srcs_equal(&alu1->src[i], &alu2->src[i], instr1->pass_flags))
213 new_alu->instr.pass_flags = alu1->instr.pass_flags;
366 instr->pass_flags = nir->options->vectorize_vec2_16bit ? 2 : 4;
H A Dnir_opt_dce.c131 instr->pass_flags = live;
200 if (!instr->pass_flags) {
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_gcm.c51 /* Flags used in the instr->pass_flags field for various instruction states */
104 * This function also serves to initialize the instr->pass_flags field.
105 * After this is completed, all instructions' pass_flags fields will be set
122 instr->pass_flags = GCM_INSTR_PINNED;
126 instr->pass_flags = 0;
132 instr->pass_flags = 0;
141 instr->pass_flags = GCM_INSTR_PINNED;
145 instr->pass_flags = 0;
151 instr->pass_flags = 0;
156 instr->pass_flags
[all...]
H A Dnir_opt_dce.c37 instr->pass_flags = 1;
45 if (src->is_ssa && !src->ssa->parent_instr->pass_flags)
59 /* We use the pass_flags to store the live/dead information. In DCE, we
63 instr->pass_flags = 0;
116 !following_if->condition.ssa->parent_instr->pass_flags)
141 if (!instr->pass_flags) {
H A Dnir_opt_combine_stores.c62 * in this array is kept in the store's pass_flags.
144 assert(store->instr.pass_flags > 0);
145 if (--store->instr.pass_flags == 0 && store != combo->latest)
151 assert(combo->latest->instr.pass_flags == 0);
257 /* Use pass_flags to reference count the store based on how many
260 intrin->instr.pass_flags = util_bitcount(vec_mask);
270 if (--prev_store->instr.pass_flags == 0) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/
H A Dlima_nir_duplicate_consts.c45 dupl->instr.pass_flags = 1;
71 dupl->instr.pass_flags = 1;
95 instr->pass_flags = 0;
104 if (load->instr.pass_flags)
H A Dlima_nir_duplicate_intrinsic.c53 dupl->instr.pass_flags = 1;
86 dupl->instr.pass_flags = 1;
111 instr->pass_flags = 0;
123 if (itr->instr.pass_flags)
/xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
H A Dagx_liveness.c108 block->pass_flags = false;
127 if (progress || !blk->pass_flags) {
133 blk->pass_flags = true;
H A Dagx_compiler.h349 uint8_t pass_flags; member in struct:agx_block
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_helper_invocations.c124 if (succ->pass_flags & 1)
153 block->pass_flags = bi_block_uses_helpers(block) ? 1 : 0;
155 if (block->pass_flags & 1)
175 pred->pass_flags |= 1;
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_opt_value_numbering.cpp59 /* skip format, opcode and pass_flags */
142 if (a->operands[i].physReg() == exec && a->pass_flags != b->pass_flags)
164 return a->pass_flags == b->pass_flags;
178 return aDPP.pass_flags == bDPP.pass_flags && aDPP.dpp_ctrl == bDPP.dpp_ctrl &&
232 return aR.pass_flags == bR.pass_flags && aR.reduce_op == bR.reduce_op &&
240 return aD.sync == bD.sync && aD.pass_flags
[all...]
H A Daco_assembler.cpp174 sopp.pass_flags = 0;
901 branch->pass_flags = out.size();
932 if ((offset < INT16_MIN || offset > INT16_MAX) && !branch.second->pass_flags) {
945 if (branch.second->pass_flags) {
946 int after_getpc = branch.first + branch.second->pass_flags - 2;
948 out[branch.first + branch.second->pass_flags - 1] = offset * 4;
H A Daco_optimizer.cpp288 mad->pass_flags = mad_info_idx;
1604 instr->pass_flags == 1) {
1605 /* In case of merged shaders, pass_flags=1 means that all lanes are active (exec=-1), so
1613 if (vopc_instr->pass_flags == instr->pass_flags) {
1614 assert(instr->pass_flags > 0);
3700 mad_info = &ctx.mad_infos[ctx.info[instr->definitions[0].tempId()].instr->pass_flags];
3817 if (info.is_dpp() && info.instr->pass_flags == instr->pass_flags &&
3926 mad_info* info = &ctx.mad_infos[ctx.info[instr->definitions[0].tempId()].instr->pass_flags];
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler_nir.h187 assert(!(instr->pass_flags & BYPASS_SRC));
188 instr->pass_flags |= BYPASS_DST;
192 if (can_bypass_src && !(p_instr->pass_flags & BYPASS_DST)) {
193 p_instr->pass_flags |= BYPASS_SRC;
H A Detnaviv_compiler_nir_liveness.c88 if (instr->pass_flags & BYPASS_SRC) {
205 if (instr->pass_flags)
H A Detnaviv_compiler_nir_ra.c129 instr->pass_flags = 0;
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.1.6.rst89 - nir/gcm: Clear out pass_flags before starting
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_nir_lower_ngg.c767 uint8_t old_pass_flags = instr->pass_flags;
768 instr->pass_flags |= flag;
770 if (instr->pass_flags == old_pass_flags)
782 if (instr->pass_flags & nggc_passflag_used_by_pos)
784 else if (instr->pass_flags & nggc_passflag_used_by_other)
823 instr->pass_flags = 0;
868 if ((instr->pass_flags & nggc_passflag_used_by_both) != nggc_passflag_used_by_both)

Completed in 38 milliseconds

12