Home
last modified time | relevance | path

Searched refs:temp_count (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/panfrost/util/
Dpan_liveness.c62 liveness_block_live_out(pan_block *blk, unsigned temp_count) in liveness_block_live_out() argument
65 for (unsigned i = 0; i < temp_count; ++i) in liveness_block_live_out()
76 pan_block *blk, unsigned temp_count, in liveness_block_update() argument
81 liveness_block_live_out(blk, temp_count); in liveness_block_update()
83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update()
84 memcpy(live, blk->live_out, temp_count * sizeof(uint16_t)); in liveness_block_update()
87 callback(live, (void *) ins, temp_count); in liveness_block_update()
91 for (unsigned i = 0; (i < temp_count) && !progress; ++i) in liveness_block_update()
110 unsigned temp_count, in pan_compute_liveness() argument
128 block->live_in = rzalloc_array(block, uint16_t, temp_count); in pan_compute_liveness()
[all …]
Dpan_ir.h443 unsigned temp_count,
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_liveness.c58 liveness_block_update(bi_block *blk, unsigned temp_count) in liveness_block_update() argument
64 for (unsigned i = 0; i < temp_count; ++i) in liveness_block_update()
68 uint8_t *live = ralloc_array(blk, uint8_t, temp_count); in liveness_block_update()
69 memcpy(live, blk->live_out, temp_count); in liveness_block_update()
72 bi_liveness_ins_update(live, ins, temp_count); in liveness_block_update()
76 for (unsigned i = 0; (i < temp_count) && !progress; ++i) in liveness_block_update()
94 unsigned temp_count = bi_max_temp(ctx); in bi_compute_liveness() local
106 block->live_in = rzalloc_array(block, uint8_t, temp_count); in bi_compute_liveness()
107 block->live_out = rzalloc_array(block, uint8_t, temp_count); in bi_compute_liveness()
119 if (liveness_block_update(blk, temp_count)) { in bi_compute_liveness()
Dbi_opt_dce.c33 unsigned temp_count = bi_max_temp(ctx); in bi_opt_dead_code_eliminate() local
38 uint8_t *live = rzalloc_array(block, uint8_t, temp_count); in bi_opt_dead_code_eliminate()
41 for (unsigned i = 0; i < temp_count; ++i) in bi_opt_dead_code_eliminate()
61 if (index < temp_count && !(live[index] & bi_writemask(ins, d))) in bi_opt_dead_code_eliminate()
70 bi_liveness_ins_update(live, ins, temp_count); in bi_opt_dead_code_eliminate()
Dbi_validate.c42 unsigned temp_count = bi_max_temp(ctx); in bi_validate_initialization() local
46 for (unsigned i = 0; i < temp_count; ++i) { in bi_validate_initialization()
Dbi_helper_invocations.c228 unsigned temp_count = bi_max_temp(ctx); in bi_analyze_helper_requirements() local
229 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count)); in bi_analyze_helper_requirements()
Dbi_pressure_schedule.c340 unsigned temp_count = bi_max_temp(ctx); in bi_pressure_schedule() local
342 uint8_t *live = ralloc_array(memctx, uint8_t, temp_count); in bi_pressure_schedule()
347 .max = temp_count, in bi_pressure_schedule()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_helper_invocations.c163 mir_helper_block_update(BITSET_WORD *deps, pan_block *_block, unsigned temp_count) in mir_helper_block_update() argument
170 if (ins->dest >= temp_count || !BITSET_TEST(deps, ins->dest)) in mir_helper_block_update()
175 if (ins->src[s] >= temp_count) in mir_helper_block_update()
191 unsigned temp_count = ctx->temp_count; in mir_analyze_helper_requirements() local
192 BITSET_WORD *deps = calloc(sizeof(BITSET_WORD), BITSET_WORDS(temp_count)); in mir_analyze_helper_requirements()
199 if (ins->dest >= ctx->temp_count) continue; in mir_analyze_helper_requirements()
203 if (ins->src[s] < temp_count) in mir_analyze_helper_requirements()
224 bool progress = mir_helper_block_update(deps, blk, temp_count); in mir_analyze_helper_requirements()
241 if (ins->dest >= ctx->temp_count) continue; in mir_analyze_helper_requirements()
Dmidgard_ra.c174 size_t sz = BITSET_WORDS(ctx->temp_count) * sizeof(BITSET_WORD); in mir_lower_special_reads()
229 unsigned spill_idx = ctx->temp_count; in mir_lower_special_reads()
231 for (unsigned i = 0; i < ctx->temp_count; ++i) { in mir_lower_special_reads()
342 if (ins->dest < ctx->temp_count) in mir_compute_interference()
375 if (ins_a->dest >= ctx->temp_count) continue; in mir_compute_interference()
380 if (ins_b->dest >= ctx->temp_count) continue; in mir_compute_interference()
391 uint16_t *live = mem_dup(_blk->live_out, ctx->temp_count * sizeof(uint16_t)); in mir_compute_interference()
399 if (dest < ctx->temp_count) { in mir_compute_interference()
400 for (unsigned i = 0; i < ctx->temp_count; ++i) { in mir_compute_interference()
411 for (unsigned i = 0; i < ctx->temp_count; ++i) { in mir_compute_interference()
[all …]
Dmir_promote_uniforms.c170 mir_count_live(uint16_t *live, unsigned temp_count) in mir_count_live() argument
174 for (unsigned i = 0; i < temp_count; ++i) in mir_count_live()
190 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in mir_estimate_pressure()
193 unsigned count = mir_count_live(live, ctx->temp_count); in mir_estimate_pressure()
195 mir_liveness_ins_update(live, ins, ctx->temp_count); in mir_estimate_pressure()
241 BITSET_WORD *bset = calloc(BITSET_WORDS(ctx->temp_count), sizeof(BITSET_WORD)); in mir_special_indices()
256 if (idx < ctx->temp_count) in mir_special_indices()
326 if (ins->dest < ctx->temp_count) in midgard_promote_uniforms()
Dmidgard_opt_dce.c36 if (ins->dest >= ctx->temp_count) in can_cull_mask()
74 uint16_t *live = mem_dup(block->base.live_out, ctx->temp_count * sizeof(uint16_t)); in midgard_opt_dead_code_eliminate_block()
93 mir_liveness_ins_update(live, ins, ctx->temp_count); in midgard_opt_dead_code_eliminate_block()
Dmidgard_liveness.c56 pan_compute_liveness(&ctx->blocks, ctx->temp_count, mir_liveness_ins_update_wrap); in mir_compute_liveness()
84 if (pan_liveness_get(block->base.live_out, src, ctx->temp_count)) in mir_is_live_after()
Dmir_squeeze.c46 temp = ctx->temp_count++; in find_or_allocate_temp()
64 ctx->temp_count = 0; in mir_squeeze_index()
Dmir.c471 if (ctx->temp_count) in mir_compute_temp_count()
481 ctx->temp_count = max_dest; in mir_compute_temp_count()
/third_party/node/deps/v8/src/compiler/backend/
Dinstruction-selector.h315 size_t temp_count = 0, InstructionOperand* temps = nullptr);
317 InstructionOperand a, size_t temp_count = 0,
321 size_t temp_count = 0, InstructionOperand* temps = nullptr);
324 InstructionOperand c, size_t temp_count = 0,
329 size_t temp_count = 0, InstructionOperand* temps = nullptr);
333 InstructionOperand e, size_t temp_count = 0,
339 size_t temp_count = 0, InstructionOperand* temps = nullptr);
342 InstructionOperand* inputs, size_t temp_count = 0,
367 size_t input_count, InstructionOperand* inputs, size_t temp_count,
Dinstruction-selector.cc189 size_t temp_count, in Emit() argument
192 return Emit(opcode, output_count, &output, 0, nullptr, temp_count, temps); in Emit()
197 InstructionOperand a, size_t temp_count, in Emit() argument
200 return Emit(opcode, output_count, &output, 1, &a, temp_count, temps); in Emit()
206 InstructionOperand b, size_t temp_count, in Emit() argument
211 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
219 InstructionOperand c, size_t temp_count, in Emit() argument
224 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
231 size_t temp_count, InstructionOperand* temps) { in Emit() argument
235 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
[all …]
Dinstruction.h909 size_t temp_count, InstructionOperand* temps) { in New() argument
912 DCHECK(temp_count == 0 || temps != nullptr); in New()
916 size_t total_extra_ops = output_count + input_count + temp_count; in New()
922 opcode, output_count, outputs, input_count, inputs, temp_count, temps); in New()
1043 InstructionOperand* inputs, size_t temp_count,
Dinstruction.cc340 InstructionOperand* inputs, size_t temp_count, in Instruction() argument
345 TempCountField::encode(temp_count) | in Instruction()
360 for (size_t i = 0; i < temp_count; ++i) { in Instruction()
/third_party/node/deps/v8/src/compiler/backend/arm/
Dinstruction-selector-arm.cc469 size_t temp_count = 0; in VisitPairAtomicBinOp() local
470 temps[temp_count++] = g.TempRegister(); in VisitPairAtomicBinOp()
471 temps[temp_count++] = g.TempRegister(r6); in VisitPairAtomicBinOp()
472 temps[temp_count++] = g.TempRegister(r7); in VisitPairAtomicBinOp()
473 temps[temp_count++] = g.TempRegister(); in VisitPairAtomicBinOp()
479 temps[temp_count++] = g.TempRegister(r2); in VisitPairAtomicBinOp()
484 temps[temp_count++] = g.TempRegister(r3); in VisitPairAtomicBinOp()
487 temp_count, temps); in VisitPairAtomicBinOp()
1103 const int temp_count = (kind == StackCheckKind::kJSFunctionEntry) ? 1 : 0; in VisitStackPointerGreaterThan() local
1113 temp_count, temps, cont); in VisitStackPointerGreaterThan()
[all …]
/third_party/node/deps/v8/src/compiler/backend/mips/
Dinstruction-selector-mips.cc252 size_t temp_count = 0; in VisitPairAtomicBinop() local
253 temps[temp_count++] = g.TempRegister(a0); in VisitPairAtomicBinop()
260 temps[temp_count++] = g.TempRegister(v0); in VisitPairAtomicBinop()
265 temps[temp_count++] = g.TempRegister(v1); in VisitPairAtomicBinop()
268 temp_count, temps); in VisitPairAtomicBinop()
423 size_t const temp_count = arraysize(temps); in VisitStore() local
426 Emit(code, 0, nullptr, input_count, inputs, temp_count, temps); in VisitStore()
705 int32_t temp_count = 0; in VisitWord32PairShift() local
711 temps[temp_count++] = g.TempRegister(); in VisitWord32PairShift()
714 selector->Emit(opcode, output_count, outputs, 3, inputs, temp_count, temps); in VisitWord32PairShift()
[all …]
/third_party/node/deps/v8/src/compiler/backend/x64/
Dinstruction-selector-x64.cc490 size_t temp_count = arraysize(temps); in VisitLoad() local
494 size_t temp_count = 0; in VisitLoad() local
506 Emit(code, 1, outputs, input_count, inputs, temp_count, temps); in VisitLoad()
576 size_t temp_count = arraysize(temps); in VisitStoreCommon() local
580 size_t temp_count = 0; in VisitStoreCommon()
621 input_count, inputs, temp_count, temps); in VisitStoreCommon()
642 size_t temp_count = arraysize(temps); in VisitProtectedStore() local
646 size_t temp_count = 0; in VisitProtectedStore() local
662 temp_count, temps); in VisitProtectedStore()
896 size_t temp_count = arraysize(temps); in TryMergeTruncateInt64ToInt32IntoLoad() local
[all …]
/third_party/node/deps/v8/src/compiler/backend/ia32/
Dinstruction-selector-ia32.cc711 size_t const temp_count = arraysize(temps); in VisitStoreCommon() local
716 selector->Emit(code, 0, nullptr, arraysize(inputs), inputs, temp_count, in VisitStoreCommon()
903 const int temp_count = (kind == StackCheckKind::kJSFunctionEntry) ? 1 : 0; in VisitStackPointerGreaterThan() local
924 temp_count, temps, cont); in VisitStackPointerGreaterThan()
929 temp_count, temps, cont); in VisitStackPointerGreaterThan()
1116 int32_t temp_count = 0; in VisitWord32PairShift() local
1122 temps[temp_count++] = g.TempRegister(edx); in VisitWord32PairShift()
1125 selector->Emit(opcode, output_count, outputs, 3, inputs, temp_count, temps); in VisitWord32PairShift()
1445 size_t const temp_count = arraysize(temps); in EmitPrepareArguments() local
1448 0, nullptr, 0, nullptr, temp_count, temps); in EmitPrepareArguments()
[all …]
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_pass.c50 uint32_t temp_count; member
55 .temp_count = 0,
247 pvr_pds_fragment_program_params.temp_count, in pvr_load_op_create()
/third_party/node/deps/v8/src/compiler/backend/ppc/
Dinstruction-selector-ppc.cc316 size_t const temp_count = arraysize(temps); in VisitStoreCommon() local
321 selector->Emit(code, 0, nullptr, input_count, inputs, temp_count, temps); in VisitStoreCommon()
622 const int temp_count = (kind == StackCheckKind::kJSFunctionEntry) ? 1 : 0; in VisitStackPointerGreaterThan() local
632 temp_count, temps, cont); in VisitStackPointerGreaterThan()
886 int32_t temp_count = 0; in VisitPairShift() local
892 temps[temp_count++] = g.TempRegister(); in VisitPairShift()
895 selector->Emit(opcode, output_count, outputs, 3, inputs, temp_count, temps); in VisitPairShift()
/third_party/node/deps/v8/src/compiler/backend/s390/
Dinstruction-selector-s390.cc747 size_t const temp_count = arraysize(temps); in VisitGeneralStore() local
751 selector->Emit(code, 0, nullptr, input_count, inputs, temp_count, temps); in VisitGeneralStore()
861 const int temp_count = (kind == StackCheckKind::kJSFunctionEntry) ? 1 : 0; in VisitStackPointerGreaterThan() local
871 temp_count, temps, cont); in VisitStackPointerGreaterThan()
2318 size_t temp_count = 0; in VisitAtomicBinop() local
2319 temps[temp_count++] = g.TempRegister(); in VisitAtomicBinop()
2323 selector->Emit(code, output_count, outputs, input_count, inputs, temp_count, in VisitAtomicBinop()

12