-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler][NFC] Reorganize Quidditch HAL target into
Target
directory
- Loading branch information
Showing
13 changed files
with
93 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
add_subdirectory(src) | ||
iree_add_all_subdirs() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
iree_setup_c_src_root(IMPLICIT_DEFS_TARGET quidditch_defs) | ||
|
||
add_subdirectory(Quidditch) | ||
iree_add_all_subdirs() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1 @@ | ||
iree_compiler_register_plugin( | ||
PLUGIN_ID | ||
hal_target_quidditch | ||
TARGET | ||
::Quidditch | ||
) | ||
|
||
iree_tablegen_library( | ||
NAME | ||
PassesIncGen | ||
TD_FILE | ||
"Passes.td" | ||
OUTS | ||
--gen-pass-decls Passes.h.inc | ||
) | ||
|
||
iree_cc_library( | ||
NAME | ||
QuidditchPasses | ||
HDRS | ||
"Passes.h" | ||
"Passes.h.inc" | ||
SRCS | ||
"ConvertToRISCV.cpp" | ||
"DisableQuidditchVariant.cpp" | ||
"OutlineLinalgOpsToxDSL.cpp" | ||
"LinkExecutables.cpp" | ||
"ReluToMax.cpp" | ||
DEPS | ||
::PassesIncGen | ||
MLIRFuncDialect | ||
MLIRIR | ||
iree::compiler::Dialect::HAL::IR | ||
) | ||
|
||
iree_cc_library( | ||
NAME | ||
Quidditch | ||
SRCS | ||
"QuidditchTarget.cpp" | ||
DEPS | ||
::QuidditchPasses | ||
IREELinalgTransformDialect | ||
LLVMAnalysis | ||
LLVMBitReader | ||
LLVMBitWriter | ||
LLVMCore | ||
LLVMLinker | ||
LLVMSupport | ||
LLVMTargetParser | ||
LLVMRISCVAsmParser | ||
LLVMRISCVCodeGen | ||
LLVMRISCVDesc | ||
LLVMRISCVInfo | ||
MLIRArmNeonDialect | ||
MLIRArmSMEDialect | ||
MLIRArmSMEToLLVMIRTranslation | ||
MLIRBuiltinToLLVMIRTranslation | ||
MLIRIR | ||
MLIRLLVMDialect | ||
MLIRLLVMToLLVMIRTranslation | ||
MLIRPDLDialect | ||
MLIRPDLInterpDialect | ||
MLIRSupport | ||
MLIRTargetLLVMIRExport | ||
MLIRTransformDialect | ||
iree::compiler::Codegen::Common | ||
iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect | ||
iree::compiler::Codegen::LLVMCPU | ||
iree::compiler::Codegen::Utils | ||
iree::compiler::Dialect::HAL::Target | ||
iree::compiler::Dialect::HAL::Utils::LLVMLinkerUtils | ||
iree::compiler::Dialect::LinalgExt::IR | ||
iree::compiler::Dialect::Util::IR | ||
iree::compiler::PluginAPI | ||
iree::compiler::Utils | ||
iree::compiler::plugins::target::LLVMCPU | ||
PUBLIC | ||
) | ||
iree_add_all_subdirs() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
iree_compiler_register_plugin( | ||
PLUGIN_ID | ||
hal_target_quidditch | ||
TARGET | ||
::Quidditch | ||
) | ||
|
||
iree_tablegen_library( | ||
NAME | ||
PassesIncGen | ||
TD_FILE | ||
"Passes.td" | ||
OUTS | ||
--gen-pass-decls Passes.h.inc | ||
) | ||
|
||
iree_cc_library( | ||
NAME | ||
Passes | ||
HDRS | ||
"Passes.h" | ||
"Passes.h.inc" | ||
SRCS | ||
"ConvertToRISCV.cpp" | ||
"DisableQuidditchVariant.cpp" | ||
"OutlineLinalgOpsToxDSL.cpp" | ||
"LinkExecutables.cpp" | ||
"ReluToMax.cpp" | ||
DEPS | ||
::PassesIncGen | ||
MLIRFuncDialect | ||
MLIRIR | ||
iree::compiler::Dialect::HAL::IR | ||
) | ||
|
||
iree_cc_library( | ||
NAME | ||
Quidditch | ||
SRCS | ||
"QuidditchTarget.cpp" | ||
DEPS | ||
::Passes | ||
Quidditch::Dialect::Snitch::QuidditchSnitchDialect | ||
IREELinalgTransformDialect | ||
LLVMAnalysis | ||
LLVMBitReader | ||
LLVMBitWriter | ||
LLVMCore | ||
LLVMLinker | ||
LLVMSupport | ||
LLVMTargetParser | ||
LLVMRISCVAsmParser | ||
LLVMRISCVCodeGen | ||
LLVMRISCVDesc | ||
LLVMRISCVInfo | ||
MLIRArmNeonDialect | ||
MLIRArmSMEDialect | ||
MLIRArmSMEToLLVMIRTranslation | ||
MLIRBuiltinToLLVMIRTranslation | ||
MLIRIR | ||
MLIRLLVMDialect | ||
MLIRLLVMToLLVMIRTranslation | ||
MLIRPDLDialect | ||
MLIRPDLInterpDialect | ||
MLIRSupport | ||
MLIRTargetLLVMIRExport | ||
MLIRTransformDialect | ||
iree::compiler::Codegen::Common | ||
iree::compiler::Codegen::Dialect::Codegen::IR::IREECodegenDialect | ||
iree::compiler::Codegen::LLVMCPU | ||
iree::compiler::Codegen::Utils | ||
iree::compiler::Dialect::HAL::Target | ||
iree::compiler::Dialect::HAL::Utils::LLVMLinkerUtils | ||
iree::compiler::Dialect::LinalgExt::IR | ||
iree::compiler::Dialect::Util::IR | ||
iree::compiler::PluginAPI | ||
iree::compiler::Utils | ||
iree::compiler::plugins::target::LLVMCPU | ||
PUBLIC | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters