Lines Matching refs:arg_reg
238 unsigned *loc, unsigned *arg_reg) in calc_n32_struct_flags() argument
255 *arg_reg = *loc / FFI_SIZEOF_ARG; in calc_n32_struct_flags()
256 if (*arg_reg > 7) in calc_n32_struct_flags()
258 flags += (FFI_TYPE_DOUBLE << (*arg_reg * FFI_FLAG_BITS)); in calc_n32_struct_flags()
266 *arg_reg = FFI_ALIGN(*loc, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in calc_n32_struct_flags()
423 unsigned arg_reg = 0; in ffi_prep_cif_machdep_int() local
441 arg_reg = 1; in ffi_prep_cif_machdep_int()
452 while (count-- > 0 && arg_reg < 8) in ffi_prep_cif_machdep_int()
476 ((cif->arg_types)[index]->type << (arg_reg * FFI_FLAG_BITS)); in ffi_prep_cif_machdep_int()
477 arg_reg++; in ffi_prep_cif_machdep_int()
481 arg_reg = FFI_ALIGN(arg_reg, 2); in ffi_prep_cif_machdep_int()
485 arg_reg += 2; in ffi_prep_cif_machdep_int()
490 (FFI_TYPE_DOUBLE << (arg_reg * FFI_FLAG_BITS)); in ffi_prep_cif_machdep_int()
491 arg_reg++; in ffi_prep_cif_machdep_int()
493 (FFI_TYPE_DOUBLE << (arg_reg * FFI_FLAG_BITS)); in ffi_prep_cif_machdep_int()
494 arg_reg++; in ffi_prep_cif_machdep_int()
499 loc = arg_reg * FFI_SIZEOF_ARG; in ffi_prep_cif_machdep_int()
502 &loc, &arg_reg); in ffi_prep_cif_machdep_int()
506 arg_reg++; in ffi_prep_cif_machdep_int()