[all-commits] [llvm/llvm-project] fa9cd4: [NFC][libclc] Rename __CLC_FUNCTION to either FUNC...

Wenju He via All-commits all-commits at lists.llvm.org
Sun Jul 6 17:08:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa9cd473284f59d7b8a645722bb6f27b320726c4
      https://github.com/llvm/llvm-project/commit/fa9cd473284f59d7b8a645722bb6f27b320726c4
  Author: Wenju He <wenju.he at intel.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M libclc/clc/include/clc/common/clc_degrees.h
    M libclc/clc/include/clc/common/clc_radians.h
    M libclc/clc/include/clc/common/clc_sign.h
    M libclc/clc/include/clc/common/clc_step.h
    M libclc/clc/include/clc/geometric/binary_decl.inc
    M libclc/clc/include/clc/geometric/binary_def.inc
    M libclc/clc/include/clc/geometric/clc_distance.h
    M libclc/clc/include/clc/geometric/clc_dot.h
    M libclc/clc/include/clc/geometric/clc_fast_distance.h
    M libclc/clc/include/clc/geometric/clc_fast_length.h
    M libclc/clc/include/clc/geometric/clc_fast_normalize.h
    M libclc/clc/include/clc/geometric/clc_length.h
    M libclc/clc/include/clc/geometric/clc_normalize.h
    M libclc/clc/include/clc/geometric/unary_decl.inc
    M libclc/clc/include/clc/geometric/unary_def.inc
    M libclc/clc/include/clc/integer/clc_add_sat.h
    M libclc/clc/include/clc/integer/clc_clz.h
    M libclc/clc/include/clc/integer/clc_ctz.h
    M libclc/clc/include/clc/integer/clc_hadd.h
    M libclc/clc/include/clc/integer/clc_mad24.h
    M libclc/clc/include/clc/integer/clc_mad_sat.h
    M libclc/clc/include/clc/integer/clc_mul24.h
    M libclc/clc/include/clc/integer/clc_mul_hi.h
    M libclc/clc/include/clc/integer/clc_popcount.h
    M libclc/clc/include/clc/integer/clc_rhadd.h
    M libclc/clc/include/clc/integer/clc_rotate.h
    M libclc/clc/include/clc/integer/clc_sub_sat.h
    M libclc/clc/include/clc/internal/math/clc_sw_fma.h
    M libclc/clc/include/clc/math/binary_decl_with_scalar_second_arg.inc
    M libclc/clc/include/clc/math/binary_def_via_fp32.inc
    M libclc/clc/include/clc/math/clc_acos.h
    M libclc/clc/include/clc/math/clc_acosh.h
    M libclc/clc/include/clc/math/clc_acospi.h
    M libclc/clc/include/clc/math/clc_asin.h
    M libclc/clc/include/clc/math/clc_asinh.h
    M libclc/clc/include/clc/math/clc_asinpi.h
    M libclc/clc/include/clc/math/clc_atan.h
    M libclc/clc/include/clc/math/clc_atan2.h
    M libclc/clc/include/clc/math/clc_atan2pi.h
    M libclc/clc/include/clc/math/clc_atanh.h
    M libclc/clc/include/clc/math/clc_atanpi.h
    M libclc/clc/include/clc/math/clc_cbrt.inc
    M libclc/clc/include/clc/math/clc_ceil.h
    M libclc/clc/include/clc/math/clc_copysign.h
    M libclc/clc/include/clc/math/clc_cos.h
    M libclc/clc/include/clc/math/clc_cosh.h
    M libclc/clc/include/clc/math/clc_cospi.h
    M libclc/clc/include/clc/math/clc_erf.h
    M libclc/clc/include/clc/math/clc_erfc.h
    M libclc/clc/include/clc/math/clc_exp.h
    M libclc/clc/include/clc/math/clc_exp10.h
    M libclc/clc/include/clc/math/clc_exp2.h
    M libclc/clc/include/clc/math/clc_expm1.h
    M libclc/clc/include/clc/math/clc_fabs.h
    M libclc/clc/include/clc/math/clc_fdim.h
    M libclc/clc/include/clc/math/clc_floor.h
    M libclc/clc/include/clc/math/clc_fma.h
    M libclc/clc/include/clc/math/clc_fmax.h
    M libclc/clc/include/clc/math/clc_fmin.h
    M libclc/clc/include/clc/math/clc_fmod.h
    M libclc/clc/include/clc/math/clc_fract.h
    M libclc/clc/include/clc/math/clc_frexp.h
    M libclc/clc/include/clc/math/clc_half_cos.h
    M libclc/clc/include/clc/math/clc_half_divide.h
    M libclc/clc/include/clc/math/clc_half_exp.h
    M libclc/clc/include/clc/math/clc_half_exp10.h
    M libclc/clc/include/clc/math/clc_half_exp2.h
    M libclc/clc/include/clc/math/clc_half_log.h
    M libclc/clc/include/clc/math/clc_half_log10.h
    M libclc/clc/include/clc/math/clc_half_log2.h
    M libclc/clc/include/clc/math/clc_half_powr.h
    M libclc/clc/include/clc/math/clc_half_recip.h
    M libclc/clc/include/clc/math/clc_half_rsqrt.h
    M libclc/clc/include/clc/math/clc_half_sin.h
    M libclc/clc/include/clc/math/clc_half_sqrt.h
    M libclc/clc/include/clc/math/clc_half_tan.h
    M libclc/clc/include/clc/math/clc_hypot.h
    M libclc/clc/include/clc/math/clc_ilogb.h
    M libclc/clc/include/clc/math/clc_lgamma.h
    M libclc/clc/include/clc/math/clc_lgamma_r.h
    M libclc/clc/include/clc/math/clc_log.h
    M libclc/clc/include/clc/math/clc_log10.h
    M libclc/clc/include/clc/math/clc_log1p.h
    M libclc/clc/include/clc/math/clc_log2.h
    M libclc/clc/include/clc/math/clc_logb.h
    M libclc/clc/include/clc/math/clc_mad.h
    M libclc/clc/include/clc/math/clc_maxmag.h
    M libclc/clc/include/clc/math/clc_minmag.h
    M libclc/clc/include/clc/math/clc_modf.h
    M libclc/clc/include/clc/math/clc_nan.h
    M libclc/clc/include/clc/math/clc_native_cos.h
    M libclc/clc/include/clc/math/clc_native_divide.h
    M libclc/clc/include/clc/math/clc_native_exp.h
    M libclc/clc/include/clc/math/clc_native_exp10.h
    M libclc/clc/include/clc/math/clc_native_exp2.h
    M libclc/clc/include/clc/math/clc_native_log.h
    M libclc/clc/include/clc/math/clc_native_log10.h
    M libclc/clc/include/clc/math/clc_native_log2.h
    M libclc/clc/include/clc/math/clc_native_powr.h
    M libclc/clc/include/clc/math/clc_native_recip.h
    M libclc/clc/include/clc/math/clc_native_rsqrt.h
    M libclc/clc/include/clc/math/clc_native_sin.h
    M libclc/clc/include/clc/math/clc_native_sqrt.h
    M libclc/clc/include/clc/math/clc_native_tan.h
    M libclc/clc/include/clc/math/clc_nextafter.h
    M libclc/clc/include/clc/math/clc_pow.h
    M libclc/clc/include/clc/math/clc_pown.h
    M libclc/clc/include/clc/math/clc_powr.h
    M libclc/clc/include/clc/math/clc_remainder.h
    M libclc/clc/include/clc/math/clc_remquo.h
    M libclc/clc/include/clc/math/clc_rint.h
    M libclc/clc/include/clc/math/clc_rootn.h
    M libclc/clc/include/clc/math/clc_round.h
    M libclc/clc/include/clc/math/clc_rsqrt.h
    M libclc/clc/include/clc/math/clc_sin.h
    M libclc/clc/include/clc/math/clc_sincos.h
    M libclc/clc/include/clc/math/clc_sinh.h
    M libclc/clc/include/clc/math/clc_sinpi.h
    M libclc/clc/include/clc/math/clc_sqrt.h
    M libclc/clc/include/clc/math/clc_tan.h
    M libclc/clc/include/clc/math/clc_tanh.h
    M libclc/clc/include/clc/math/clc_tanpi.h
    M libclc/clc/include/clc/math/clc_tgamma.h
    M libclc/clc/include/clc/math/clc_trunc.h
    M libclc/clc/include/clc/math/remquo_decl.inc
    M libclc/clc/include/clc/math/unary_decl.inc
    M libclc/clc/include/clc/math/unary_decl_with_int_ptr.inc
    M libclc/clc/include/clc/math/unary_decl_with_int_return.inc
    M libclc/clc/include/clc/math/unary_decl_with_ptr.inc
    M libclc/clc/include/clc/math/unary_def_via_fp32.inc
    M libclc/clc/include/clc/math/unary_def_with_int_ptr.inc
    M libclc/clc/include/clc/math/unary_def_with_int_return.inc
    M libclc/clc/include/clc/math/unary_def_with_ptr.inc
    M libclc/clc/include/clc/misc/clc_shuffle.h
    M libclc/clc/include/clc/misc/clc_shuffle2.h
    M libclc/clc/include/clc/misc/shuffle2_decl.inc
    M libclc/clc/include/clc/misc/shuffle2_def.inc
    M libclc/clc/include/clc/misc/shuffle_decl.inc
    M libclc/clc/include/clc/misc/shuffle_def.inc
    M libclc/clc/include/clc/relational/binary_decl.inc
    M libclc/clc/include/clc/relational/clc_isfinite.h
    M libclc/clc/include/clc/relational/clc_isgreater.h
    M libclc/clc/include/clc/relational/clc_isgreaterequal.h
    M libclc/clc/include/clc/relational/clc_isless.h
    M libclc/clc/include/clc/relational/clc_islessequal.h
    M libclc/clc/include/clc/relational/clc_islessgreater.h
    M libclc/clc/include/clc/relational/clc_isnormal.h
    M libclc/clc/include/clc/relational/clc_isnotequal.h
    M libclc/clc/include/clc/relational/clc_isordered.h
    M libclc/clc/include/clc/relational/clc_isunordered.h
    M libclc/clc/include/clc/relational/clc_signbit.h
    M libclc/clc/include/clc/relational/unary_decl.inc
    M libclc/clc/include/clc/shared/binary_decl.inc
    M libclc/clc/include/clc/shared/binary_decl_with_int_second_arg.inc
    M libclc/clc/include/clc/shared/binary_decl_with_scalar_second_arg.inc
    M libclc/clc/include/clc/shared/binary_def.inc
    M libclc/clc/include/clc/shared/binary_def_with_int_second_arg.inc
    M libclc/clc/include/clc/shared/binary_def_with_scalar_second_arg.inc
    M libclc/clc/include/clc/shared/ternary_decl.inc
    M libclc/clc/include/clc/shared/ternary_def.inc
    M libclc/clc/include/clc/shared/unary_decl.inc
    M libclc/clc/include/clc/shared/unary_def.inc
    M libclc/clc/lib/generic/integer/clc_add_sat.cl
    M libclc/clc/lib/generic/integer/clc_popcount.cl
    M libclc/clc/lib/generic/integer/clc_sub_sat.cl
    M libclc/clc/lib/generic/math/clc_ceil.cl
    M libclc/clc/lib/generic/math/clc_copysign.cl
    M libclc/clc/lib/generic/math/clc_erf.cl
    M libclc/clc/lib/generic/math/clc_erfc.cl
    M libclc/clc/lib/generic/math/clc_fabs.cl
    M libclc/clc/lib/generic/math/clc_floor.cl
    M libclc/clc/lib/generic/math/clc_fmod.cl
    M libclc/clc/lib/generic/math/clc_half_cos.cl
    M libclc/clc/lib/generic/math/clc_half_exp.cl
    M libclc/clc/lib/generic/math/clc_half_exp10.cl
    M libclc/clc/lib/generic/math/clc_half_exp2.cl
    M libclc/clc/lib/generic/math/clc_half_log.cl
    M libclc/clc/lib/generic/math/clc_half_log10.cl
    M libclc/clc/lib/generic/math/clc_half_log2.cl
    M libclc/clc/lib/generic/math/clc_half_powr.cl
    M libclc/clc/lib/generic/math/clc_half_rsqrt.cl
    M libclc/clc/lib/generic/math/clc_half_sin.cl
    M libclc/clc/lib/generic/math/clc_half_sqrt.cl
    M libclc/clc/lib/generic/math/clc_half_tan.cl
    M libclc/clc/lib/generic/math/clc_native_cos.cl
    M libclc/clc/lib/generic/math/clc_native_exp.cl
    M libclc/clc/lib/generic/math/clc_native_exp2.cl
    M libclc/clc/lib/generic/math/clc_native_log.cl
    M libclc/clc/lib/generic/math/clc_native_log10.cl
    M libclc/clc/lib/generic/math/clc_native_log2.cl
    M libclc/clc/lib/generic/math/clc_native_sin.cl
    M libclc/clc/lib/generic/math/clc_native_sqrt.cl
    M libclc/clc/lib/generic/math/clc_remainder.cl
    M libclc/clc/lib/generic/math/clc_rint.cl
    M libclc/clc/lib/generic/math/clc_round.cl
    M libclc/clc/lib/generic/math/clc_tgamma.cl
    M libclc/clc/lib/generic/math/clc_trunc.cl
    M libclc/opencl/include/clc/opencl/atomic/atom_add.h
    M libclc/opencl/include/clc/opencl/atomic/atom_and.h
    M libclc/opencl/include/clc/opencl/atomic/atom_decl_int32.inc
    M libclc/opencl/include/clc/opencl/atomic/atom_decl_int64.inc
    M libclc/opencl/include/clc/opencl/atomic/atom_max.h
    M libclc/opencl/include/clc/opencl/atomic/atom_min.h
    M libclc/opencl/include/clc/opencl/atomic/atom_or.h
    M libclc/opencl/include/clc/opencl/atomic/atom_sub.h
    M libclc/opencl/include/clc/opencl/atomic/atom_xchg.h
    M libclc/opencl/include/clc/opencl/atomic/atom_xor.h
    M libclc/opencl/include/clc/opencl/atomic/atomic_add.h
    M libclc/opencl/include/clc/opencl/atomic/atomic_and.h
    M libclc/opencl/include/clc/opencl/atomic/atomic_decl.inc
    M libclc/opencl/include/clc/opencl/atomic/atomic_max.h
    M libclc/opencl/include/clc/opencl/atomic/atomic_min.h
    M libclc/opencl/include/clc/opencl/atomic/atomic_or.h
    M libclc/opencl/include/clc/opencl/atomic/atomic_sub.h
    M libclc/opencl/include/clc/opencl/atomic/atomic_xchg.h
    M libclc/opencl/include/clc/opencl/atomic/atomic_xor.h
    M libclc/opencl/include/clc/opencl/common/degrees.h
    M libclc/opencl/include/clc/opencl/common/radians.h
    M libclc/opencl/include/clc/opencl/common/sign.h
    M libclc/opencl/include/clc/opencl/geometric/distance.h
    M libclc/opencl/include/clc/opencl/geometric/dot.h
    M libclc/opencl/include/clc/opencl/geometric/fast_distance.h
    M libclc/opencl/include/clc/opencl/geometric/fast_length.h
    M libclc/opencl/include/clc/opencl/geometric/fast_normalize.h
    M libclc/opencl/include/clc/opencl/geometric/length.h
    M libclc/opencl/include/clc/opencl/geometric/normalize.h
    M libclc/opencl/include/clc/opencl/integer/add_sat.h
    M libclc/opencl/include/clc/opencl/integer/clz.h
    M libclc/opencl/include/clc/opencl/integer/ctz.h
    M libclc/opencl/include/clc/opencl/integer/hadd.h
    M libclc/opencl/include/clc/opencl/integer/mad24.h
    M libclc/opencl/include/clc/opencl/integer/mad_hi.h
    M libclc/opencl/include/clc/opencl/integer/mad_sat.h
    M libclc/opencl/include/clc/opencl/integer/mul24.h
    M libclc/opencl/include/clc/opencl/integer/mul_hi.h
    M libclc/opencl/include/clc/opencl/integer/popcount.h
    M libclc/opencl/include/clc/opencl/integer/rhadd.h
    M libclc/opencl/include/clc/opencl/integer/rotate.h
    M libclc/opencl/include/clc/opencl/integer/sub_sat.h
    M libclc/opencl/include/clc/opencl/math/acos.h
    M libclc/opencl/include/clc/opencl/math/acosh.h
    M libclc/opencl/include/clc/opencl/math/acospi.h
    M libclc/opencl/include/clc/opencl/math/asin.h
    M libclc/opencl/include/clc/opencl/math/asinh.h
    M libclc/opencl/include/clc/opencl/math/asinpi.h
    M libclc/opencl/include/clc/opencl/math/atan.h
    M libclc/opencl/include/clc/opencl/math/atan2.h
    M libclc/opencl/include/clc/opencl/math/atan2pi.h
    M libclc/opencl/include/clc/opencl/math/atanh.h
    M libclc/opencl/include/clc/opencl/math/atanpi.h
    M libclc/opencl/include/clc/opencl/math/cbrt.h
    M libclc/opencl/include/clc/opencl/math/ceil.h
    M libclc/opencl/include/clc/opencl/math/copysign.h
    M libclc/opencl/include/clc/opencl/math/cos.h
    M libclc/opencl/include/clc/opencl/math/cosh.h
    M libclc/opencl/include/clc/opencl/math/cospi.h
    M libclc/opencl/include/clc/opencl/math/erf.h
    M libclc/opencl/include/clc/opencl/math/erfc.h
    M libclc/opencl/include/clc/opencl/math/exp.h
    M libclc/opencl/include/clc/opencl/math/exp10.h
    M libclc/opencl/include/clc/opencl/math/exp2.h
    M libclc/opencl/include/clc/opencl/math/expm1.h
    M libclc/opencl/include/clc/opencl/math/fabs.h
    M libclc/opencl/include/clc/opencl/math/fdim.h
    M libclc/opencl/include/clc/opencl/math/floor.h
    M libclc/opencl/include/clc/opencl/math/fma.h
    M libclc/opencl/include/clc/opencl/math/fmax.h
    M libclc/opencl/include/clc/opencl/math/fmin.h
    M libclc/opencl/include/clc/opencl/math/fmod.h
    M libclc/opencl/include/clc/opencl/math/fract.h
    M libclc/opencl/include/clc/opencl/math/frexp.h
    M libclc/opencl/include/clc/opencl/math/half_cos.h
    M libclc/opencl/include/clc/opencl/math/half_divide.h
    M libclc/opencl/include/clc/opencl/math/half_exp.h
    M libclc/opencl/include/clc/opencl/math/half_exp10.h
    M libclc/opencl/include/clc/opencl/math/half_exp2.h
    M libclc/opencl/include/clc/opencl/math/half_log.h
    M libclc/opencl/include/clc/opencl/math/half_log10.h
    M libclc/opencl/include/clc/opencl/math/half_log2.h
    M libclc/opencl/include/clc/opencl/math/half_powr.h
    M libclc/opencl/include/clc/opencl/math/half_recip.h
    M libclc/opencl/include/clc/opencl/math/half_rsqrt.h
    M libclc/opencl/include/clc/opencl/math/half_sin.h
    M libclc/opencl/include/clc/opencl/math/half_sqrt.h
    M libclc/opencl/include/clc/opencl/math/half_tan.h
    M libclc/opencl/include/clc/opencl/math/hypot.h
    M libclc/opencl/include/clc/opencl/math/ilogb.h
    M libclc/opencl/include/clc/opencl/math/ldexp.h
    M libclc/opencl/include/clc/opencl/math/lgamma.h
    M libclc/opencl/include/clc/opencl/math/lgamma_r.h
    M libclc/opencl/include/clc/opencl/math/log.h
    M libclc/opencl/include/clc/opencl/math/log10.h
    M libclc/opencl/include/clc/opencl/math/log1p.h
    M libclc/opencl/include/clc/opencl/math/log2.h
    M libclc/opencl/include/clc/opencl/math/logb.h
    M libclc/opencl/include/clc/opencl/math/mad.h
    M libclc/opencl/include/clc/opencl/math/maxmag.h
    M libclc/opencl/include/clc/opencl/math/minmag.h
    M libclc/opencl/include/clc/opencl/math/modf.h
    M libclc/opencl/include/clc/opencl/math/native_cos.h
    M libclc/opencl/include/clc/opencl/math/native_divide.h
    M libclc/opencl/include/clc/opencl/math/native_exp.h
    M libclc/opencl/include/clc/opencl/math/native_exp10.h
    M libclc/opencl/include/clc/opencl/math/native_exp2.h
    M libclc/opencl/include/clc/opencl/math/native_log.h
    M libclc/opencl/include/clc/opencl/math/native_log10.h
    M libclc/opencl/include/clc/opencl/math/native_log2.h
    M libclc/opencl/include/clc/opencl/math/native_powr.h
    M libclc/opencl/include/clc/opencl/math/native_recip.h
    M libclc/opencl/include/clc/opencl/math/native_rsqrt.h
    M libclc/opencl/include/clc/opencl/math/native_sin.h
    M libclc/opencl/include/clc/opencl/math/native_sqrt.h
    M libclc/opencl/include/clc/opencl/math/native_tan.h
    M libclc/opencl/include/clc/opencl/math/nextafter.h
    M libclc/opencl/include/clc/opencl/math/pow.h
    M libclc/opencl/include/clc/opencl/math/pown.h
    M libclc/opencl/include/clc/opencl/math/powr.h
    M libclc/opencl/include/clc/opencl/math/remainder.h
    M libclc/opencl/include/clc/opencl/math/remquo.h
    M libclc/opencl/include/clc/opencl/math/rint.h
    M libclc/opencl/include/clc/opencl/math/rootn.h
    M libclc/opencl/include/clc/opencl/math/round.h
    M libclc/opencl/include/clc/opencl/math/rsqrt.h
    M libclc/opencl/include/clc/opencl/math/sin.h
    M libclc/opencl/include/clc/opencl/math/sincos.h
    M libclc/opencl/include/clc/opencl/math/sinh.h
    M libclc/opencl/include/clc/opencl/math/sinpi.h
    M libclc/opencl/include/clc/opencl/math/sqrt.h
    M libclc/opencl/include/clc/opencl/math/tan.h
    M libclc/opencl/include/clc/opencl/math/tanh.h
    M libclc/opencl/include/clc/opencl/math/tanpi.h
    M libclc/opencl/include/clc/opencl/math/tgamma.h
    M libclc/opencl/include/clc/opencl/math/trunc.h
    M libclc/opencl/include/clc/opencl/misc/shuffle.h
    M libclc/opencl/include/clc/opencl/misc/shuffle2.h
    M libclc/opencl/include/clc/opencl/relational/isfinite.h
    M libclc/opencl/include/clc/opencl/relational/isgreater.h
    M libclc/opencl/include/clc/opencl/relational/isgreaterequal.h
    M libclc/opencl/include/clc/opencl/relational/isless.h
    M libclc/opencl/include/clc/opencl/relational/islessequal.h
    M libclc/opencl/include/clc/opencl/relational/islessgreater.h
    M libclc/opencl/include/clc/opencl/relational/isnormal.h
    M libclc/opencl/include/clc/opencl/relational/isnotequal.h
    M libclc/opencl/include/clc/opencl/relational/isordered.h
    M libclc/opencl/include/clc/opencl/relational/isunordered.h
    M libclc/opencl/include/clc/opencl/relational/signbit.h
    M libclc/opencl/lib/clspv/math/fma.cl
    M libclc/opencl/lib/generic/math/ldexp.cl
    M libclc/opencl/lib/generic/math/nextafter.cl
    M libclc/opencl/lib/generic/relational/binary_def.inc
    M libclc/opencl/lib/generic/relational/unary_def.inc
    M libclc/opencl/lib/spirv/math/fma.cl

  Log Message:
  -----------
  [NFC][libclc] Rename __CLC_FUNCTION to either FUNCTION or __IMPL_FUNCTION (#146999)

Rename to FUNCTION if it is for declaration, since it doesn't make much
sense to use __CLC_FUNCTION for OpenCL function declaration. Rename to
__IMPL_FUNCTION if it is for definition, since in some cases
implementation function isn't clc_* function.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list