Home
last modified time | relevance | path

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

1234

/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/libdrm/nouveau/
Dbufctx.c55 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()
Dpushbuf.c335 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()
Dnouveau.h175 int relocs; member
213 uint32_t relocs, uint32_t pushes);
/external/elfutils/src/libdwfl/
Dderelocate.c37 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/
Dradeon_drm_cs.c109 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 …]
Dradeon_drm_cs.h47 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/
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/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-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/
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
Delf-reloc-02.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
Delf-reloc-01.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
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c55 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/
Di915_sw_batchbuffer.c36 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/
Dvmw_context.c83 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/
Dyaml2obj-readobj.test1 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/
Di915_drm_batchbuffer.c50 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/
Dintel_bufmgr_fake.c217 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()
Dintel_bufmgr_gem.c178 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/
Darm-relocs.test1 RUN: llvm-dwarfdump %p/Inputs/arm-relocs.elf-arm | FileCheck %s
/external/llvm/test/MC/MachO/AArch64/
Dreloc-crash2.s1 ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs
Dreloc-crash.s1 ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs
Dcfstring.s1 ; RUN: llvm-mc -triple arm64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs
/external/llvm/test/tools/llvm-objdump/
Dmacho-unwind-info-no-relocs.test1 # RUN: llvm-objdump -unwind-info %p/Inputs/unwind-info-no-relocs.macho-x86_64 2>/dev/null | FileChe…
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_pm4.c123 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()

1234