/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 | 55 int relocs; member 122 bctx->relocs -= pbin->relocs; in nouveau_bufctx_reset() 123 pbin->relocs = 0; in nouveau_bufctx_reset() 166 pbin->relocs++; in nouveau_bufctx_mthd() 167 bctx->relocs++; in nouveau_bufctx_mthd()
|
D | pushbuf.c | 335 req.relocs = (uint64_t)(unsigned long)krec->reloc; in pushbuf_submit() 489 int relocs = bctx ? bctx->relocs * 2: 0; in pushbuf_validate() local 492 ret = nouveau_pushbuf_space(push, relocs, relocs, 0); in pushbuf_validate() 639 uint32_t dwords, uint32_t relocs, uint32_t pushes) in nouveau_pushbuf_space() argument 673 krec->nr_reloc + relocs >= NOUVEAU_GEM_MAX_RELOCS || in nouveau_pushbuf_space()
|
D | nouveau.h | 175 int relocs; member 213 uint32_t relocs, uint32_t pushes);
|
/external/elfutils/src/libdwfl/ |
D | derelocate.c | 37 Elf_Scn *relocs; member 48 Elf_Scn *relocs; member 117 newref->relocs = NULL; in cache_sections() 139 sec->relocs = scn; in cache_sections() 168 mod->reloc_info->refs[i].relocs = sortrefs[i]->relocs; in cache_sections() 195 mod->reloc_info->refs[i].relocs = scn; in cache_sections() 381 if (mod->reloc_info->refs[idx].relocs != NULL) in INTDEF() 386 Elf_Scn *relocscn = mod->reloc_info->refs[idx].relocs; in INTDEF() 390 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 | 77 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/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 …]
|
/external/llvm/test/MC/ARM/ |
D | elf-reloc-03.ll | 10 ;; 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
|
D | elf-reloc-02.ll | 10 ;; 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
|
D | elf-reloc-01.ll | 10 ;; 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
|
/external/libdrm/freedreno/msm/ |
D | msm_ringbuffer.c | 55 struct drm_msm_gem_submit_reloc *relocs; member 169 struct drm_msm_gem_submit_reloc *reloc = &msm_ring->relocs[i]; in find_next_reloc_idx() 221 cmd->relocs = VOID2U64(&target_ring->relocs[a]); in msm_ringbuffer_flush() 264 uint32_t idx = APPEND(msm_ring, relocs); in msm_ringbuffer_emit_reloc() 267 reloc = &msm_ring->relocs[idx]; in msm_ringbuffer_emit_reloc()
|
/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/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/llvm/test/Object/ |
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/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_fake.c | 217 struct fake_buffer_reloc *relocs; member 940 drm_intel_fake_bo_unreference_locked(bo_fake->relocs[i]. in drm_intel_fake_bo_unreference_locked() 946 free(bo_fake->relocs); in drm_intel_fake_bo_unreference_locked() 1274 if (bo_fake->relocs == NULL) { in drm_intel_fake_emit_reloc() 1275 bo_fake->relocs = in drm_intel_fake_emit_reloc() 1279 r = &bo_fake->relocs[bo_fake->nr_relocs++]; in drm_intel_fake_emit_reloc() 1302 struct fake_buffer_reloc *r2 = &bo_fake->relocs[i]; in drm_intel_fake_emit_reloc() 1324 struct fake_buffer_reloc *r = &bo_fake->relocs[i]; in drm_intel_fake_calculate_domains() 1347 struct fake_buffer_reloc *r = &bo_fake->relocs[i]; in drm_intel_fake_reloc_and_validate_buffer() 1401 struct fake_buffer_reloc *r = &bo_fake->relocs[i]; in drm_intel_bo_fake_post_submit()
|
D | intel_bufmgr_gem.c | 178 struct drm_i915_gem_relocation_entry *relocs; member 390 if (bo_gem->relocs == NULL) { in drm_intel_gem_dump_validation_list() 405 (unsigned long long)bo_gem->relocs[j].offset, in drm_intel_gem_dump_validation_list() 409 bo_gem->relocs[j].delta); in drm_intel_gem_dump_validation_list() 461 bufmgr_gem->exec_objects[index].relocs_ptr = (uintptr_t) bo_gem->relocs; in drm_intel_add_validate_buffer() 503 bufmgr_gem->exec2_objects[index].relocs_ptr = (uintptr_t)bo_gem->relocs; in drm_intel_add_validate_buffer2() 566 bo_gem->relocs = malloc(max_relocs * in drm_intel_setup_reloc_list() 570 if (bo_gem->relocs == NULL || bo_gem->reloc_target_info == NULL) { in drm_intel_setup_reloc_list() 573 free (bo_gem->relocs); in drm_intel_setup_reloc_list() 574 bo_gem->relocs = NULL; in drm_intel_setup_reloc_list() [all …]
|
/external/llvm/test/DebugInfo/ |
D | arm-relocs.test | 1 RUN: llvm-dwarfdump %p/Inputs/arm-relocs.elf-arm | FileCheck %s
|
/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 | cfstring.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()
|