Lines Matching refs:addr
34 uint64_t addr,
54 uint64_t addr; member
99 uint64_t addr, in zend_jit_disasm_add_symbol() argument
109 sym->addr = addr; in zend_jit_disasm_add_symbol()
110 sym->end = (addr + size - 1); in zend_jit_disasm_add_symbol()
119 if (sym->addr > node->addr) { in zend_jit_disasm_add_symbol()
120 ZEND_ASSERT(sym->addr > (node->end)); in zend_jit_disasm_add_symbol()
128 } else if (sym->addr < node->addr) { in zend_jit_disasm_add_symbol()
137 ZEND_ASSERT(sym->addr == node->addr); in zend_jit_disasm_add_symbol()
201 static const char* zend_jit_disasm_find_symbol(uint64_t addr, in zend_jit_disasm_find_symbol() argument
205 if (addr < node->addr) { in zend_jit_disasm_find_symbol()
207 } else if (addr > node->end) { in zend_jit_disasm_find_symbol()
210 *offset = addr - node->addr; in zend_jit_disasm_find_symbol()
218 uint64_t addr, in zend_jit_disasm_resolver() argument
224 void *a = (void*)(zend_uintptr_t)(addr); in zend_jit_disasm_resolver()
227 name = zend_jit_disasm_find_symbol(addr, offset); in zend_jit_disasm_resolver()
239 name = zend_jit_disasm_find_symbol(addr, offset); in zend_jit_disasm_resolver()
265 uint64_t addr; in zend_jit_disasm() local
280 addr = (uint64_t)(uintptr_t)op_array->opcodes[cfg->blocks[b].start].handler; in zend_jit_disasm()
281 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) { in zend_jit_disasm()
282 zend_hash_index_add(&labels, addr, &zv); in zend_jit_disasm()
291 addr = ud_syn_rel_target(&ud, (struct ud_operand*)op); in zend_jit_disasm()
292 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) { in zend_jit_disasm()
293 zend_hash_index_add(&labels, addr, &zv); in zend_jit_disasm()
316 addr = ud_insn_off(&ud); in zend_jit_disasm()
317 z = zend_hash_index_find(&labels, addr); in zend_jit_disasm()
327 addr = ud_syn_rel_target(&ud, (struct ud_operand*)op); in zend_jit_disasm()
328 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) { in zend_jit_disasm()
329 z = zend_hash_index_find(&labels, addr); in zend_jit_disasm()