/external/llvm/test/tools/llvm-readobj/Inputs/ |
D | relocs.py | 175 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/libdrm/nouveau/ |
D | bufctx.c | 49 int relocs; member 116 bctx->relocs -= pbin->relocs; in nouveau_bufctx_reset() 117 pbin->relocs = 0; in nouveau_bufctx_reset() 160 pbin->relocs++; in nouveau_bufctx_mthd() 161 bctx->relocs++; in nouveau_bufctx_mthd()
|
D | pushbuf.c | 338 req.relocs = (uint64_t)(unsigned long)krec->reloc; in pushbuf_submit() 492 int relocs = bctx ? bctx->relocs * 2: 0; in pushbuf_validate() local 495 ret = nouveau_pushbuf_space(push, relocs, relocs, 0); in pushbuf_validate() 642 uint32_t dwords, uint32_t relocs, uint32_t pushes) in nouveau_pushbuf_space() argument 676 krec->nr_reloc + relocs >= NOUVEAU_GEM_MAX_RELOCS || in nouveau_pushbuf_space()
|
/external/elfutils/libdwfl/ |
D | derelocate.c | 37 Elf_Scn *relocs; member 48 Elf_Scn *relocs; member 126 newref->relocs = NULL; in cache_sections() 148 sec->relocs = scn; in cache_sections() 177 mod->reloc_info->refs[i].relocs = sortrefs[i]->relocs; in cache_sections() 207 mod->reloc_info->refs[i].relocs = scn; in cache_sections() 404 if (mod->reloc_info->refs[idx].relocs != NULL) in INTDEF() 409 Elf_Scn *relocscn = mod->reloc_info->refs[idx].relocs; in INTDEF() 413 mod->reloc_info->refs[idx].relocs = NULL; in INTDEF()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_cs.c | 109 csc->relocs = (struct drm_radeon_cs_reloc*) in radeon_init_cs_context() 111 if (!csc->relocs) { in radeon_init_cs_context() 121 csc->chunks[1].chunk_data = (uint64_t)(uintptr_t)csc->relocs; in radeon_init_cs_context() 156 FREE(csc->relocs); in radeon_destroy_cs_context() 218 reloc = &csc->relocs[i]; in radeon_get_reloc() 226 reloc = &csc->relocs[i]; in radeon_get_reloc() 261 reloc = &csc->relocs[i]; in radeon_add_reloc() 270 reloc = &csc->relocs[i]; in radeon_add_reloc() 290 csc->relocs = (struct drm_radeon_cs_reloc*)realloc(csc->relocs, size); in radeon_add_reloc() 292 csc->chunks[1].chunk_data = (uint64_t)(uintptr_t)csc->relocs; in radeon_add_reloc() [all …]
|
D | radeon_drm_cs.h | 47 struct drm_radeon_cs_reloc *relocs; member 112 return cs->csc->relocs[index].write_domain != 0; in radeon_bo_is_referenced_by_cs_for_write()
|
/external/libdrm/radeon/ |
D | radeon_cs_gem.c | 80 uint32_t *relocs; member 159 csg->base.relocs = csg->relocs = (uint32_t*)calloc(1, 4096); in cs_gem_create() 160 if (csg->relocs == NULL) { in cs_gem_create() 171 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_create() 211 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; in cs_gem_write_reloc() 254 tmp = (uint32_t*)realloc(csg->relocs, size); in cs_gem_write_reloc() 258 cs->relocs = csg->relocs = tmp; in cs_gem_write_reloc() 260 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_write_reloc() 264 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; in cs_gem_write_reloc() 361 blob = bof_blob(csg->nrelocs * 16, csg->relocs); in cs_gem_dump_bof() [all …]
|
/external/llvm/test/DebugInfo/ |
D | dwarfdump-macho-relocs.test | 1 // 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.…
|
D | arm-relocs.test | 1 RUN: llvm-dwarfdump %p/Inputs/arm-relocs.elf-arm | FileCheck %s
|
/external/libdrm/freedreno/msm/ |
D | msm_ringbuffer.c | 54 struct drm_msm_gem_submit_reloc *relocs; member 199 struct drm_msm_gem_submit_reloc *reloc = &msm_ring->submit.relocs[i]; in find_next_reloc_idx() 252 cmd->relocs = VOID2U64(&target_ring->submit.relocs[a]); in msm_ringbuffer_flush() 269 struct drm_msm_gem_submit_reloc *relocs = U642VOID(cmd->relocs); in msm_ringbuffer_flush() local 273 struct drm_msm_gem_submit_reloc *r = &relocs[j]; in msm_ringbuffer_flush() 311 uint32_t idx = APPEND(&msm_ring->submit, relocs); in msm_ringbuffer_emit_reloc() 314 reloc = &msm_ring->submit.relocs[idx]; in msm_ringbuffer_emit_reloc()
|
/external/llvm/test/tools/llvm-readobj/ |
D | reloc-types.test | 6 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-mips | FileCheck %s -check-prefix … 11 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips64el | FileCheck %s -check-prefix … 12 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-ppc64 | FileCheck %s -check-prefix … 13 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.coff-i386 | FileCheck %s -check-prefix … 14 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.coff-x86_64 | FileCheck %s -check-prefix … 15 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.macho-arm | FileCheck %s -check-prefix … [all …]
|
D | relocations.test | 3 RUN: llvm-readobj -r %p/Inputs/bad-relocs.obj.coff-i386 \ 5 RUN: llvm-readobj -r %p/Inputs/relocs-no-symtab.obj.coff-i386 \ 13 RUN: llvm-readobj -r --expand-relocs %p/Inputs/trivial.obj.macho-ppc \ 15 RUN: llvm-readobj -r --expand-relocs %p/Inputs/trivial.obj.macho-ppc64 \ 17 RUN: llvm-readobj -r -expand-relocs %p/Inputs/trivial.obj.macho-arm \
|
/external/llvm/test/Object/ |
D | relocation-executable.test | 1 RUN: llvm-readobj -r -expand-relocs %p/Inputs/hello-world.elf-x86-64 \ 3 RUN: llvm-readobj -dyn-relocations -expand-relocs \ 39 RUN: llvm-readobj -dyn-relocations -expand-relocs \
|
D | yaml2obj-readobj.test | 1 RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-readobj -file-headers -relocations -expand-relocs - |… 3 RUN: llvm-readobj -file-headers -relocations -expand-relocs %t \
|
/external/mesa3d/src/gallium/winsys/i915/sw/ |
D | i915_sw_batchbuffer.c | 36 batch->base.relocs = 0; in i915_sw_batchbuffer_reset() 51 batch->base.relocs = 0; in i915_sw_batchbuffer_create() 96 batch->base.relocs++; in i915_sw_batchbuffer_reloc()
|
/external/llvm/test/CodeGen/X86/ |
D | statepoint-invoke.ll | 89 to label %left.relocs unwind label %exceptional_return.left 91 left.relocs: 104 to label %right.relocs unwind label %exceptional_return.right 106 right.relocs: 117 %a1 = phi i64 addrspace(1)* [%val1.relocated, %left.relocs], [%val3.relocated, %right.relocs] 118 …= phi i64 addrspace(1)* [%val2.relocated_left, %left.relocs], [%val2.relocated_right, %right.reloc…
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_context.c | 83 struct vmw_region_relocation relocs[VMW_REGION_RELOCS]; member 143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; in vmw_swc_flush() 179 pb_reference(&vswc->region.relocs[i].buffer, NULL); in vmw_swc_flush() 285 reloc = &vswc->region.relocs[vswc->region.used + vswc->region.staged]; in vmw_swc_region_relocation() 351 pb_reference(&vswc->region.relocs[i].buffer, NULL); in vmw_swc_destroy()
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
D | i915_drm_batchbuffer.c | 50 batch->base.relocs = 0; in i915_drm_batchbuffer_reset() 65 batch->base.relocs = 0; in i915_drm_batchbuffer_create() 149 batch->base.relocs++; in i915_drm_batchbuffer_reloc()
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 196 struct drm_i915_gem_relocation_entry *relocs; member 429 if (bo_gem->relocs == NULL && bo_gem->softpin_target == NULL) { in drm_intel_gem_dump_validation_list() 447 upper_32_bits(bo_gem->relocs[j].offset), in drm_intel_gem_dump_validation_list() 448 lower_32_bits(bo_gem->relocs[j].offset), in drm_intel_gem_dump_validation_list() 453 bo_gem->relocs[j].delta); in drm_intel_gem_dump_validation_list() 521 bufmgr_gem->exec_objects[index].relocs_ptr = (uintptr_t) bo_gem->relocs; in drm_intel_add_validate_buffer() 569 bufmgr_gem->exec2_objects[index].relocs_ptr = (uintptr_t)bo_gem->relocs; in drm_intel_add_validate_buffer2() 630 bo_gem->relocs = malloc(max_relocs * in drm_intel_setup_reloc_list() 634 if (bo_gem->relocs == NULL || bo_gem->reloc_target_info == NULL) { in drm_intel_setup_reloc_list() 637 free (bo_gem->relocs); in drm_intel_setup_reloc_list() [all …]
|
D | intel_bufmgr_fake.c | 213 struct fake_buffer_reloc *relocs; member 936 drm_intel_fake_bo_unreference_locked(bo_fake->relocs[i]. in drm_intel_fake_bo_unreference_locked() 942 free(bo_fake->relocs); in drm_intel_fake_bo_unreference_locked() 1270 if (bo_fake->relocs == NULL) { in drm_intel_fake_emit_reloc() 1271 bo_fake->relocs = in drm_intel_fake_emit_reloc() 1275 r = &bo_fake->relocs[bo_fake->nr_relocs++]; in drm_intel_fake_emit_reloc() 1298 struct fake_buffer_reloc *r2 = &bo_fake->relocs[i]; in drm_intel_fake_emit_reloc() 1320 struct fake_buffer_reloc *r = &bo_fake->relocs[i]; in drm_intel_fake_calculate_domains() 1343 struct fake_buffer_reloc *r = &bo_fake->relocs[i]; in drm_intel_fake_reloc_and_validate_buffer() 1397 struct fake_buffer_reloc *r = &bo_fake->relocs[i]; in drm_intel_bo_fake_post_submit()
|
/external/llvm/test/MC/MachO/AArch64/ |
D | reloc-crash2.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs…
|
D | reloc-crash.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs…
|
D | classrefs.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs…
|
/external/llvm/test/tools/llvm-objdump/ |
D | macho-unwind-info-no-relocs.test | 1 # RUN: llvm-objdump -unwind-info %p/Inputs/unwind-info-no-relocs.macho-x86_64 2>/dev/null | FileChe…
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeonsi_pm4.c | 123 state->relocs[state->nrelocs++] = state->ndw; in si_pm4_sh_data_end() 216 cs->buf[cs->cdw + state->relocs[i]] += cs->cdw << 2; in si_pm4_emit()
|