HomeSort by relevance Sort by last modified time
    Searched defs:reloc (Results 1 - 25 of 59) sorted by null

1 2 3

  /frameworks/compile/mclinker/lib/Target/
OutputRelocSection.cpp 39 Relocation* reloc = Relocation::Create(); local
40 m_pRelocData->append(*reloc);
41 return reloc;
  /frameworks/compile/mclinker/lib/LD/
StubFactory.cpp 100 Relocation* reloc = local
104 reloc->setSymInfo(pReloc.symInfo());
105 islands.first->addRelocation(*reloc);
111 // reset the branch target of the input reloc to this stub instead!
GarbageCollection.cpp 145 // 2. it has no reloc data. (All symbols in the input relocs are in the
162 Relocation* reloc = llvm::cast<Relocation>(reloc_it); local
163 ResolveInfo* sym = reloc->symInfo();
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
nv30_vertprog.c 88 struct nv30_shader_reloc *reloc = vp->branch_relocs.data; local
89 unsigned nr_reloc = vp->branch_relocs.size / sizeof(*reloc);
106 inst = vp->insns[reloc->location].data;
107 target = vp->exec->start + reloc->target;
111 reloc++;
115 inst = vp->insns[reloc->location].data;
116 target = vp->exec->start + reloc->target;
122 reloc++;
131 struct nv30_shader_reloc *reloc = vp->const_relocs.data; local
132 unsigned nr_reloc = vp->const_relocs.size / sizeof(*reloc);
    [all...]
nvfx_fragprog.c 268 struct nvfx_relocation reloc; local
280 reloc.target = target;
281 reloc.location = fpc->inst_offset + 2;
282 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc);
304 struct nvfx_relocation reloc; local
321 reloc.target = target;
322 reloc.location = fpc->inst_offset + 3;
323 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc);
331 struct nvfx_relocation reloc; local
345 reloc.target = target
    [all...]
nvfx_vertprog.c 122 struct nvfx_relocation reloc; local
139 reloc.location = vp->nr_insns - 1;
140 reloc.target = src.reg.index;
141 util_dynarray_append(&vp->const_relocs, struct nvfx_relocation, reloc);
466 struct nvfx_relocation reloc; local
709 reloc.location = vpc->vp->nr_insns;
710 reloc.target = finst->Label.Label + 1;
711 util_dynarray_append(&vpc->label_relocs, struct nvfx_relocation, reloc);
721 reloc.location = vpc->vp->nr_insns;
722 reloc.target = finst->Label.Label
    [all...]
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_vertprog.c 88 struct nv30_shader_reloc *reloc = vp->branch_relocs.data; local
89 unsigned nr_reloc = vp->branch_relocs.size / sizeof(*reloc);
106 inst = vp->insns[reloc->location].data;
107 target = vp->exec->start + reloc->target;
111 reloc++;
115 inst = vp->insns[reloc->location].data;
116 target = vp->exec->start + reloc->target;
122 reloc++;
131 struct nv30_shader_reloc *reloc = vp->const_relocs.data; local
132 unsigned nr_reloc = vp->const_relocs.size / sizeof(*reloc);
    [all...]
nvfx_fragprog.c 268 struct nvfx_relocation reloc; local
280 reloc.target = target;
281 reloc.location = fpc->inst_offset + 2;
282 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc);
304 struct nvfx_relocation reloc; local
321 reloc.target = target;
322 reloc.location = fpc->inst_offset + 3;
323 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc);
331 struct nvfx_relocation reloc; local
345 reloc.target = target
    [all...]
nvfx_vertprog.c 122 struct nvfx_relocation reloc; local
139 reloc.location = vp->nr_insns - 1;
140 reloc.target = src.reg.index;
141 util_dynarray_append(&vp->const_relocs, struct nvfx_relocation, reloc);
466 struct nvfx_relocation reloc; local
709 reloc.location = vpc->vp->nr_insns;
710 reloc.target = finst->Label.Label + 1;
711 util_dynarray_append(&vpc->label_relocs, struct nvfx_relocation, reloc);
721 reloc.location = vpc->vp->nr_insns;
722 reloc.target = finst->Label.Label
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/
radeon_drm_cs.c 40 Reloc writes and space checking are faster and simpler than their
49 The adding is skipped if the reloc is already present in the list, but it
60 cs_write_reloc(cs, buf) just writes a reloc that has been added using
199 static INLINE void update_reloc_domains(struct drm_radeon_cs_reloc *reloc,
204 *added_domains = (rd | wd) & ~(reloc->read_domains | reloc->write_domain);
206 reloc->read_domains |= rd;
207 reloc->write_domain |= wd;
212 struct drm_radeon_cs_reloc *reloc; local
218 reloc = &csc->relocs[i]
253 struct drm_radeon_cs_reloc *reloc; local
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/listfmts/nasm/
nasm-listfmt.c 53 unsigned long offset; /* start of reloc from start of bytecode */
54 size_t size; /* size of reloc in bytes */
102 /* Generate reloc if needed */
104 bcreloc *reloc = yasm_xmalloc(sizeof(bcreloc)); local
105 reloc->offset = offset;
106 reloc->size = destsize;
107 reloc->rel = value->curpos_rel;
108 STAILQ_INSERT_TAIL(&info->bcrelocs, reloc, link);
110 /* Get next reloc's info */
154 /*@null@*/ bcreloc *reloc = NULL local
    [all...]
  /external/llvm/tools/obj2yaml/
coff2yaml.cpp 67 for (const auto &Reloc : Section.relocations()) {
68 const object::coff_relocation *reloc = Obj.getCOFFRelocation(Reloc); local
70 object::symbol_iterator Sym = Reloc.getSymbol();
72 Rel.VirtualAddress = reloc->VirtualAddress;
73 Rel.Type = reloc->Type;
  /external/mesa3d/src/gallium/winsys/radeon/drm/
radeon_drm_cs.c 40 Reloc writes and space checking are faster and simpler than their
49 The adding is skipped if the reloc is already present in the list, but it
60 cs_write_reloc(cs, buf) just writes a reloc that has been added using
199 static INLINE void update_reloc_domains(struct drm_radeon_cs_reloc *reloc,
204 *added_domains = (rd | wd) & ~(reloc->read_domains | reloc->write_domain);
206 reloc->read_domains |= rd;
207 reloc->write_domain |= wd;
212 struct drm_radeon_cs_reloc *reloc; local
218 reloc = &csc->relocs[i]
253 struct drm_radeon_cs_reloc *reloc; local
    [all...]
  /hardware/intel/img/psb_video/src/
vsp_cmdbuf.c 208 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; local
211 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */
213 reloc->buffer = vsp_cmdbuf_buffer_ref(cmdbuf, ref_buffer);
214 ASSERT(reloc->buffer != -1);
216 reloc->reloc_op = PSB_RELOC_OP_OFFSET;
229 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base;
231 reloc->mask = mask;
232 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT;
233 reloc->pre_add = buf_offset;
234 reloc->background = background
    [all...]
pnw_cmdbuf.c 272 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; local
275 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */
277 reloc->buffer = pnw_cmdbuf_buffer_ref(cmdbuf, ref_buffer);
278 ASSERT(reloc->buffer != -1);
280 reloc->reloc_op = PSB_RELOC_OP_OFFSET;
293 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base;
295 reloc->mask = mask;
296 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT;
297 reloc->pre_add = buf_offset;
298 reloc->background = background
    [all...]
tng_cmdbuf.c 335 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; local
338 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */
340 reloc->buffer = tng_cmdbuf_buffer_ref(cmdbuf, ref_buffer);
341 ASSERT(reloc->buffer != -1);
343 reloc->reloc_op = PSB_RELOC_OP_OFFSET;
356 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base;
358 reloc->mask = mask;
359 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT;
360 reloc->pre_add = buf_offset;
361 reloc->background = background
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/
vmw_context.c 143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; local
146 if(!vmw_gmr_bufmgr_region_ptr(reloc->buffer, &ptr))
149 ptr.offset += reloc->offset;
151 *reloc->where = ptr;
279 struct vmw_region_relocation *reloc; local
285 reloc = &vswc->region.relocs[vswc->region.used + vswc->region.staged];
286 reloc->where = where;
287 pb_reference(&reloc->buffer, vmw_pb_buffer(buffer));
288 reloc->offset = offset;
293 ret = pb_validate_add_buffer(vswc->validate, reloc->buffer, translated_flags)
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/
elf-machine.h 59 elf_reloc_entry *reloc,
61 typedef unsigned int(*func_map_reloc_info_to_type)(elf_reloc_entry *reloc);
63 elf_reloc_entry *reloc,
80 const unsigned int reloc; /* relocation type */ member in struct:__anon20238
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_context.c 143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; local
146 if(!vmw_gmr_bufmgr_region_ptr(reloc->buffer, &ptr))
149 ptr.offset += reloc->offset;
151 *reloc->where = ptr;
279 struct vmw_region_relocation *reloc; local
285 reloc = &vswc->region.relocs[vswc->region.used + vswc->region.staged];
286 reloc->where = where;
287 pb_reference(&reloc->buffer, vmw_pb_buffer(buffer));
288 reloc->offset = offset;
293 ret = pb_validate_add_buffer(vswc->validate, reloc->buffer, translated_flags)
    [all...]
  /frameworks/compile/mclinker/lib/Target/AArch64/
AArch64Relocator.cpp 170 Relocation& reloc = helper_DynRela_init(rsym, local
175 getRelRelMap().record(pReloc, reloc);
186 Relocation& reloc = helper_DynRela_init(rsym, local
189 getRelRelMap().record(pReloc, reloc);
255 Relocation& reloc = helper_DynRela_init(rsym, local
260 getRelRelMap().record(pReloc, reloc);
263 Relocation& reloc = helper_DynRela_init(rsym, local
268 getRelRelMap().record(pReloc, reloc);
  /hardware/intel/img/libdrm/libdrm/radeon/
radeon_cs_gem.c 117 struct cs_reloc_gem *reloc; local
139 reloc = (struct cs_reloc_gem*)&csg->relocs[idx];
140 if (reloc->handle == bo->handle) {
143 * set we only need to check that if previous reloc as the read
148 if (write_domain && (reloc->read_domain & write_domain)) {
149 reloc->read_domain = 0;
150 reloc->write_domain = write_domain;
151 } else if (read_domain & reloc->write_domain) {
152 reloc->read_domain = 0;
154 if (write_domain != reloc->write_domain
    [all...]
  /hardware/intel/img/psb_video/src/mrst/
lnc_cmdbuf.c 263 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; local
266 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */
268 reloc->buffer = lnc_cmdbuf_buffer_ref(cmdbuf, ref_buffer);
269 ASSERT(reloc->buffer != -1);
271 reloc->reloc_op = PSB_RELOC_OP_OFFSET;
284 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base;
286 reloc->mask = mask;
287 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT;
288 reloc->pre_add = buf_offset;
289 reloc->background = background
    [all...]
  /external/chromium_org/base/win/
pe_image.cc 320 PWORD reloc = reinterpret_cast<PWORD>(base + 1); local
324 for (UINT i = 0; i < num_relocs; i++, reloc++) {
325 WORD type = *reloc >> 12;
326 PVOID address = RVAToAddr(base->VirtualAddress + (*reloc & 0x0FFF));
  /external/chromium_org/third_party/android_crazy_linker/src/src/
crazy_linker_elf_relocations.cpp 328 const ELF::Addr reloc = static_cast<ELF::Addr>(rela->r_offset + load_bias_); local
330 RLOG(" rela reloc=%p offset=%p type=%d addend=%p\n",
331 reloc,
337 ELF::Addr* CRAZY_UNUSED target = reinterpret_cast<ELF::Addr*>(reloc);
396 const ELF::Addr reloc = static_cast<ELF::Addr>(rel->r_offset + load_bias_); local
398 RLOG(" rel reloc=%p offset=%p type=%d\n", reloc, rel->r_offset, rel_type);
401 ELF::Addr* CRAZY_UNUSED target = reinterpret_cast<ELF::Addr*>(reloc);
474 *target += (sym_addr - reloc);
499 ELF::Addr reloc,
565 ELF::Addr reloc = static_cast<ELF::Addr>(rel->r_offset + load_bias_); local
612 ELF::Addr reloc = static_cast<ELF::Addr>(rela->r_offset + load_bias_); local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
r600_hw_context.c 172 block->reloc[block->nbo].bo_pm4_index = block->pm4_ndwords - 1;
557 pipe_resource_reference((struct pipe_resource**)&block->reloc[k].bo, NULL);
710 * If reg needs a reloc, this function will add it to its block's reloc list.
711 * @return true if reg needs a reloc, false otherwise
723 (struct pipe_resource**)&reg->block->reloc[reloc_id].bo,
725 reg->block->reloc[reloc_id].bo_usage = reg->bo_usage;
764 /* Update the reloc for this register if necessary. */
827 struct r600_block_reloc *reloc = &block->reloc[block->pm4_bo_index[j]] local
    [all...]

Completed in 441 milliseconds

1 2 3