Searched refs:words (Results 1 - 25 of 124) sorted by relevance

12345

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp/tests/
H A D039-func-arg-obj-macro-with-comma.c3 #define bar two,words
20 #define bar_parens (two,words)
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/glcpp/tests/
H A D039-func-arg-obj-macro-with-comma.c3 #define bar two,words
20 #define bar_parens (two,words)
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Ddisassemble.c441 static void dump_clause(FILE *fp, uint32_t *words, unsigned *size, unsigned offset, bool verbose) argument
451 for (i = 0; ; i++, words += 4) {
455 fprintf(fp, "%08x ", words[3 - j]); // low bit on the right
458 unsigned tag = bits(words[0], 0, 8);
463 main_instr.add_bits = bits(words[2], 2, 32 - 13);
465 main_instr.fma_bits = bits(words[1], 11, 32) | bits(words[2], 0, 2) << (32 - 11);
467 main_instr.reg_bits = ((uint64_t) bits(words[1], 0, 11)) << 24 | (uint64_t) bits(words[0], 8, 32);
469 uint64_t const0 = bits(words[
691 uint32_t *words = (uint32_t *) code; local in function:disassemble_bifrost
[all...]
/xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
H A Dagx_liveness.c55 liveness_block_update(agx_block *blk, unsigned words) argument
61 for (unsigned i = 0; i < words; ++i)
66 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words);
67 memcpy(live, blk->live_out, words * sizeof(BITSET_WORD));
73 for (unsigned i = 0; i < words; ++i)
99 unsigned words = BITSET_WORDS(ctx->alloc); local in function:agx_compute_liveness
109 block->live_in = rzalloc_array(block, BITSET_WORD, words);
110 block->live_out = rzalloc_array(block, BITSET_WORD, words);
123 bool progress = liveness_block_update(blk, words);
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dgl_spirv.c222 gl_spirv_validation(const uint32_t *words, size_t word_count, argument
231 const uint32_t *word_end = words + word_count;
233 struct vtn_builder *b = vtn_create_builder(words, word_count,
247 words+= 5;
250 words = vtn_foreach_instruction(b, words, word_end,
264 words = vtn_foreach_instruction(b, words, word_end,
H A Dnir_spirv.h101 bool gl_spirv_validation(const uint32_t *words, size_t word_count,
105 nir_shader *spirv_to_nir(const uint32_t *words, size_t word_count,
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dgl_spirv.c222 gl_spirv_validation(const uint32_t *words, size_t word_count, argument
231 const uint32_t *word_end = words + word_count;
233 struct vtn_builder *b = vtn_create_builder(words, word_count,
247 words+= 5;
250 words = vtn_foreach_instruction(b, words, word_end,
264 words = vtn_foreach_instruction(b, words, word_end,
H A Dnir_spirv.h93 bool gl_spirv_validation(const uint32_t *words, size_t word_count,
97 nir_function *spirv_to_nir(const uint32_t *words, size_t word_count,
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_util.h263 if (id >= words.size() * 64)
266 return words[id / 64u] & (1ull << (id % 64u)) ? 1 : 0;
283 if (words.size() * 64u <= id)
284 words.resize(id / 64u + 1);
292 if (words[it.word] & mask)
295 words[it.word] |= mask;
305 words[id / 64u] ^= 1ull << (id % 64u);
314 for (size_t i = 0; i < words.size(); i++) {
315 if (words[i]) {
317 it.bit = ffsll(words[
341 std::vector<uint64_t> words; member in struct:aco::IDSet
[all...]
/xsrc/external/mit/brotli/dist/c/enc/
H A Dencoder_dict.h19 /* Dictionary data (words and transforms) for 1 possible context */
21 const BrotliDictionary* words; member in struct:BrotliEncoderDictionary
H A Dencoder_dict.c19 dict->words = BrotliGetDictionary();
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_bitmask.c53 util_bitmask_word *words; member in struct:util_bitmask
72 bm->words = (util_bitmask_word *)
74 if (!bm->words) {
116 REALLOC((void *)bm->words,
127 bm->words = new_words;
180 if (!(bm->words[word] & mask))
196 assert(!(bm->words[word] & mask));
197 bm->words[word] |= mask;
221 bm->words[word] |= mask;
246 bm->words[wor
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_bitmask.c53 util_bitmask_word *words; member in struct:util_bitmask
72 bm->words = (util_bitmask_word *)
74 if (!bm->words) {
116 REALLOC((void *)bm->words,
127 bm->words = new_words;
180 if (!(bm->words[word] & mask))
196 assert(!(bm->words[word] & mask));
197 bm->words[word] |= mask;
221 bm->words[word] |= mask;
246 bm->words[wor
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/tests/
H A Dvolatile.cpp54 static const uint32_t words[] = { local in function:TEST_F
74 get_nir(sizeof(words) / sizeof(words[0]), words);
110 static const uint32_t words[] = { local in function:TEST_F
130 get_nir(sizeof(words) / sizeof(words[0]), words);
165 static const uint32_t words[] = { local in function:TEST_F
184 get_nir(sizeof(words) / sizeo
223 static const uint32_t words[] = { local in function:TEST_F
281 static const uint32_t words[] = { local in function:TEST_F
344 static const uint32_t words[] = { local in function:TEST_F
407 static const uint32_t words[] = { local in function:TEST_F
474 static const uint32_t words[] = { local in function:TEST_F
544 static const uint32_t words[] = { local in function:TEST_F
[all...]
H A Davail_vis.cpp57 static const uint32_t words[] = { local in function:TEST_F
78 get_nir(sizeof(words) / sizeof(words[0]), words);
121 static const uint32_t words[] = { local in function:TEST_F
142 get_nir(sizeof(words) / sizeof(words[0]), words);
185 static const uint32_t words[] = { local in function:TEST_F
206 get_nir(sizeof(words) / sizeo
256 static const uint32_t words[] = { local in function:TEST_F
327 static const uint32_t words[] = { local in function:TEST_F
390 static const uint32_t words[] = { local in function:TEST_F
[all...]
H A Dhelpers.h44 void get_nir(size_t num_words, const uint32_t *words) argument
61 shader = spirv_to_nir(words, num_words, NULL, 0,
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dbitset.h150 if (words[i]) \
165 return BITSET_EQUAL(b.words, c.words); \
192 c.words[i] = ~b.words[i]; \
200 words[i] |= b.words[i]; \
216 words[i] &= b.words[i]; \
231 return BITSET_TEST(words,
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dbitset.h141 const unsigned int words = amount / BITSET_WORDBITS; local in function:__bitset_shr
146 if (words) {
149 for (i = 0; i < n - words; i++)
150 x[i] = x[i + words];
165 const int words = amount / BITSET_WORDBITS; local in function:__bitset_shl
170 if (words) {
173 for (i = n - 1; i >= words; i--) {
174 x[i] = x[i - words];
416 if (words[i]) \
431 return BITSET_EQUAL(b.words,
[all...]
/xsrc/external/mit/libdrm/dist/tegra/
H A Dpushbuf.c56 * @words: maximum number of words in series of pushes to follow
60 unsigned int words, uint32_t **ptrp)
67 if (pushbuf->ptr + words >= pushbuf->end) {
68 words = pushbuf->end - pushbuf->start + words;
69 size = ALIGN(words * 4, job->page_size);
98 command->gather_uptr.words = ptr - pushbuf->start;
59 drm_tegra_pushbuf_begin(struct drm_tegra_pushbuf * pushbuf,unsigned int words,uint32_t ** ptrp) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/midgard/
H A Ddisassemble.c123 print_quad_word(uint32_t *words, unsigned tabs) argument
128 printf("0x%08X%s ", words[i], i == 3 ? "" : ",");
342 print_vector_field(const char *name, uint16_t *words, uint16_t reg_word, argument
346 midgard_vector_alu *alu_field = (midgard_vector_alu *) words;
469 print_scalar_field(const char *name, uint16_t *words, uint16_t reg_word, argument
473 midgard_scalar_alu *alu_field = (midgard_scalar_alu *) words;
613 print_extended_branch_writeout_field(uint8_t *words) argument
616 memcpy((char *) &br, (char *) words, sizeof(br));
681 print_alu_word(uint32_t *words, unsigned num_quad_words, argument
684 uint32_t control_word = words[
1080 uint32_t *words = (uint32_t *) code; local in function:disassemble_midgard
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/
H A Dspirv_builder.c45 uint32_t *new_words = reralloc_size(mem_ctx, b->words,
50 b->words = new_words;
69 b->words[b->num_words++] = word;
110 b->extensions.words[pos] |= (1 + len) << 16;
146 b->entry_points.words[pos] |= (3 + len + num_interfaces) << 16;
194 b->debug_names.words[pos] |= (2 + len) << 16;
202 int words = 3 + num_extra_operands; local in function:emit_decoration
203 spirv_buffer_prepare(&b->decorations, b->mem_ctx, words);
204 spirv_buffer_emit_word(&b->decorations, SpvOpDecorate | (words << 16));
259 unsigned words local in function:spirv_builder_emit_vertex
274 unsigned words = 1; local in function:spirv_builder_end_primitive
354 int words = 4 + num_extra_operands; local in function:emit_member_decoration
458 int words = 4 + num_indexes; local in function:spirv_builder_emit_access_chain
576 int words = 4 + num_indexes; local in function:spirv_builder_emit_composite_extract
597 int words = 3 + num_constituents; local in function:spirv_builder_emit_composite_construct
617 int words = 5 + num_components; local in function:spirv_builder_emit_vector_shuffle
636 int words = 5; local in function:spirv_builder_emit_vector_extract
654 int words = 6; local in function:spirv_builder_emit_vector_insert
712 int words = 3 + 2 * num_vars; local in function:spirv_builder_emit_phi
1025 int words = 4; local in function:spirv_builder_emit_image_query_size
1059 int words = 5; local in function:spirv_builder_emit_image_query_lod
1079 int words = 5 + num_args; local in function:spirv_builder_emit_ext_inst
1293 int words = 2 + num_member_types; local in function:spirv_builder_type_struct
1308 int words = 3 + num_parameter_types; local in function:spirv_builder_type_function
1480 int words = 3 + num_constituents; local in function:spirv_builder_spec_const_composite
1558 spirv_builder_get_words(struct spirv_builder * b,uint32_t * words,size_t num_words,uint32_t spirv_version) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/clc/
H A Dclc_helpers.cpp128 uint32_t funcId = ins->words[op->offset];
137 const char *name = reinterpret_cast<const char *>(ins->words + op->offset);
150 uint32_t funcId = ins->words[op->offset];
171 typeId = ins->words[op->offset];
174 id = ins->words[op->offset];
188 id = ins->words[op->offset];
191 name = reinterpret_cast<const char *>(ins->words + op->offset);
213 typeId = ins->words[op->offset];
217 storageClass = ins->words[op->offset];
250 str = reinterpret_cast<const char *>(ins->words
1062 std::vector<uint32_t> words; local in function:clc_spirv_specialize
[all...]
/xsrc/external/mit/xorg-server/dist/miext/shadow/
H A Dshafb8.c48 * Perform a full C2P step on 32 8-bit pixels, stored in 8 32-bit words
102 CARD32 words[8]; member in union:shadowUpdateAfb8::__anon37507944010a
134 c2p_32x8(d.words);
135 store_afb8(win++, winStride, d.words);
H A Dshiplan2p4.c48 * Perform a full C2P step on 16 4-bit pixels, stored in 2 32-bit words
96 CARD32 words[2]; member in union:shadowUpdateIplan2p4::__anonbf9c3f8d010a
126 c2p_16x4(d.words);
127 store_iplan2p4(win, d.words);
H A Dshiplan2p8.c48 * Perform a full C2P step on 16 8-bit pixels, stored in 4 32-bit words
97 CARD32 words[4]; member in union:shadowUpdateIplan2p8::__anonbf9c5091010a
127 c2p_16x8(d.words);
128 store_iplan2p8(win, d.words);

Completed in 16 milliseconds

12345