Home
last modified time | relevance | path

Searched refs:relocs (Results 1 – 25 of 181) sorted by relevance

12345678

/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c62 list->relocs = in anv_reloc_list_init_clone()
63 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone()
66 if (list->relocs == NULL) in anv_reloc_list_init_clone()
74 vk_free(alloc, list->relocs); in anv_reloc_list_init_clone()
79 memcpy(list->relocs, other_list->relocs, in anv_reloc_list_init_clone()
80 list->array_length * sizeof(*list->relocs)); in anv_reloc_list_init_clone()
99 vk_free(alloc, list->relocs); in anv_reloc_list_finish()
116 vk_alloc(alloc, new_length * sizeof(*list->relocs), 8, in anv_reloc_list_grow()
129 memcpy(new_relocs, list->relocs, list->num_relocs * sizeof(*list->relocs)); in anv_reloc_list_grow()
133 vk_free(alloc, list->relocs); in anv_reloc_list_grow()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py175 def patch(self, f, relocs): argument
177 self.patchRelocs(f, relocs)
179 def patchRelocs(self, f, relocs): argument
186 if index < len(relocs):
195 f.writeUInt8(relocs[ri][1])
196 f.writeUInt8(relocs[ri][1])
197 f.writeUInt8(relocs[ri][1])
202 r_type = relocs[ri][1]
208 print(" %s" % relocs[ri][0])
242 def craftElf(filename, triple, relocs, dummyReloc): argument
[all …]
/external/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py175 def patch(self, f, relocs): argument
177 self.patchRelocs(f, relocs)
179 def patchRelocs(self, f, relocs): argument
186 if index < len(relocs):
195 f.writeUInt8(relocs[ri][1])
196 f.writeUInt8(relocs[ri][1])
197 f.writeUInt8(relocs[ri][1])
202 r_type = relocs[ri][1]
208 print(" %s" % relocs[ri][0])
242 def craftElf(filename, triple, relocs, dummyReloc): argument
[all …]
/external/mesa3d/src/amd/common/
Dac_binary.c81 static void parse_relocs(Elf *elf, Elf_Data *relocs, Elf_Data *symbols, in parse_relocs() argument
87 if (!relocs || !symbols || !binary->reloc_count) { in parse_relocs()
90 binary->relocs = CALLOC(binary->reloc_count, in parse_relocs()
96 struct ac_shader_reloc *reloc = &binary->relocs[i]; in parse_relocs()
98 gelf_getrel(relocs, i, &rel); in parse_relocs()
114 Elf_Data *symbols = NULL, *relocs = NULL; in ac_elf_read() local
171 relocs = elf_getdata(section, section_data); in ac_elf_read()
177 parse_relocs(elf, relocs, symbols, symbol_sh_link, binary); in ac_elf_read()
233 const struct ac_shader_reloc *reloc = &binary->relocs[i]; in ac_shader_binary_read_config()
310 FREE(b->relocs); in ac_shader_binary_clean()
/external/u-boot/tools/
Dmips-relocs.c106 } *relocs; variable
131 new = realloc(relocs, new_sz * sizeof(*relocs)); in add_reloc()
137 relocs = new; in add_reloc()
141 relocs[relocs_idx++] = (struct mips_reloc){ in add_reloc()
380 qsort(relocs, relocs_idx, sizeof(*relocs), compare_relocs); in main()
384 relocs[i].offset -= relocs[i - 1].offset; in main()
389 output_uint(&buf, relocs[i].type); in main()
390 output_uint(&buf, relocs[i].offset >> 2); in main()
426 free(relocs); in main()
/external/libdrm/nouveau/
Dbufctx.c45 int relocs; member
112 bctx->relocs -= pbin->relocs; in nouveau_bufctx_reset()
113 pbin->relocs = 0; in nouveau_bufctx_reset()
156 pbin->relocs++; in nouveau_bufctx_mthd()
157 bctx->relocs++; in nouveau_bufctx_mthd()
/external/elfutils/libdwfl/
Dderelocate.c41 Elf_Scn *relocs; member
52 Elf_Scn *relocs; member
136 newref->relocs = NULL; in cache_sections()
158 sec->relocs = scn; in cache_sections()
187 mod->reloc_info->refs[i].relocs = sortrefs[i]->relocs; in cache_sections()
217 mod->reloc_info->refs[i].relocs = scn; in cache_sections()
414 if (mod->reloc_info->refs[idx].relocs != NULL) in INTDEF()
419 Elf_Scn *relocscn = mod->reloc_info->refs[idx].relocs; in INTDEF()
423 mod->reloc_info->refs[idx].relocs = NULL; in INTDEF()
/external/libdrm/radeon/
Dradeon_cs_gem.c77 uint32_t *relocs; member
156 csg->base.relocs = csg->relocs = (uint32_t*)calloc(1, 4096); in cs_gem_create()
157 if (csg->relocs == NULL) { in cs_gem_create()
168 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_create()
208 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; in cs_gem_write_reloc()
251 tmp = (uint32_t*)realloc(csg->relocs, size); in cs_gem_write_reloc()
255 cs->relocs = csg->relocs = tmp; in cs_gem_write_reloc()
257 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_write_reloc()
261 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; in cs_gem_write_reloc()
358 blob = bof_blob(csg->nrelocs * 16, csg->relocs); in cs_gem_dump_bof()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c45 struct drm_msm_gem_submit_reloc *relocs; member
146 free(cmd->relocs); in ring_cmd_del()
301 struct drm_msm_gem_submit_reloc *reloc = &msm_cmd->relocs[i]; in find_next_reloc_idx()
382 struct drm_msm_gem_submit_reloc *relocs = U642VOID(cmd->relocs); in dump_submit() local
386 struct drm_msm_gem_submit_reloc *r = &relocs[j]; in dump_submit()
428 cmd->relocs = VOID2U64(&msm_cmd->relocs[a]); in msm_ringbuffer_flush()
475 uint32_t idx = APPEND(cmd, relocs); in msm_ringbuffer_emit_reloc()
478 reloc = &cmd->relocs[idx]; in msm_ringbuffer_emit_reloc()
501 idx = APPEND(cmd, relocs); in msm_ringbuffer_emit_reloc()
503 reloc_hi = &cmd->relocs[idx]; in msm_ringbuffer_emit_reloc()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Dgnu-sections.test1 RUN: llvm-readobj -s %p/Inputs/relocs.obj.elf-i386 --elf-output-style=GNU \
3 RUN: llvm-readobj -S %p/Inputs/relocs.obj.elf-x86_64 --elf-output-style=GNU \
6 RUN: %p/Inputs/relocs.obj.elf-x86_64 --elf-output-style=GNU \
9 RUN: %p/Inputs/relocs.obj.elf-x86_64 --elf-output-style=GNU \
11 RUN: llvm-readelf -W -S %p/Inputs/relocs.obj.elf-x86_64 \
Dreloc-types.test6 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-i386 | FileCheck %s -check-prefix …
7 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-x86_64 | FileCheck %s -check-prefix …
8 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-aarch64 | FileCheck %s -check-prefix …
9 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-arm | FileCheck %s -check-prefix …
10 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-lanai | FileCheck %s -check-prefix …
11 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips | FileCheck %s -check-prefix …
12 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips64el | FileCheck %s -check-prefix …
13 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-ppc64 | FileCheck %s -check-prefix …
14 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.coff-i386 | FileCheck %s -check-prefix …
15 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.coff-x86_64 | FileCheck %s -check-prefix …
[all …]
/external/llvm/test/tools/llvm-readobj/
Dreloc-types.test6 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-i386 | FileCheck %s -check-prefix …
7 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-x86_64 | FileCheck %s -check-prefix …
8 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-aarch64 | FileCheck %s -check-prefix …
9 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-arm | FileCheck %s -check-prefix …
10 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-lanai | FileCheck %s -check-prefix …
11 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips | FileCheck %s -check-prefix …
12 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips64el | FileCheck %s -check-prefix …
13 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-ppc64 | FileCheck %s -check-prefix …
14 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.coff-i386 | FileCheck %s -check-prefix …
15 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.coff-x86_64 | FileCheck %s -check-prefix …
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvhost/nvhost_channel_submit/
Dformat11 field:u32 relocs; offset:20; size:4; signed:0;
16 …int fmt: "name=%s, cmdbufs=%u, relocs=%u, waitchks=%d,syncpt_id=%u, syncpt_incrs=%u", REC->name, R…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvhost/nvhost_channel_write_submit/
Dformat12 field:u32 relocs; offset:28; size:4; signed:0;
16 …ame=%s, count=%zd, cmdbufs=%u, relocs=%u, syncpt_id=%u, syncpt_incrs=%u", REC->name, REC->count, R…
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/
Ddwarfdump-macho-relocs.test1 // RUN: llvm-dwarfdump -debug-info %p/Inputs/dwarfdump-macho-relocs.macho.x86_64.o | FileCheck %s
6 // Compiled with: clang -x c -g -c -o dwarfdump-macho-relocs.macho.x86_64.o dwarfdump-macho-relocs.…
/external/llvm/test/DebugInfo/
Ddwarfdump-macho-relocs.test1 // RUN: llvm-dwarfdump -debug-dump=info %p/Inputs/dwarfdump-macho-relocs.macho.x86_64.o | FileCheck…
6 // Compiled with: clang -x c -g -c -o dwarfdump-macho-relocs.macho.x86_64.o dwarfdump-macho-relocs.…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvhost/nvhost_ioctl_channel_submit/
Dformat12 field:u32 relocs; offset:24; size:4; signed:0;
17 …ersion=%u, cmdbufs=%u, relocs=%u, waitchks=%u, syncpt_id=%u, syncpt_incrs=%u", REC->name, REC->ver…
/external/u-boot/lib/efi_loader/
Defi_image_loader.c104 const uint16_t *relocs = (const uint16_t *)(rel + 1); in efi_loader_relocate() local
107 uint32_t offset = (uint32_t)(*relocs & 0xfff) + in efi_loader_relocate()
109 int type = *relocs >> EFI_PAGE_SHIFT; in efi_loader_relocate()
148 relocs++; in efi_loader_relocate()
150 rel = (const IMAGE_BASE_RELOCATION *)relocs; in efi_loader_relocate()
/external/u-boot/arch/mips/
DMakefile.postlink11 CMD_RELOCS = tools/mips-relocs
17 $(call if_changed,relocs)
/external/swiftshader/third_party/LLVM/test/MC/ARM/
Delf-reloc-03.ll10 ;; emitting explicit symbol relocs for nonexternal symbols
11 ;; versus section symbol relocs (with offset) -
13 ;; Default llvm behavior is to emit as section symbol relocs nearly
17 ;; Verifies that internal constants appear as explict symbol relocs
/external/libdrm/etnaviv/
Detnaviv_cmd_stream.c103 free(priv->submit.relocs); in etna_cmd_stream_del()
190 .relocs = VOID2U64(priv->submit.relocs), in flush()
251 uint32_t idx = APPEND(&priv->submit, relocs); in etna_cmd_stream_reloc()
254 reloc = &priv->submit.relocs[idx]; in etna_cmd_stream_reloc()
/external/llvm/test/CodeGen/X86/
Dstatepoint-invoke.ll87 to label %left.relocs unwind label %exceptional_return.left
89 left.relocs:
102 to label %right.relocs unwind label %exceptional_return.right
104 right.relocs:
115 %a1 = phi i64 addrspace(1)* [%val1.relocated, %left.relocs], [%val3.relocated, %right.relocs]
116 …= phi i64 addrspace(1)* [%val2.relocated_left, %left.relocs], [%val2.relocated_right, %right.reloc…
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dstatepoint-invoke.ll87 to label %left.relocs unwind label %exceptional_return.left
89 left.relocs:
102 to label %right.relocs unwind label %exceptional_return.right
104 right.relocs:
115 %a1 = phi i64 addrspace(1)* [%val1.relocated, %left.relocs], [%val3.relocated, %right.relocs]
116 …= phi i64 addrspace(1)* [%val2.relocated_left, %left.relocs], [%val2.relocated_right, %right.reloc…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/
Drelocation-executable.test1 RUN: llvm-readobj -r -expand-relocs %p/Inputs/hello-world.elf-x86-64 \
3 RUN: llvm-readobj -dyn-relocations -expand-relocs \
51 RUN: llvm-readobj -dyn-relocations -expand-relocs \
/external/llvm/test/Object/
Drelocation-executable.test1 RUN: llvm-readobj -r -expand-relocs %p/Inputs/hello-world.elf-x86-64 \
3 RUN: llvm-readobj -dyn-relocations -expand-relocs \
51 RUN: llvm-readobj -dyn-relocations -expand-relocs \

12345678