Searched refs:blk (Results 1 - 25 of 43) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/panfrost/util/
H A Dpan_liveness.c62 liveness_block_live_out(pan_block *blk, unsigned temp_count) argument
64 pan_foreach_successor(blk, succ) {
66 blk->live_out[i] |= succ->live_in[i];
76 pan_block *blk, unsigned temp_count,
81 liveness_block_live_out(blk, temp_count);
83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count);
84 memcpy(live, blk->live_out, temp_count * sizeof(uint16_t));
86 pan_foreach_instr_in_block_rev(blk, ins)
92 progress |= (blk->live_in[i] != live[i]);
94 ralloc_free(blk
75 liveness_block_update(pan_block * blk,unsigned temp_count,pan_liveness_update callback) argument
141 pan_block *blk = (struct pan_block *) cur->key; local in function:pan_compute_liveness
[all...]
H A Dpan_ir.h294 #define pan_foreach_successor(blk, v) \
297 for (_v = (pan_block **) &blk->successors[0], \
299 v != NULL && _v < (pan_block **) &blk->successors[2]; \
302 #define pan_foreach_predecessor(blk, v) \
305 for (_entry_##v = _mesa_set_next_entry(blk->predecessors, NULL), \
308 _entry_##v = _mesa_set_next_entry(blk->predecessors, _entry_##v), \
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_layout.c109 bi_foreach_block_from(ctx, start->block, blk) {
111 if (blk == start->block)
115 if (blk == target)
119 bi_foreach_clause_in_block(blk, clause) {
136 bi_foreach_block_from_rev(ctx, start->block, blk) {
137 if (blk == start->block)
140 bi_foreach_clause_in_block(blk, clause) {
145 if (blk == target)
H A Dbi_liveness.c58 liveness_block_update(bi_block *blk, unsigned temp_count) argument
63 bi_foreach_successor(blk, succ) {
65 blk->live_out[i] |= succ->live_in[i];
68 uint8_t *live = ralloc_array(blk, uint8_t, temp_count);
69 memcpy(live, blk->live_out, temp_count);
71 bi_foreach_instr_in_block_rev(blk, ins)
77 progress |= (blk->live_in[i] != live[i]);
79 ralloc_free(blk->live_in);
80 blk->live_in = live;
128 bi_block *blk local in function:bi_compute_liveness
[all...]
H A Dbi_opt_dce.c94 bi_postra_liveness_block(bi_block *blk) argument
96 bi_foreach_successor(blk, succ)
97 blk->reg_live_out |= succ->reg_live_in;
99 uint64_t live = blk->reg_live_out;
101 bi_foreach_instr_in_block_rev(blk, ins)
104 bool progress = blk->reg_live_in != live;
105 blk->reg_live_in = live;
134 bi_block *blk = (struct bi_block *) cur->key; local in function:bi_postra_liveness
138 bool progress = bi_postra_liveness_block(blk);
142 if (progress || !_mesa_set_search(visited, blk)) {
[all...]
H A Dbi_test.h46 bi_block *blk = rzalloc(ctx, bi_block); local in function:bit_builder
48 blk->predecessors = _mesa_set_create(blk,
52 list_addtail(&blk->link, &ctx->blocks);
53 list_inithead(&blk->instructions);
57 b->cursor = bi_after_block(blk);
H A Dbi_helper_invocations.c169 bi_block *blk = (struct bi_block *) cur->key; local in function:bi_analyze_helper_terminate
173 bi_foreach_predecessor(blk, pred) {
180 _mesa_set_add(visited, blk);
259 bi_block *blk = (struct bi_block *) cur->key; local in function:bi_analyze_helper_requirements
262 bool progress = bi_helper_block_update(deps, blk);
264 if (progress || !_mesa_set_search(visited, blk)) {
265 bi_foreach_predecessor(blk, pred)
269 _mesa_set_add(visited, blk);
H A Dbi_ra.c285 bi_foreach_block_rev(ctx, blk) {
286 uint8_t *live = mem_dup(blk->live_out, node_count);
288 bi_mark_interference(blk, l, live, blk->reg_live_out,
H A Dcompiler.h833 #define bi_foreach_successor(blk, v) \
836 for (_v = &blk->successors[0], \
838 v != NULL && _v < &blk->successors[2]; \
843 #define bi_foreach_predecessor(blk, v) \
846 for (_entry_##v = _mesa_set_next_entry(blk->predecessors, NULL), \
849 _entry_##v = _mesa_set_next_entry(blk->predecessors, _entry_##v), \
/xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
H A Dagx_liveness.c55 liveness_block_update(agx_block *blk, unsigned words) argument
60 agx_foreach_successor(blk, succ) {
62 blk->live_out[i] |= succ->live_in[i];
66 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words);
67 memcpy(live, blk->live_out, words * sizeof(BITSET_WORD));
69 agx_foreach_instr_in_block_rev(blk, I)
74 progress |= (blk->live_in[i] != live[i]);
76 ralloc_free(blk->live_in);
77 blk->live_in = live;
119 agx_block *blk local in function:agx_compute_liveness
[all...]
H A Dagx_compiler.h499 #define agx_foreach_successor(blk, v) \
502 for (_v = (agx_block **) &blk->successors[0], \
504 v != NULL && _v < (agx_block **) &blk->successors[2]; \
507 #define agx_foreach_predecessor(blk, v) \
510 for (_entry_##v = _mesa_set_next_entry(blk->predecessors, NULL), \
513 _entry_##v = _mesa_set_next_entry(blk->predecessors, _entry_##v), \
H A Dagx_compile.c896 agx_block *blk = rzalloc(ctx, agx_block); local in function:agx_create_block
898 blk->predecessors = _mesa_set_create(blk,
901 return blk;
914 agx_block *blk = ctx->current_block; local in function:emit_block
915 list_addtail(&blk->link, &ctx->blocks);
916 list_inithead(&blk->instructions);
918 agx_builder _b = agx_init_builder(ctx, agx_after_block(blk));
924 return blk;
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_helper_invocations.c127 pan_block *blk = (struct pan_block *) cur->key; local in function:mir_analyze_helper_terminate
131 pan_foreach_predecessor(blk, pred) {
138 _mesa_set_add(visited, blk);
221 pan_block *blk = (struct pan_block *) cur->key; local in function:mir_analyze_helper_requirements
224 bool progress = mir_helper_block_update(deps, blk, temp_count);
226 if (progress || !_mesa_set_search(visited, blk)) {
227 pan_foreach_predecessor(blk, pred)
231 _mesa_set_add(visited, blk);
H A Dcompiler.h412 #define mir_foreach_predecessor(blk, v) \
415 for (_entry_##v = _mesa_set_next_entry(blk->base.predecessors, NULL), \
418 _entry_##v = _mesa_set_next_entry(blk->base.predecessors, _entry_##v), \
H A Dmidgard_emit.c773 midgard_block *blk = mir_get_block(ctx, idx); local in function:emit_branch
774 assert(blk);
776 quadword_offset += blk->quadword_count;
782 midgard_block *blk = mir_get_block(ctx, idx); local in function:emit_branch
783 assert(blk);
785 quadword_offset -= blk->quadword_count;
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
H A Dpgmdump2.c314 struct shader_descriptor_block *blk)
316 D(blk, type);
317 X(blk, offset);
318 D(blk, size);
319 D(blk, count);
320 U(blk, 0010, 0010);
323 void *ptr = state->shader + blk->offset;
325 if (blk->count == 0) {
326 assert(blk->size == 0);
328 assert((blk
313 decode_shader_descriptor_block(struct state * state,struct shader_descriptor_block * blk) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexcompress_etc_tmp.h120 int modifier, bit, idx, blk; local in function:TAG
128 blk = (block->flipped) ? (y >= 2) : (x >= 2);
130 base_color = block->base_colors[blk];
131 modifier = block->modifier_tables[blk][idx];
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexcompress_etc_tmp.h120 int modifier, bit, idx, blk; local in function:TAG
128 blk = (block->flipped) ? (y >= 2) : (x >= 2);
130 base_color = block->base_colors[blk];
131 modifier = block->modifier_tables[blk][idx];
/xsrc/external/mit/libXaw/dist/src/
H A DMultiSink.c345 XawTextBlock blk; local in function:DisplayText
366 pos1 = XawTextSourceRead(source, pos1, &blk, (int) (pos2 - pos1));
367 for (k = 0; k < blk.length; k++) {
374 buf[j] = ((wchar_t *)blk.ptr)[k];
555 XawTextBlock blk; local in function:FindDistance
558 pos = XawTextSourceRead(source, fromPos, &blk, (int)(toPos - fromPos));
563 if (i >= blk.length) {
565 XawTextSourceRead(source, pos, &blk, (int)(toPos - pos));
566 if (blk.length == 0)
569 c = ((wchar_t *)blk
596 XawTextBlock blk; local in function:FindPosition
[all...]
H A DAsciiSink.c1046 XawTextBlock blk; local in function:DisplayText
1067 pos1 = XawTextSourceRead(source, pos1, &blk, (int)(pos2 - pos1));
1068 for (k = 0; k < blk.length; k++) {
1075 buf[j] = (unsigned char)blk.ptr[k];
1372 XawTextBlock blk; local in function:FindDistance
1413 pos = XawTextSourceRead(source, pos, &blk, (int)length);
1414 if (blk.length == 0 && pos == idx) /* eof reached */
1417 idx = blk.firstPos;
1419 if (i >= blk.length)
1421 c = (unsigned char)blk
1484 XawTextBlock blk; local in function:FindPosition
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_shaderlib_tgsi.c159 struct ureg_src blk = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_BLOCK_ID, 0); local in function:si_create_dma_compute_shader
174 ureg_UMAD(ureg, store_addr, blk, ureg_imm1u(ureg, 64 * num_mem_ops), tid);
249 struct ureg_src blk = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_BLOCK_ID, 0); local in function:si_create_dcc_retile_cs
252 ureg_UMAD(ureg, idx, blk, ureg_imm1u(ureg, 64), tid);
/xsrc/external/mit/MesaLib.old/dist/src/util/sha1/
H A Dsha1.c25 * blk0() and blk() perform the initial expand.
34 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ macro
41 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
42 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
43 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
44 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shaderlib_tgsi.c148 struct ureg_src blk = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_BLOCK_ID, 0); local in function:si_create_dma_compute_shader
163 ureg_UMAD(ureg, store_addr, blk, ureg_imm1u(ureg, sscreen->compute_wave_size * num_mem_ops),
715 struct ureg_src blk = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_BLOCK_ID, 0); local in function:si_create_fmask_expand_cs
717 ureg_UMAD(ureg, ureg_writemask(coord, TGSI_WRITEMASK_XY), ureg_swizzle(blk, 0, 1, 1, 1),
720 ureg_MOV(ureg, ureg_writemask(coord, TGSI_WRITEMASK_Z), ureg_scalar(blk, TGSI_SWIZZLE_Z));
/xsrc/external/mit/MesaLib/dist/src/util/sha1/
H A Dsha1.c25 * blk0() and blk() perform the initial expand.
34 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ macro
41 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
42 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
43 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
44 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_bitstream.c714 int i, cbp, blk = 0; local in function:decode_dct
730 blk++;
738 blk++;
744 unsigned cc = blk2cc[blk];
745 unsigned size = vl_vlc_get_vlclbf(&bs->vlc, blk2dcsize[blk], 10);

Completed in 27 milliseconds

12