2020-10-08 07:11:41 +08:00
|
|
|
add_subdirectory(Runtime)
|
|
|
|
add_subdirectory(JITHelpers)
|
|
|
|
|
2020-10-09 09:29:59 +08:00
|
|
|
add_npcomp_library(NPCOMPRefBackend
|
2020-10-07 07:14:37 +08:00
|
|
|
RefBackend.cpp
|
2020-05-21 09:48:53 +08:00
|
|
|
LowerToLLVM.cpp
|
2020-10-08 08:12:52 +08:00
|
|
|
LowerToRefbackrtABI.cpp
|
2020-09-17 08:31:40 +08:00
|
|
|
TensorToMemref/LowerConstantTensorsToMemref.cpp
|
2020-05-07 09:41:54 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
2020-10-07 07:14:37 +08:00
|
|
|
${PROJECT_SRC_DIR}/include/npcomp/RefBackend
|
2020-05-07 09:41:54 +08:00
|
|
|
|
|
|
|
DEPENDS
|
2020-10-07 07:14:37 +08:00
|
|
|
NPCOMPRefBackendPassIncGen
|
2020-05-07 09:41:54 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
2020-10-07 13:02:57 +08:00
|
|
|
MLIRLinalg
|
2020-09-17 08:31:40 +08:00
|
|
|
MLIRSCFToStandard
|
2020-10-17 04:30:18 +08:00
|
|
|
MLIRSCFTransforms
|
2020-09-17 08:31:40 +08:00
|
|
|
MLIRShapeToStandard
|
2020-10-07 13:02:57 +08:00
|
|
|
MLIRStandard
|
2020-09-25 08:14:21 +08:00
|
|
|
MLIRStandardOpsTransforms
|
2020-05-21 09:48:53 +08:00
|
|
|
MLIRStandardToLLVM
|
2020-05-07 09:41:54 +08:00
|
|
|
)
|
2020-08-06 05:49:18 +08:00
|
|
|
|
2020-10-07 07:14:37 +08:00
|
|
|
mlir_check_all_link_libraries(NPCOMPRefBackend)
|