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