Lines Matching refs:offset
281 member->offset = loc + parent->offset; in __add_member_cb()
481 int offset, bool is_fbreg) in check_variable() argument
519 if ((unsigned)offset >= size) in check_variable()
526 int offset) in find_stack_state() argument
531 if (offset == stack->offset) in find_stack_state()
534 if (stack->compound && stack->offset < offset && in find_stack_state()
535 offset < stack->offset + stack->size) in find_stack_state()
541 void set_stack_state(struct type_state_stack *stack, int offset, u8 kind, in set_stack_state() argument
554 stack->offset = offset; in set_stack_state()
569 int offset, u8 kind, in findnew_stack_state() argument
572 struct type_state_stack *stack = find_stack_state(state, offset); in findnew_stack_state()
575 set_stack_state(stack, offset, kind, type_die); in findnew_stack_state()
581 set_stack_state(stack, offset, kind, type_die); in findnew_stack_state()
751 int offset; in get_global_var_type() local
770 if (die_find_variable_by_addr(cu_die, var_addr, &var_die, &offset) && in get_global_var_type()
771 check_variable(dloc, &var_die, type_die, DWARF_REG_PC, offset, in get_global_var_type()
774 *var_offset = offset; in get_global_var_type()
834 int offset = var->offset; in update_var_state() local
838 offset -= fb_offset; in update_var_state()
840 stack = find_stack_state(state, offset); in update_var_state()
845 findnew_stack_state(state, offset, TSR_KIND_TYPE, in update_var_state()
849 insn_offset, -offset); in update_var_state()
851 } else if (has_reg_type(state, var->reg) && var->offset == 0) { in update_var_state()
937 last_bb->end->al.offset, first_bb->begin->al.offset); in prepend_basic_blocks()
997 dloc->op->offset = 40; in setup_stack_canary()
1013 u32 insn_offset = dl->al.offset; in check_matching_type()
1015 int offset = dloc->op->offset; in check_matching_type() local
1019 if (offset < 0) { in check_matching_type()
1020 offset = -offset; in check_matching_type()
1026 insn_offset, reg, offset_sign, offset, in check_matching_type()
1046 if (dloc->op->offset < 0 && reg != state->stack_reg) in check_matching_type()
1056 dloc->type_offset = dloc->op->offset; in check_matching_type()
1080 dloc->type_offset = dloc->op->offset; in check_matching_type()
1104 u64 var_addr = dloc->op->offset; in check_matching_type()
1158 dloc->type_offset -= stack->offset; in check_matching_type()
1199 dloc->type_offset -= fboff + stack->offset; in check_matching_type()
1213 addr = dloc->op->offset; in check_matching_type()
1216 &offset, type_die)) { in check_matching_type()
1217 dloc->type_offset = offset; in check_matching_type()
1224 if (dloc->op->offset < 0 && reg != state->stack_reg) { in check_matching_type()
1225 addr = (s64) dloc->op->offset; in check_matching_type()
1228 &offset, type_die)) { in check_matching_type()
1231 dloc->type_offset = offset; in check_matching_type()
1259 BUG_ON(bb->begin->al.offset == -1 || bb->end->al.offset == -1); in find_data_type_insn()
1262 bb->begin->al.offset, bb->end->al.offset); in find_data_type_insn()
1265 u64 this_ip = sym->start + dl->al.offset; in find_data_type_insn()
1269 if (dl->al.offset == -1) in find_data_type_insn()
1273 update_var_state(&state, dloc, addr, dl->al.offset, var_types); in find_data_type_insn()
1359 int offset = dloc->op->offset; in find_data_type_block() local
1362 if (offset < 0) { in find_data_type_block()
1363 offset = -offset; in find_data_type_block()
1374 offset_sign, offset, buf, dloc->type_offset); in find_data_type_block()
1397 int reg, offset = loc->offset; in find_data_type_die() local
1416 if (offset < 0) { in find_data_type_die()
1417 offset = -offset; in find_data_type_die()
1423 offset_sign, offset, buf, in find_data_type_die()
1441 offset = loc->offset; in find_data_type_die()
1448 &offset, type_die)) { in find_data_type_die()
1449 dloc->type_offset = offset; in find_data_type_die()
1452 dloc->var_addr, offset); in find_data_type_die()
1491 offset = loc->offset - fb_offset; in find_data_type_die()
1496 int type_offset = offset; in find_data_type_die()
1611 dloc->type_offset = dloc->op->offset; in find_data_type()
1691 struct evsel *evsel, int offset, in annotated_data_type__update_samples() argument
1706 if (offset < 0 || offset >= adt->self.size) in annotated_data_type__update_samples()
1712 h->addr[offset].nr_samples += nr_samples; in annotated_data_type__update_samples()
1714 h->addr[offset].period += period; in annotated_data_type__update_samples()
1798 samples += h->addr[member->offset + i].nr_samples; in print_annotated_data_type()
1799 period += h->addr[member->offset + i].period; in print_annotated_data_type()
1806 member->offset, member->size, indent, "", member->type_name, in print_annotated_data_type()