/hardware/google/gfxstream/guest/mesa/src/util/ |
D | register_allocate.c | 94 struct ra_regs *regs; in ra_alloc_reg_set() local 96 regs = rzalloc(mem_ctx, struct ra_regs); in ra_alloc_reg_set() 97 regs->count = count; in ra_alloc_reg_set() 98 regs->regs = rzalloc_array(regs, struct ra_reg, count); in ra_alloc_reg_set() 101 regs->regs[i].conflicts = rzalloc_array(regs->regs, BITSET_WORD, in ra_alloc_reg_set() 103 BITSET_SET(regs->regs[i].conflicts, i); in ra_alloc_reg_set() 105 util_dynarray_init(®s->regs[i].conflict_list, in ra_alloc_reg_set() 106 need_conflict_lists ? regs->regs : NULL); in ra_alloc_reg_set() 108 util_dynarray_append(®s->regs[i].conflict_list, unsigned int, i); in ra_alloc_reg_set() 111 return regs; in ra_alloc_reg_set() [all …]
|
D | register_allocate.h | 55 void ra_set_allocate_round_robin(struct ra_regs *regs); 56 struct ra_class *ra_alloc_reg_class(struct ra_regs *regs); 57 struct ra_class *ra_alloc_contig_reg_class(struct ra_regs *regs, int contig_len); 59 void ra_add_reg_conflict(struct ra_regs *regs, 61 void ra_add_transitive_reg_conflict(struct ra_regs *regs, 65 ra_add_transitive_reg_pair_conflict(struct ra_regs *regs, 68 void ra_make_reg_conflicts_transitive(struct ra_regs *regs, unsigned int reg); 70 struct ra_class *ra_get_class_from_index(struct ra_regs *regs, unsigned int c); 71 void ra_set_num_conflicts(struct ra_regs *regs, unsigned int class_a, 73 void ra_set_finalize(struct ra_regs *regs, unsigned int **conflicts); [all …]
|
D | u_cpu_detect.c | 520 uint32_t regs[4]; in get_cpu_topology() local 562 cpuid(0x00000001, regs); in get_cpu_topology() 563 unsigned apic_id = regs[1] >> 24; in get_cpu_topology() 567 if (regs[3] & (1 << 28)) in get_cpu_topology() 568 core_count = (regs[1] >> 16) & 0xff; in get_cpu_topology() 573 cpuid_count(0x8000001D, 3, regs); in get_cpu_topology() 574 unsigned cache_level = (regs[0] >> 5) & 0x7; in get_cpu_topology() 575 unsigned cores_per_L3 = ((regs[0] >> 14) & 0xfff) + 1; in get_cpu_topology() 822 uint32_t regs[4]; in _util_cpu_detect_once() local 828 cpuid(0x00000000, regs); in _util_cpu_detect_once() [all …]
|
D | register_allocate_internal.h | 47 struct ra_reg *regs; member 64 BITSET_WORD *regs; member 128 struct ra_regs *regs; member
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | register_allocate_test.cpp | 51 thumb_checks(struct ra_regs *regs, unsigned reg32_base, unsigned reg64_base) in thumb_checks() argument 53 struct ra_class *reg32low = ra_get_class_from_index(regs, 0); in thumb_checks() 54 struct ra_class *reg64low = ra_get_class_from_index(regs, 1); in thumb_checks() 55 struct ra_class *reg96 = ra_get_class_from_index(regs, 2); in thumb_checks() 90 struct ra_regs *regs = ra_alloc_reg_set(mem_ctx, 100, true); in TEST_F() local 97 struct ra_class *reg32low = ra_alloc_reg_class(regs); in TEST_F() 101 ra_add_transitive_reg_conflict(regs, i, vreg); in TEST_F() 106 struct ra_class *reg64low = ra_alloc_reg_class(regs); in TEST_F() 110 ra_add_transitive_reg_conflict(regs, i, vreg); in TEST_F() 111 ra_add_transitive_reg_conflict(regs, (i + 1) % 8, vreg); in TEST_F() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/blake3/ |
D | blake3_dispatch.c | 91 uint32_t regs[4] = {0}; in get_cpu_features() local 92 uint32_t *eax = ®s[0], *ebx = ®s[1], *ecx = ®s[2], *edx = ®s[3]; in get_cpu_features() 95 cpuid(regs, 0); in get_cpu_features() 97 cpuid(regs, 1); in get_cpu_features() 115 cpuidex(regs, 7, 0); in get_cpu_features()
|
/hardware/google/graphics/common/libacryl/ |
D | acrylic_g2d.h | 96 unsigned int write(g2d_reg *regs) { in write() argument 98 memcpy(regs, mCmds->commands, sizeof(*regs) * mCmds->command_count); in write() 145 unsigned int updateFilterCoefficients(unsigned int layercount, g2d_reg regs[]);
|
D | acrylic_g2d.cpp | 151 unsigned int write(g2d_reg regs[]) { in write() argument 156 ®s[count], sRGB2YCbCrCoefficients[mMatrixTargetIndex]); in write() 162 ®s[count], YCbCr2sRGBCoefficients[mMatrixIndex[m]]); in write() 170 void writeSingle(unsigned int base, g2d_reg regs[], uint16_t matrix[9]) { in writeSingle() argument 172 regs[idx].offset = base; in writeSingle() 173 regs[idx].value = matrix[idx]; in writeSingle() 295 …d int __writeFilterCoefficients(CoefT &coef_set, unsigned int index, uint32_t base, g2d_reg regs[]) in __writeFilterCoefficients() argument 312 regs[cnt].offset = coef_base; in __writeFilterCoefficients() 313 regs[cnt].value = coef; in __writeFilterCoefficients() 340 unsigned layer_index, g2d_reg regs[]) in writeFilterCoefficients() argument [all …]
|
/hardware/google/apf/ |
D | apf_run.c | 191 void apf_trace_hook(uint32_t pc, const uint32_t* regs, const uint8_t* program, uint32_t program_len, in apf_trace_hook() argument 196 printf("%8" PRIx32 " %8" PRIx32 " ", regs[0], regs[1]); in apf_trace_hook()
|
D | apf_interpreter.c | 25 extern void APF_TRACE_HOOK(uint32_t pc, const uint32_t* regs, const uint8_t* program, 29 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
|
/hardware/google/apf/v4/ |
D | apf_interpreter.c | 25 extern void APF_TRACE_HOOK(uint32_t pc, const uint32_t* regs, const uint8_t* program, 29 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
|
/hardware/google/gfxstream/guest/mesa/include/android_stub/backtrace/ |
D | Backtrace.h | 134 static bool Unwind(unwindstack::Regs* regs, BacktraceMap* back_map,
|
/hardware/google/apf/v7/ |
D | apf_interpreter_source.c | 43 extern void APF_TRACE_HOOK(u32 pc, const u32* regs, const u8* program, 47 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
|
D | apf_interpreter.c | 589 extern void APF_TRACE_HOOK(u32 pc, const u32* regs, const u8* program, 593 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
|
/hardware/google/apf/devtools/ |
D | apf_interpreter.c | 589 extern void APF_TRACE_HOOK(u32 pc, const u32* regs, const u8* program, 593 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
|
/hardware/google/apf/v6/ |
D | apf_interpreter.c | 587 extern void APF_TRACE_HOOK(u32 pc, const u32* regs, const u8* program, 591 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
|