HomeSort by: relevance | last modified time | path
    Searched refs:blk (Results 1 - 25 of 43) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/panfrost/util/
pan_liveness.c 62 liveness_block_live_out(pan_block *blk, unsigned temp_count)
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->live_in)
141 pan_block *blk = (struct pan_block *) cur->key; local
    [all...]
pan_ir.h 294 #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/
bi_layout.c 109 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)
bi_liveness.c 58 liveness_block_update(bi_block *blk, unsigned temp_count)
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 = (struct bi_block *) cur->key local
    [all...]
bi_opt_dce.c 94 bi_postra_liveness_block(bi_block *blk)
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
138 bool progress = bi_postra_liveness_block(blk);
142 if (progress || !_mesa_set_search(visited, blk)) {
    [all...]
bi_test.h 46 bi_block *blk = rzalloc(ctx, bi_block); local
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);
bi_helper_invocations.c 169 bi_block *blk = (struct bi_block *) cur->key; local
173 bi_foreach_predecessor(blk, pred) {
180 _mesa_set_add(visited, blk);
259 bi_block *blk = (struct bi_block *) cur->key; local
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);
bi_ra.c 285 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,
compiler.h 833 #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/
agx_liveness.c 55 liveness_block_update(agx_block *blk, unsigned words)
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 = (struct agx_block *) cur->key local
    [all...]
agx_compiler.h 499 #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), \
agx_compile.c 896 agx_block *blk = rzalloc(ctx, agx_block); local
898 blk->predecessors = _mesa_set_create(blk,
901 return blk;
914 agx_block *blk = ctx->current_block; local
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/
midgard_helper_invocations.c 127 pan_block *blk = (struct pan_block *) cur->key; local
131 pan_foreach_predecessor(blk, pred) {
138 _mesa_set_add(visited, blk);
221 pan_block *blk = (struct pan_block *) cur->key; local
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);
compiler.h 412 #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), \
midgard_emit.c 773 midgard_block *blk = mir_get_block(ctx, idx); local
774 assert(blk);
776 quadword_offset += blk->quadword_count;
782 midgard_block *blk = mir_get_block(ctx, idx); local
783 assert(blk);
785 quadword_offset -= blk->quadword_count;
  /xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
pgmdump2.c 314 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->size % blk->count) == 0)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
texcompress_etc_tmp.h 120 int modifier, bit, idx, blk; local
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.old/dist/src/mesa/main/
texcompress_etc_tmp.h 120 int modifier, bit, idx, blk; local
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/
MultiSink.c 345 XawTextBlock blk; local
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
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.ptr)[i]
596 XawTextBlock blk; local
    [all...]
AsciiSink.c 1046 XawTextBlock blk; local
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
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.ptr[i]
1484 XawTextBlock blk; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
si_shaderlib_tgsi.c 159 struct ureg_src blk = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_BLOCK_ID, 0); local
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
252 ureg_UMAD(ureg, idx, blk, ureg_imm1u(ureg, 64), tid);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
si_shaderlib_tgsi.c 148 struct ureg_src blk = ureg_DECL_system_value(ureg, TGSI_SEMANTIC_BLOCK_ID, 0); local
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
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/
sha1.c 25 * 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/util/sha1/
sha1.c 25 * 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/auxiliary/vl/
vl_mpeg12_bitstream.c 714 int i, cbp, blk = 0; local
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

1 2