Lines Matching refs:regparm
2566 { "regparm", 1, 1, false, true, true, ix86_handle_cconv_attribute },
2669 /* Handle "cdecl", "stdcall", "fastcall", "regparm" and "sseregparm"
2690 /* Can combine regparm with all attributes but fastcall. */
2691 if (is_attribute_p ("regparm", name))
2697 error ("fastcall and regparm attributes are not compatible");
2746 if (lookup_attribute ("regparm", TYPE_ATTRIBUTES (*node)))
2748 error ("fastcall and regparm attributes are not compatible");
2752 /* Can combine stdcall with fastcall (redundant), regparm and
2766 /* Can combine cdecl with regparm and sseregparm. */
2797 /* Check for mismatched fastcall/regparm types. */
2818 /* Return the regparm value for a function with the indicated TYPE and DECL.
2826 int regparm = ix86_regparm;
2831 attr = lookup_attribute ("regparm", TYPE_ATTRIBUTES (type));
2834 regparm = TREE_INT_CST_LOW (TREE_VALUE (TREE_VALUE (attr)));
2840 regparm = 2;
2853 /* Make sure no regparm register is taken by a global register
2858 /* We can't use regparm(3) for nested functions as these use
2877 so the more global reg vars there are, the smaller regparm
2885 if (local_regparm > regparm)
2886 regparm = local_regparm;
2890 return regparm;
3099 else look for regparm information. */