Home
last modified time | relevance | path

Searched refs:exec_mask (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_ir_common.c119 mask->exec_mask = LLVMBuildAnd(builder, in lp_exec_mask_update()
124 mask->exec_mask = mask->cond_mask; in lp_exec_mask_update()
127 mask->exec_mask = LLVMBuildAnd(builder, in lp_exec_mask_update()
128 mask->exec_mask, in lp_exec_mask_update()
134 mask->exec_mask = LLVMBuildAnd(builder, in lp_exec_mask_update()
135 mask->exec_mask, in lp_exec_mask_update()
182 mask->exec_mask = mask->ret_mask = mask->break_mask = mask->cont_mask = in lp_exec_mask_init()
208 LLVMValueRef exec_mask = mask->has_mask ? mask->exec_mask : NULL; in lp_exec_mask_store() local
215 if (exec_mask) { in lp_exec_mask_store()
220 exec_mask = LLVMBuildTrunc(builder, exec_mask, bld_store->vec_type, ""); in lp_exec_mask_store()
[all …]
Dlp_bld_nir_soa.c62 struct lp_exec_mask *exec_mask = &bld->exec_mask; in mask_vec() local
64 if (!exec_mask->has_mask) { in mask_vec()
68 return exec_mask->exec_mask; in mask_vec()
70 exec_mask->exec_mask, ""); in mask_vec()
148 lp_exec_mask_store(&bld->exec_mask, float_bld, split_vals[0], chan_ptr); in emit_store_64bit_chan()
149 lp_exec_mask_store(&bld->exec_mask, float_bld, split_vals[1], chan_ptr2); in emit_store_64bit_chan()
283 LLVMValueRef pred = mask->has_mask ? mask->exec_mask : NULL; in emit_mask_scatter()
532 lp_exec_mask_store(&bld->exec_mask, float_bld, dst, in emit_store_chan()
708 emit_mask_scatter(bld, reg_storage, indirect_offset, dst[i], &bld->exec_mask); in emit_store_reg()
717 lp_exec_mask_store(&bld->exec_mask, reg_bld, dst[i], this_storage); in emit_store_reg()
[all …]
Dlp_bld_tgsi_soa.c120 struct lp_exec_mask *exec_mask = &bld->exec_mask; in mask_vec() local
122 if (!exec_mask->has_mask) { in mask_vec()
126 return exec_mask->exec_mask; in mask_vec()
128 exec_mask->exec_mask, ""); in mask_vec()
388 LLVMValueRef exec_mask; in lp_exec_mask_ret() local
408 exec_mask = LLVMBuildNot(builder, in lp_exec_mask_ret()
409 mask->exec_mask, in lp_exec_mask_ret()
414 exec_mask, "ret_full"); in lp_exec_mask_ret()
635 LLVMValueRef pred = mask->has_mask ? mask->exec_mask : NULL; in emit_mask_scatter()
1666 lp_exec_mask_store(&bld->exec_mask, float_bld, temp, chan_ptr); in emit_store_64bit_chan()
[all …]
Dlp_bld_ir_common.h56 LLVMValueRef exec_mask; member
Dlp_bld_format.h158 LLVMValueRef exec_mask,
Dlp_bld_format_soa.c1002 LLVMValueRef exec_mask, in lp_build_store_rgba_soa() argument
1076 assert(exec_mask); in lp_build_store_rgba_soa()
1082 …LLVMValueRef should_store_mask = LLVMBuildAnd(gallivm->builder, exec_mask, LLVMBuildNot(gallivm->b… in lp_build_store_rgba_soa()
Dlp_bld_nir.h241 struct lp_exec_mask exec_mask; member
Dlp_bld_tgsi.h578 struct lp_exec_mask exec_mask; member
Dlp_bld_sample.h147 LLVMValueRef exec_mask; member
Dlp_bld_sample_soa.c4053 LLVMValueRef exec_mask, in lp_build_do_atomic_soa() argument
4080 …LLVMValueRef should_store_mask = LLVMBuildAnd(gallivm->builder, exec_mask, LLVMBuildNot(gallivm->b… in lp_build_do_atomic_soa()
4081 assert(exec_mask); in lp_build_do_atomic_soa()
4239 …lp_build_store_rgba_soa(gallivm, format_desc, params->type, params->exec_mask, base_ptr, offset, o… in lp_build_img_op_soa()
4242 …lp_build_do_atomic_soa(gallivm, format_desc, params->type, params->exec_mask, base_ptr, offset, ou… in lp_build_img_op_soa()
/external/mesa3d/src/amd/compiler/
Daco_insert_exec_mask.cpp325 Temp exec_mask = ctx.info[idx].exec.back().first; in transition_to_WQM() local
330 exec_mask = bld.pseudo(aco_opcode::p_parallelcopy, bld.def(bld.lm), bld.exec(exec_mask)); in transition_to_WQM()
331 ctx.info[idx].exec.back().first = exec_mask; in transition_to_WQM()
333 exec_mask = bld.sop1(Builder::s_wqm, bld.def(bld.lm, exec), bld.def(s1, scc), exec_mask); in transition_to_WQM()
334 ctx.info[idx].exec.emplace_back(exec_mask, mask_type_global | mask_type_wqm); in transition_to_WQM()
381 Temp exec_mask = startpgm->definitions.back().getTemp(); in add_coupling_code() local
386 bld.copy(bld.exec(Definition(exec_mask)), Operand(UINT32_MAX, bld.lm == s2)); in add_coupling_code()
391 … ctx.info[0].exec.emplace_back(exec_mask, mask_type_global | mask_type_exact | mask_type_initial); in add_coupling_code()
398exec_mask = bld.sop1(Builder::s_wqm, bld.def(bld.lm, exec), bld.def(s1, scc), bld.exec(exec_mask)); in add_coupling_code()
403 ctx.info[0].exec.emplace_back(exec_mask, mask); in add_coupling_code()
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp955 lp_exec_bgnloop(&bld->exec_mask, true); in swr_tcs_llvm_emit_prologue()
980 lp_exec_mask_cond_push(&bld->exec_mask, tmp); in swr_tcs_llvm_emit_epilogue()
981 lp_exec_break(&bld->exec_mask, &bld->bld_base.pc, false); in swr_tcs_llvm_emit_epilogue()
982 lp_exec_mask_cond_pop(&bld->exec_mask); in swr_tcs_llvm_emit_epilogue()
983 lp_exec_endloop(bld->bld_base.base.gallivm, &bld->exec_mask); in swr_tcs_llvm_emit_epilogue()
1178 lp_build_print_value(gallivm, "[TCS OUT] Store mask: ", bld->exec_mask.exec_mask); in swr_tcs_llvm_store_output()
1206 if (bld->exec_mask.has_mask) { in swr_tcs_llvm_store_output()
1207 lp_build_print_value(gallivm, "[TCS OUT] Exec mask: ", bld->exec_mask.exec_mask); in swr_tcs_llvm_store_output()
1324 lp_exec_mask_cond_push(&bld->exec_mask, tmp); in swr_tcs_llvm_emit_barrier()
1325 lp_exec_break(&bld->exec_mask, &bld->bld_base.pc, false); in swr_tcs_llvm_emit_barrier()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_eu_emit.c3288 struct brw_reg exec_mask = in brw_find_live_channel() local
3302 brw_AND(p, vec1(dst), exec_mask, vec1(dst)); in brw_find_live_channel()
3303 exec_mask = vec1(dst); in brw_find_live_channel()
3310 inst = brw_FBL(p, vec1(dst), exec_mask); in brw_find_live_channel()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c2180 … LLVMValueRef exec_mask = lp_build_cmp(&blduivec, PIPE_FUNC_LEQUAL, true_index_array, fetch_max); in draw_llvm_generate() local
2262 lp_build_mask_begin(&mask, gallivm, vs_type, exec_mask); in draw_llvm_generate()