[FunctionAttrs] Inline the prototype attribute inference to an existing