fn declare_offload_fn<'ll>( cx: &'ll GenericCx<'_, SCx<'_>>, name: &str, ty: &'ll Type, ) -> &'ll Value