/frameworks/compile/mclinker/lib/Fragment/ |
Stub.cpp | 58 Relocation* reloc = local 62 reloc->setSymInfo(pSrcReloc.symInfo()); 63 pIsland.addRelocation(*reloc);
|
/frameworks/compile/mclinker/lib/Target/ |
OutputRelocSection.cpp | 38 Relocation* reloc = Relocation::Create(); local 39 m_pRelocData->append(*reloc); 40 return reloc;
|
/toolchain/binutils/binutils-2.25/ld/ |
ldctor.h | 37 bfd_reloc_code_real_type reloc; /* Reloc to use for an entry. */ member in struct:set_info
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
AArch64CA53ErratumStub.cpp | 105 Relocation* reloc = local 109 reloc->setSymInfo(target_info); 113 reloc->target() = 115 pIsland.addRelocation(*reloc); 119 reloc = Relocation::Create((*it)->type(), 122 reloc->setSymInfo(target_info); 123 reloc->target() = AArch64InsnHelpers::buildBranchInsn(); 124 pIsland.addRelocation(*reloc);
|
AArch64LDBackend.cpp | 340 Relocation* reloc = local 344 reloc->setSymInfo(stub->symInfo()); 345 reloc->target() = AArch64InsnHelpers::buildBranchInsn(); 346 addExtraRelocation(reloc); 383 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local 384 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { 385 Relocation* relocation = llvm::cast<Relocation>(reloc); 413 // reset the branch target of the reloc to this stub instea [all...] |
AArch64Relocator.cpp | 165 Relocation& reloc = helper_DynRela_init(rsym, local 170 getRelRelMap().record(pReloc, reloc); 181 Relocation& reloc = helper_DynRela_init(rsym, local 186 getRelRelMap().record(pReloc, reloc); 251 Relocation& reloc = local 257 getRelRelMap().record(pReloc, reloc); 259 Relocation& reloc = helper_DynRela_init(rsym, local 264 getRelRelMap().record(pReloc, reloc);
|
/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...] |
/toolchain/binutils/binutils-2.25/bfd/ |
reloc16.c | 45 bfd_coff_reloc16_get_value (arelent *reloc, 50 asymbol *symbol = *(reloc->sym_ptr_ptr); 85 input_section->owner, input_section, reloc->address, 99 value += reloc->addend; 187 of the "shrink" at each reloc in the section. This allows us to 218 /* Let the target/machine dependent code examine each reloc 294 arelent *reloc; local 303 reloc = *parent; 304 if (reloc) 309 run = reloc->address - src_address [all...] |
/bionic/tools/relocation_packer/src/ |
delta_encoder.cc | 45 // lets write starting offset (offset of the first reloc - first delta) 167 ElfRela reloc; local 168 reloc.r_offset = offset; 169 reloc.r_info = info; 170 reloc.r_addend = is_relocation_group_has_addend(group_flags) ? addend : 0; 171 relocations->push_back(reloc);
|
/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 | 214 struct drm_psb_reloc *reloc = cmdbuf->reloc_idx; local 217 reloc->where = addr_in_dst_buffer - start_of_dst_buffer; /* Offset in DWORDs */ 219 reloc->buffer = vsp_cmdbuf_buffer_ref(cmdbuf, ref_buffer); 220 ASSERT(reloc->buffer != -1); 222 reloc->reloc_op = PSB_RELOC_OP_OFFSET; 235 *addr_in_dst_buffer = reloc - (struct drm_psb_reloc *)cmdbuf->reloc_base; 237 reloc->mask = mask; 238 reloc->shift = align_shift << PSB_RELOC_ALSHIFT_SHIFT; 239 reloc->pre_add = buf_offset; 240 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...] |
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-avr.h | 61 /* Associated RELOC. */ 62 bfd_reloc_code_real_type reloc; member in struct:__anon74016
|
tc-or1k.c | 223 given a PC relative reloc. */ 243 /* Return the bfd reloc type for OPERAND of INSN at fixup FIXP. 244 Returns BFD_RELOC_NONE if no reloc type can be found. 310 arelent * reloc; local 312 reloc = xmalloc (sizeof (* reloc)); 313 reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *)); 314 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fx->fx_addsy); 315 reloc->address = fx->fx_frag->fr_address + fx->fx_where; 316 reloc->howto = bfd_reloc_type_lookup (stdoutput, fx->fx_r_type) [all...] |
/external/libdrm/freedreno/msm/ |
msm_ringbuffer.c | 53 /* reloc's table: */ 199 struct drm_msm_gem_submit_reloc *reloc = &msm_ring->submit.relocs[i]; local 200 if (reloc->submit_offset >= offset) 212 /* for each of the cmd buffers, clear their reloc's: */ 246 /* for each of the cmd's fix up their reloc's: */ 274 ERROR_MSG(" reloc[%d]: submit_offset=%u, or=%08x, shift=%d, reloc_idx=%u" 310 struct drm_msm_gem_submit_reloc *reloc; local 314 reloc = &msm_ring->submit.relocs[idx]; 316 reloc->reloc_idx = bo2idx(parent, r->bo, r->flags); 317 reloc->reloc_offset = r->offset [all...] |
/external/libdrm/radeon/ |
radeon_cs_gem.c | 183 struct cs_reloc_gem *reloc; local 211 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; 212 if (reloc->handle == bo->handle) { 215 * set we only need to check that if previous reloc as the read 220 if (write_domain && (reloc->read_domain & write_domain)) { 221 reloc->read_domain = 0; 222 reloc->write_domain = write_domain; 223 } else if (read_domain & reloc->write_domain) { 224 reloc->read_domain = 0; 226 if (write_domain != reloc->write_domain [all...] |
/external/llvm/tools/obj2yaml/ |
coff2yaml.cpp | 119 for (const auto &Reloc : ObjSection.relocations()) { 120 const object::coff_relocation *reloc = Obj.getCOFFRelocation(Reloc); local 122 object::symbol_iterator Sym = Reloc.getSymbol(); 127 Rel.VirtualAddress = reloc->VirtualAddress; 128 Rel.Type = reloc->Type;
|
/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/LD/ |
GarbageCollection.cpp | 134 // 2. it has no reloc data. (All symbols in the input relocs are in the 151 Relocation* reloc = llvm::cast<Relocation>(reloc_it); local 152 ResolveInfo* sym = reloc->symInfo();
|
/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...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
nds32-dis.c | 65 arelent * reloc; member in struct:objdump_disasm_info
|
/external/libdrm/nouveau/ |
pushbuf.c | 48 struct drm_nouveau_gem_pushbuf_reloc reloc[NOUVEAU_GEM_MAX_RELOCS]; member in struct:nouveau_pushbuf_krec 231 uint32_t reloc = data; local 235 krel = &krec->reloc[krec->nr_reloc++]; 248 reloc = (bkref->presumed.offset + data); 252 reloc = (bkref->presumed.offset + data) >> 32; 257 reloc |= vor; 259 reloc |= tor; 263 return reloc; 286 krel = krec->reloc; 338 req.relocs = (uint64_t)(unsigned long)krec->reloc; [all...] |