The previous build system was adding custom "OpenCL" and "LLVM IR" languages in CMake to build the builtin libraries. This was making it harder to build in-tree because the tool binaries needed to be present at configure time. This commit refactors the build system to use custom commands to build the bytecode files one by one, and link them all together into the final bytecode library. It also enables in-tree builds by aliasing the clang/llvm-link/etc. tool targets to internal targets, which are imported from the LLVM installation directory when building out of tree. Diffing (with llvm-diff) all of the final bytecode libraries in an out-of-tree configuration against those built using the current tip system shows no changes. Note that there are textual changes to metadata IDs which confuse regular diff, and that llvm-diff 14 and below may show false-positives. This commit also removes a file listed in one of the SOURCEs which didn't exist and which was preventing the use of ENABLE_RUNTIME_SUBNORMAL when configuring CMake.
220 lines
4.7 KiB
Plaintext
220 lines
4.7 KiB
Plaintext
subnormal_config.cl
|
|
subnormal_helper_func.ll
|
|
async/async_work_group_copy.cl
|
|
async/async_work_group_strided_copy.cl
|
|
async/prefetch.cl
|
|
async/wait_group_events.cl
|
|
atomic/atomic_add.cl
|
|
atomic/atomic_and.cl
|
|
atomic/atomic_cmpxchg.cl
|
|
atomic/atomic_dec.cl
|
|
atomic/atomic_inc.cl
|
|
atomic/atomic_max.cl
|
|
atomic/atomic_min.cl
|
|
atomic/atomic_or.cl
|
|
atomic/atomic_sub.cl
|
|
atomic/atomic_xor.cl
|
|
atomic/atomic_xchg.cl
|
|
cl_khr_global_int32_base_atomics/atom_add.cl
|
|
cl_khr_global_int32_base_atomics/atom_cmpxchg.cl
|
|
cl_khr_global_int32_base_atomics/atom_dec.cl
|
|
cl_khr_global_int32_base_atomics/atom_inc.cl
|
|
cl_khr_global_int32_base_atomics/atom_sub.cl
|
|
cl_khr_global_int32_base_atomics/atom_xchg.cl
|
|
cl_khr_global_int32_extended_atomics/atom_and.cl
|
|
cl_khr_global_int32_extended_atomics/atom_max.cl
|
|
cl_khr_global_int32_extended_atomics/atom_min.cl
|
|
cl_khr_global_int32_extended_atomics/atom_or.cl
|
|
cl_khr_global_int32_extended_atomics/atom_xor.cl
|
|
cl_khr_local_int32_base_atomics/atom_add.cl
|
|
cl_khr_local_int32_base_atomics/atom_cmpxchg.cl
|
|
cl_khr_local_int32_base_atomics/atom_dec.cl
|
|
cl_khr_local_int32_base_atomics/atom_inc.cl
|
|
cl_khr_local_int32_base_atomics/atom_sub.cl
|
|
cl_khr_local_int32_base_atomics/atom_xchg.cl
|
|
cl_khr_local_int32_extended_atomics/atom_and.cl
|
|
cl_khr_local_int32_extended_atomics/atom_max.cl
|
|
cl_khr_local_int32_extended_atomics/atom_min.cl
|
|
cl_khr_local_int32_extended_atomics/atom_or.cl
|
|
cl_khr_local_int32_extended_atomics/atom_xor.cl
|
|
cl_khr_int64_base_atomics/atom_add.cl
|
|
cl_khr_int64_base_atomics/atom_cmpxchg.cl
|
|
cl_khr_int64_base_atomics/atom_dec.cl
|
|
cl_khr_int64_base_atomics/atom_inc.cl
|
|
cl_khr_int64_base_atomics/atom_sub.cl
|
|
cl_khr_int64_base_atomics/atom_xchg.cl
|
|
cl_khr_int64_extended_atomics/atom_and.cl
|
|
cl_khr_int64_extended_atomics/atom_max.cl
|
|
cl_khr_int64_extended_atomics/atom_min.cl
|
|
cl_khr_int64_extended_atomics/atom_or.cl
|
|
cl_khr_int64_extended_atomics/atom_xor.cl
|
|
common/degrees.cl
|
|
common/mix.cl
|
|
common/radians.cl
|
|
common/sign.cl
|
|
common/smoothstep.cl
|
|
common/step.cl
|
|
geometric/cross.cl
|
|
geometric/distance.cl
|
|
geometric/dot.cl
|
|
geometric/fast_distance.cl
|
|
geometric/fast_length.cl
|
|
geometric/fast_normalize.cl
|
|
geometric/length.cl
|
|
geometric/normalize.cl
|
|
integer/abs.cl
|
|
integer/abs_diff.cl
|
|
integer/add_sat.cl
|
|
integer/clz.cl
|
|
integer/hadd.cl
|
|
integer/mad24.cl
|
|
integer/mad_sat.cl
|
|
integer/mul24.cl
|
|
integer/mul_hi.cl
|
|
integer/popcount.cl
|
|
integer/rhadd.cl
|
|
integer/rotate.cl
|
|
integer/sub_sat.cl
|
|
integer/upsample.cl
|
|
math/acos.cl
|
|
math/acosh.cl
|
|
math/acospi.cl
|
|
math/asin.cl
|
|
math/asinh.cl
|
|
math/asinpi.cl
|
|
math/atan.cl
|
|
math/atan2.cl
|
|
math/atan2pi.cl
|
|
math/atanh.cl
|
|
math/atanpi.cl
|
|
math/cbrt.cl
|
|
math/ceil.cl
|
|
math/copysign.cl
|
|
math/cos.cl
|
|
math/cosh.cl
|
|
math/cospi.cl
|
|
math/ep_log.cl
|
|
math/erf.cl
|
|
math/erfc.cl
|
|
math/exp.cl
|
|
math/exp_helper.cl
|
|
math/expm1.cl
|
|
math/exp2.cl
|
|
math/clc_exp10.cl
|
|
math/exp10.cl
|
|
math/fabs.cl
|
|
math/fdim.cl
|
|
math/floor.cl
|
|
math/clc_fma.cl
|
|
math/fma.cl
|
|
math/fmax.cl
|
|
math/fmin.cl
|
|
math/clc_fmod.cl
|
|
math/fmod.cl
|
|
math/fract.cl
|
|
math/frexp.cl
|
|
math/half_cos.cl
|
|
math/half_divide.cl
|
|
math/half_exp.cl
|
|
math/half_exp10.cl
|
|
math/half_exp2.cl
|
|
math/half_log.cl
|
|
math/half_log10.cl
|
|
math/half_log2.cl
|
|
math/half_powr.cl
|
|
math/half_recip.cl
|
|
math/half_rsqrt.cl
|
|
math/half_sin.cl
|
|
math/half_sqrt.cl
|
|
math/half_tan.cl
|
|
math/clc_hypot.cl
|
|
math/hypot.cl
|
|
math/ilogb.cl
|
|
math/clc_ldexp.cl
|
|
math/ldexp.cl
|
|
math/lgamma.cl
|
|
math/lgamma_r.cl
|
|
math/log.cl
|
|
math/log10.cl
|
|
math/log1p.cl
|
|
math/log2.cl
|
|
math/logb.cl
|
|
math/mad.cl
|
|
math/maxmag.cl
|
|
math/minmag.cl
|
|
math/modf.cl
|
|
math/nan.cl
|
|
math/native_cos.cl
|
|
math/native_divide.cl
|
|
math/native_exp.cl
|
|
math/native_exp10.cl
|
|
math/native_exp2.cl
|
|
math/native_log.cl
|
|
math/native_log10.cl
|
|
math/native_log2.cl
|
|
math/native_powr.cl
|
|
math/native_recip.cl
|
|
math/native_rsqrt.cl
|
|
math/native_sin.cl
|
|
math/native_sqrt.cl
|
|
math/native_tan.cl
|
|
math/tables.cl
|
|
math/clc_nextafter.cl
|
|
math/nextafter.cl
|
|
math/clc_pow.cl
|
|
math/pow.cl
|
|
math/clc_pown.cl
|
|
math/pown.cl
|
|
math/clc_powr.cl
|
|
math/powr.cl
|
|
math/clc_remainder.cl
|
|
math/remainder.cl
|
|
math/clc_remquo.cl
|
|
math/remquo.cl
|
|
math/rint.cl
|
|
math/clc_rootn.cl
|
|
math/rootn.cl
|
|
math/round.cl
|
|
math/rsqrt.cl
|
|
math/sin.cl
|
|
math/sincos.cl
|
|
math/sincos_helpers.cl
|
|
math/sinh.cl
|
|
math/sinpi.cl
|
|
math/clc_sqrt.cl
|
|
math/sqrt.cl
|
|
math/clc_tan.cl
|
|
math/tan.cl
|
|
math/tanh.cl
|
|
math/clc_tanpi.cl
|
|
math/tanpi.cl
|
|
math/tgamma.cl
|
|
math/trunc.cl
|
|
misc/shuffle.cl
|
|
misc/shuffle2.cl
|
|
relational/all.cl
|
|
relational/any.cl
|
|
relational/bitselect.cl
|
|
relational/isequal.cl
|
|
relational/isfinite.cl
|
|
relational/isgreater.cl
|
|
relational/isgreaterequal.cl
|
|
relational/isinf.cl
|
|
relational/isless.cl
|
|
relational/islessequal.cl
|
|
relational/islessgreater.cl
|
|
relational/isnan.cl
|
|
relational/isnormal.cl
|
|
relational/isnotequal.cl
|
|
relational/isordered.cl
|
|
relational/isunordered.cl
|
|
relational/select.cl
|
|
relational/signbit.cl
|
|
shared/clamp.cl
|
|
shared/max.cl
|
|
shared/min.cl
|
|
shared/vload.cl
|
|
shared/vstore.cl
|
|
workitem/get_global_id.cl
|
|
workitem/get_global_size.cl
|