CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
83 lines
1.8 KiB
CMake
83 lines
1.8 KiB
CMake
set(SRC_LIST
|
|
LLVMSPIRVOpts.cpp
|
|
LLVMToSPIRVDbgTran.cpp
|
|
Mangler/FunctionDescriptor.cpp
|
|
Mangler/Mangler.cpp
|
|
Mangler/ManglingUtils.cpp
|
|
Mangler/ParameterType.cpp
|
|
OCLToSPIRV.cpp
|
|
OCLTypeToSPIRV.cpp
|
|
OCLUtil.cpp
|
|
VectorComputeUtil.cpp
|
|
SPIRVBuiltinHelper.cpp
|
|
SPIRVLowerBitCastToNonStandardType.cpp
|
|
SPIRVLowerBool.cpp
|
|
SPIRVLowerConstExpr.cpp
|
|
SPIRVLowerMemmove.cpp
|
|
SPIRVLowerOCLBlocks.cpp
|
|
SPIRVLowerLLVMIntrinsic.cpp
|
|
SPIRVReader.cpp
|
|
SPIRVRegularizeLLVM.cpp
|
|
SPIRVToLLVMDbgTran.cpp
|
|
SPIRVToOCL.cpp
|
|
SPIRVToOCL12.cpp
|
|
SPIRVToOCL20.cpp
|
|
SPIRVTypeScavenger.cpp
|
|
SPIRVUtil.cpp
|
|
SPIRVWriter.cpp
|
|
SPIRVWriterPass.cpp
|
|
PassPlugin.cpp
|
|
PreprocessMetadata.cpp
|
|
libSPIRV/SPIRVBasicBlock.cpp
|
|
libSPIRV/SPIRVDebug.cpp
|
|
libSPIRV/SPIRVDecorate.cpp
|
|
libSPIRV/SPIRVEntry.cpp
|
|
libSPIRV/SPIRVFunction.cpp
|
|
libSPIRV/SPIRVInstruction.cpp
|
|
libSPIRV/SPIRVModule.cpp
|
|
libSPIRV/SPIRVStream.cpp
|
|
libSPIRV/SPIRVType.cpp
|
|
libSPIRV/SPIRVValue.cpp
|
|
libSPIRV/SPIRVError.cpp
|
|
libSPIRV/SPIRVFnVar.cpp
|
|
)
|
|
|
|
set(SPIRVLIB_LINK_COMPONENTS
|
|
Analysis
|
|
BitWriter
|
|
CodeGen
|
|
Core
|
|
Demangle
|
|
IRReader
|
|
Linker
|
|
Passes
|
|
Support
|
|
TargetParser
|
|
TransformUtils
|
|
)
|
|
|
|
if(SPIRV_BACKEND_FOUND)
|
|
list(APPEND SPIRVLIB_LINK_COMPONENTS "SPIRVCodeGen")
|
|
endif()
|
|
|
|
add_llvm_library(LLVMSPIRVAMDLib
|
|
${SRC_LIST}
|
|
LINK_COMPONENTS
|
|
${SPIRVLIB_LINK_COMPONENTS}
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
|
|
target_include_directories(LLVMSPIRVAMDLib
|
|
PRIVATE
|
|
${LLVM_INCLUDE_DIRS}
|
|
${LLVM_SPIRV_INCLUDE_DIRS}
|
|
# TODO: Consider using SPIRV-Headers' as a header-only INTERFACE
|
|
# instead. Right now this runs into exporting issues with
|
|
# the LLVM in-tree builds.
|
|
${LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR}/include
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/libSPIRV
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Mangler
|
|
)
|