Home | History | Annotate | Download | only in x86

Lines Matching refs:valuep

106 		  struct value *valuep, unsigned long val, size_t offset)
108 if (valuep != NULL) {
109 unsigned char *buf = value_get_raw_data(valuep);
116 copy_sse_register(struct fetch_context *context, struct value *valuep,
127 if (valuep != NULL) {
128 unsigned char *buf = value_get_raw_data(valuep);
138 struct value *valuep, size_t sz, size_t offset,
141 assert(valuep != NULL);
142 size_t a = type_alignof(valuep->inferior, valuep->type);
148 value_in_inferior(valuep, context->stack_pointer);
153 allocate_x87(struct fetch_context *context, struct value *valuep,
163 allocate_stack_slot(context, valuep, sz, offset, archw);
177 if (valuep != NULL) {
199 if (valuep->type->type == ARGTYPE_FLOAT)
201 else if (valuep->type->type == ARGTYPE_DOUBLE)
206 unsigned char *buf = value_get_raw_data(valuep);
213 allocate_integer(struct fetch_context *context, struct value *valuep,
218 copy_int_register(context, valuep, \
233 allocate_stack_slot(context, valuep, sz, offset, 8);
298 allocate_sse(struct fetch_context *context, struct value *valuep,
315 allocate_stack_slot(context, valuep, sz, offset, 8);
318 copy_sse_register(context, valuep, 0, sz, offset);
327 struct value *valuep, size_t sz, size_t offset, enum reg_pool pool)
331 allocate_stack_slot(context, valuep, sz, offset, 8);
336 return allocate_integer(context, valuep, sz, offset, pool);
339 return allocate_sse(context, valuep, sz, offset, pool);
342 return allocate_x87(context, valuep, sz, offset, pool, 8);
533 pass_by_reference(struct value *valuep, enum arg_class classes[])
535 if (valuep != NULL && value_pass_by_reference(valuep) < 0)
543 struct arg_type_info *info, struct value *valuep,
563 return pass_by_reference(valuep, classes);
592 struct value *valuep)
597 if (value_reserve(valuep, sz) == NULL)
601 int cls = allocate_integer(context, valuep,
607 allocate_stack_slot(context, valuep, sz, 0, 4);
615 struct value *valuep)
624 memcpy(valuep, &context->u.ix86.retval, sizeof(*valuep));
631 if (value_reserve(valuep, sz) == NULL)
647 cls = allocate_integer(context, valuep, sz, 0, POOL_RETVAL);
653 cls = allocate_x87(context, valuep, sz, 0, POOL_RETVAL, 4);
770 struct value *valuep, enum reg_pool pool)
775 ssize_t nclasses = classify_argument(proc, context, info, valuep,
779 if (value_reserve(valuep, sz) == NULL)
790 valuep, sz, 0, pool) != classes[0];
795 if (allocate_class(classes[i], &tmp_context, valuep,
802 allocate_class(CLASS_MEMORY, context, valuep, sz, 0, pool);
812 struct value *valuep)
816 if (value_reserve(valuep, 8 * context->u.x86_64.num_ret_classes) == NULL
823 pass_by_reference(valuep, context->u.x86_64.ret_classes);
825 size_t sz = type_sizeof(proc, valuep->type);
834 context, valuep, sz1,
844 struct value *valuep)
848 info, valuep);
854 info, valuep, POOL_FUNCALL);
859 info, valuep, POOL_SYSCALL);
868 struct value *valuep)
871 return arch_fetch_retval_32(context, type, proc, info, valuep);
873 return arch_fetch_fun_retval(context, type, proc, info, valuep);