| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/ir/pp/ |
| H A D | node.c | 34 .slots = (int []) { 42 .slots = (int []) { 49 .slots = (int []) { 65 .slots = (int []) { 71 .slots = (int []) { 77 .slots = (int []) { 83 .slots = (int []) { 89 .slots = (int []) { 95 .slots = (int []) { 101 .slots [all...] |
| H A D | instr.c | 64 int *slots = ppir_op_infos[mul->op].slots; local in function:ppir_instr_insert_mul_node 66 for (int i = 0; slots[i] != PPIR_INSTR_SLOT_END; i++) { 68 if (slots[i] == pos) { 69 if (!instr->slots[pos]) { 106 instr->slots[pos] = mul; 143 if (!instr->slots[i]) 146 ppir_alu_node *alu = ppir_node_to_alu(instr->slots[i]); 188 int *slots = ppir_op_infos[node->op].slots; local in function:ppir_instr_insert_node [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/pp/ |
| H A D | node.c | 34 .slots = (int []) { 51 .slots = (int []) { 58 .slots = (int []) { 65 .slots = (int []) { 71 .slots = (int []) { 77 .slots = (int []) { 83 .slots = (int []) { 89 .slots = (int []) { 95 .slots = (int []) { 101 .slots [all...] |
| H A D | instr.c | 64 int *slots = ppir_op_infos[mul->op].slots; local in function:ppir_instr_insert_mul_node 66 for (int i = 0; slots[i] != PPIR_INSTR_SLOT_END; i++) { 68 if (slots[i] == pos) { 69 if (!instr->slots[pos]) { 106 instr->slots[pos] = mul; 157 if (!instr->slots[i]) 160 ppir_alu_node *alu = ppir_node_to_alu(instr->slots[i]); 167 ppir_node *branch_node = instr->slots[PPIR_INSTR_SLOT_BRANCH]; 212 int *slots local in function:ppir_instr_insert_node [all...] |
| H A D | node_to_instr.c | 220 /* preferentially expand nodes in later instruction slots first, so 221 * nodes for earlier slots (which are more likely pipelineable) get 224 int *slots = ppir_op_infos[node->op].slots; local in function:ppir_node_score 225 if (slots) 226 for (int i = 0; slots[i] != PPIR_INSTR_SLOT_END; i++) 227 late_slot = MAX2(late_slot, slots[i]); 325 ppir_node *node = instr->slots[i];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/gp/ |
| H A D | node.c | 33 .slots = (int []) { 43 .slots = (int []) { GPIR_INSTR_SLOT_MUL1, GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 48 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 53 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 59 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 66 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 71 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 78 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 85 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 92 .slots [all...] |
| H A D | instr.c | 55 return instr->slots[GPIR_INSTR_SLOT_ADD1]; 57 return instr->slots[GPIR_INSTR_SLOT_ADD0]; 64 /* two ACC slots must share the same op code */ 114 gpir_store_node *s = gpir_node_to_store(instr->slots[i]); 164 gpir_store_node *s = gpir_node_to_store(instr->slots[i]); 309 gpir_store_node *s = gpir_node_to_store(instr->slots[j]); 318 if (store->child == instr->slots[j]) 380 gpir_store_node *s = gpir_node_to_store(instr->slots[j]); 386 if (store->child == instr->slots[j]) 398 if (!instr->slots[other_slo [all...] |
| H A D | codegen.c | 88 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_MUL0]; 148 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_MUL1]; 200 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_ADD0]; 285 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_ADD1]; 370 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_COMPLEX]; 415 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_PASS]; 505 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_STORE0]; 511 node = instr->slots[GPIR_INSTR_SLOT_STORE1]; 517 node = instr->slots[GPIR_INSTR_SLOT_STORE2]; 523 node = instr->slots[GPIR_INSTR_SLOT_STORE [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | linker_util.cpp | 79 /* Found a block with enough slots to fit the uniform */ 80 if (block->slots == entries) { 86 /* Found a block with more slots than needed. It can still be used. */ 87 } else if (block->slots > entries) { 90 block->slots -= entries; 107 /* We've found the beginning of a new continous block of empty slots */ 108 if (!current_block || current_block->start + current_block->slots != i) { 115 /* The current block continues, so we simply increment its slots */ 116 current_block->slots++;
|
| H A D | linker_util.h | 35 * Sometimes there are empty slots left over in UniformRemapTable after we 36 * allocate slots to explicit locations. This struct represents a single 37 * continouous block of empty slots in UniformRemapTable. 43 /* The number of slots in the block */ 44 unsigned slots; member in struct:empty_uniform_block
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/ir/gp/ |
| H A D | node.c | 33 .slots = (int []) { 43 .slots = (int []) { GPIR_INSTR_SLOT_MUL1, GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 48 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 53 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 59 .slots = (int []) { GPIR_INSTR_SLOT_MUL0, GPIR_INSTR_SLOT_END }, 65 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 70 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 75 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 80 .slots = (int []) { GPIR_INSTR_SLOT_ADD0, GPIR_INSTR_SLOT_ADD1, GPIR_INSTR_SLOT_END }, 85 .slots [all...] |
| H A D | instr.c | 47 return instr->slots[GPIR_INSTR_SLOT_ADD1]; 49 return instr->slots[GPIR_INSTR_SLOT_ADD0]; 56 /* two ACC slots must share the same op code */ 94 gpir_store_node *s = gpir_node_to_store(instr->slots[i]); 96 /* acc node may consume 2 slots, so even it's the child of a 123 gpir_store_node *s = gpir_node_to_store(instr->slots[i]); 259 gpir_store_node *s = gpir_node_to_store(instr->slots[j]); 268 if (store->child == instr->slots[j]) 302 gpir_store_node *s = gpir_node_to_store(instr->slots[j]); 308 if (store->child == instr->slots[ [all...] |
| H A D | codegen.c | 86 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_MUL0]; 145 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_MUL1]; 196 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_ADD0]; 280 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_ADD1]; 364 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_COMPLEX]; 401 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_PASS]; 424 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_BRANCH]; 479 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_STORE0]; 485 node = instr->slots[GPIR_INSTR_SLOT_STORE1]; 491 node = instr->slots[GPIR_INSTR_SLOT_STORE [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | linker_util.h | 38 * Sometimes there are empty slots left over in UniformRemapTable after we 39 * allocate slots to explicit locations. This struct represents a single 40 * continouous block of empty slots in UniformRemapTable. 46 /* The number of slots in the block */ 47 unsigned slots; member in struct:empty_uniform_block
|
| H A D | linker_util.cpp | 118 /* Found a block with enough slots to fit the uniform */ 119 if (block->slots == entries) { 125 /* Found a block with more slots than needed. It can still be used. */ 126 } else if (block->slots > entries) { 129 block->slots -= entries; 146 /* We've found the beginning of a new continous block of empty slots */ 147 if (!current_block || current_block->start + current_block->slots != i) { 154 /* The current block continues, so we simply increment its slots */ 155 current_block->slots++;
|
| /xsrc/external/mit/xf86-video-apm/dist/src/ |
| H A D | apm_i2c.c | 11 WaitForFifo(ApmPtr pApm, int slots) argument 18 if ((STATUS_IOP() & STATUS_FIFO) >= slots)
|
| /xsrc/external/mit/xf86-video-tdfx/dist/src/ |
| H A D | tdfx_priv.c | 285 TDFXMakeSpace(TDFXPtr pTDFX, uint32 slots) argument 292 if (slots > pTDFX->fifoEnd-pTDFX->fifoPtr) { 298 ** 2) There are slots available at the beginning of the fifo up to the read_ptr. 331 ** Wait for enough slots to satisfy the request. 350 } while (slots > slots_available); 352 pTDFX->fifoSlots = slots_available-slots; 356 TDFXAllocateSlots(TDFXPtr pTDFX, int slots) argument 365 pTDFX->fifoSlots-=slots; 366 if (pTDFX->fifoSlots<0) TDFXMakeSpace(pTDFX, slots);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/sb/ |
| H A D | sb_sched.cpp | 312 gpr(), lt(), slots(), 331 slots[slot] = n; 379 slots[k] = NULL; 389 assert(slots[slot]); 391 assert(!(slots[slot]->bc.slot_flags & AF_4SLOT)); 395 dump::dump_op(slots[slot]); 399 removed_nodes.push_back(slots[slot]); 400 slots[slot] = NULL; 405 alu_node *t = slots[4]; 408 if (!slots[cha 1657 unsigned slots = p->get_slot_mask(); local in function:r600_sb::post_scheduler::try_add_instruction 2041 unsigned slots = gt.slot_count(); local in function:r600_sb::alu_clause_tracker::check_clause_limits [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sb/ |
| H A D | sb_sched.cpp | 312 gpr(), lt(), slots(), 331 slots[slot] = n; 379 slots[k] = NULL; 389 assert(slots[slot]); 391 assert(!(slots[slot]->bc.slot_flags & AF_4SLOT)); 395 dump::dump_op(slots[slot]); 399 removed_nodes.push_back(slots[slot]); 400 slots[slot] = NULL; 405 alu_node *t = slots[4]; 408 if (!slots[cha 1657 unsigned slots = p->get_slot_mask(); local in function:r600_sb::post_scheduler::try_add_instruction 2044 unsigned slots = gt.slot_count(); local in function:r600_sb::alu_clause_tracker::check_clause_limits [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/valhall/ |
| H A D | asm.py | 62 'Overflowed uniform slots') 343 slots = mod[len('wait'):] 345 slots = set([int(x) for x in slots]) 347 die(f"Expected slots in {mod}") 350 die_if(not slots.issubset(known_slots), f"Unknown slots in {mod}") 352 if 0 in slots: 354 if 1 in slots: 356 if 2 in slots [all...] |
| /xsrc/external/mit/brotli/dist/c/enc/ |
| H A D | hash_forgetful_chain_inc.h | 44 FN(Slot) slots[BANK_SIZE]; 143 banks[bank].slots[idx].delta = (uint16_t)delta; 144 banks[bank].slots[idx].next = head[key]; 254 slot = banks[bank].slots[last].next; 255 delta = banks[bank].slots[last].delta;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| H A D | r600_asm.c | 313 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); local in function:is_alu_vec_unit_inst 314 return !(slots & AF_S); 319 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); local in function:is_alu_trans_unit_inst 320 return !(slots & AF_V); 326 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); local in function:is_alu_any_unit_inst 327 return slots == AF_VS; 544 struct r600_bytecode_alu *slots[5]) 553 if (slots[i]) { 554 if (slots[i]->bank_swizzle_force) { 555 slots[ 543 check_and_set_bank_swizzle(const struct r600_bytecode * bc,struct r600_bytecode_alu * slots[5]) argument 622 replace_gpr_with_pv_ps(struct r600_bytecode * bc,struct r600_bytecode_alu * slots[5],struct r600_bytecode_alu * alu_prev) argument 759 merge_inst_groups(struct r600_bytecode * bc,struct r600_bytecode_alu * slots[5],struct r600_bytecode_alu * alu_prev) argument 1283 struct r600_bytecode_alu *slots[5]; local in function:r600_bytecode_add_alu_type [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/trivial/ |
| H A D | compute.c | 303 static void init_sampler_views(struct context *ctx, const int *slots) argument 309 for (i = 0; *slots >= 0; ++i, ++slots) { 310 u_sampler_view_default_template(&tview, ctx->tex[*slots], 311 ctx->tex[*slots]->format); 313 ctx->view[i] = pipe->create_sampler_view(pipe, ctx->tex[*slots], 336 static void init_compute_resources(struct context *ctx, const int *slots) argument 341 for (i = 0; *slots >= 0; ++i, ++slots) { 343 .format = ctx->tex[*slots] 405 init_globals(struct context * ctx,const int * slots,uint32_t ** handles) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/tests/trivial/ |
| H A D | compute.c | 303 static void init_sampler_views(struct context *ctx, const int *slots) argument 309 for (i = 0; *slots >= 0; ++i, ++slots) { 310 u_sampler_view_default_template(&tview, ctx->tex[*slots], 311 ctx->tex[*slots]->format); 313 ctx->view[i] = pipe->create_sampler_view(pipe, ctx->tex[*slots], 336 static void init_compute_resources(struct context *ctx, const int *slots) argument 341 for (i = 0; *slots >= 0; ++i, ++slots) { 343 .format = ctx->tex[*slots] 405 init_globals(struct context * ctx,const int * slots,uint32_t ** handles) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | r600_asm.c | 313 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); local in function:is_alu_vec_unit_inst 314 return !(slots & AF_S); 319 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); local in function:is_alu_trans_unit_inst 320 return !(slots & AF_V); 326 unsigned slots = r600_isa_alu_slots(bc->isa->hw_class, alu->op); local in function:is_alu_any_unit_inst 327 return slots == AF_VS; 544 struct r600_bytecode_alu *slots[5]) 553 if (slots[i]) { 554 if (slots[i]->bank_swizzle_force) { 555 slots[ 543 check_and_set_bank_swizzle(const struct r600_bytecode * bc,struct r600_bytecode_alu * slots[5]) argument 622 replace_gpr_with_pv_ps(struct r600_bytecode * bc,struct r600_bytecode_alu * slots[5],struct r600_bytecode_alu * alu_prev) argument 767 merge_inst_groups(struct r600_bytecode * bc,struct r600_bytecode_alu * slots[5],struct r600_bytecode_alu * alu_prev) argument 1278 struct r600_bytecode_alu *slots[5]; local in function:r600_bytecode_add_alu_type [all...] |