82 lines · plain
1add_llvm_component_group(SPIRV)2 3set(LLVM_TARGET_DEFINITIONS SPIRV.td)4 5tablegen(LLVM SPIRVGenAsmWriter.inc -gen-asm-writer)6tablegen(LLVM SPIRVGenGlobalISel.inc -gen-global-isel)7tablegen(LLVM SPIRVGenInstrInfo.inc -gen-instr-info)8tablegen(LLVM SPIRVGenMCCodeEmitter.inc -gen-emitter)9tablegen(LLVM SPIRVGenRegisterBank.inc -gen-register-bank)10tablegen(LLVM SPIRVGenRegisterInfo.inc -gen-register-info)11tablegen(LLVM SPIRVGenSubtargetInfo.inc -gen-subtarget)12tablegen(LLVM SPIRVGenTables.inc -gen-searchable-tables)13tablegen(LLVM SPIRVGenPreLegalizeGICombiner.inc -gen-global-isel-combiner14 -combiners="SPIRVPreLegalizerCombiner")15 16add_public_tablegen_target(SPIRVCommonTableGen)17 18add_llvm_target(SPIRVCodeGen19 SPIRVAPI.cpp20 SPIRVAsmPrinter.cpp21 SPIRVBuiltins.cpp22 SPIRVCallLowering.cpp23 SPIRVInlineAsmLowering.cpp24 SPIRVCommandLine.cpp25 SPIRVEmitIntrinsics.cpp26 SPIRVGlobalRegistry.cpp27 SPIRVInstrInfo.cpp28 SPIRVInstructionSelector.cpp29 SPIRVLegalizeImplicitBinding.cpp30 SPIRVStripConvergentIntrinsics.cpp31 SPIRVLegalizePointerCast.cpp32 SPIRVMergeRegionExitTargets.cpp33 SPIRVISelLowering.cpp34 SPIRVLegalizerInfo.cpp35 SPIRVMCInstLower.cpp36 SPIRVMetadata.cpp37 SPIRVModuleAnalysis.cpp38 SPIRVStructurizer.cpp39 SPIRVCombinerHelper.cpp40 SPIRVPreLegalizer.cpp41 SPIRVPreLegalizerCombiner.cpp42 SPIRVPostLegalizer.cpp43 SPIRVPrepareFunctions.cpp44 SPIRVPrepareGlobals.cpp45 SPIRVRegisterBankInfo.cpp46 SPIRVRegisterInfo.cpp47 SPIRVRegularizer.cpp48 SPIRVSubtarget.cpp49 SPIRVTargetMachine.cpp50 SPIRVTargetTransformInfo.cpp51 SPIRVUtils.cpp52 SPIRVEmitNonSemanticDI.cpp53 SPIRVCBufferAccess.cpp54 55 LINK_COMPONENTS56 Analysis57 AsmPrinter58 CodeGen59 CodeGenTypes60 Core61 Demangle62 GlobalISel63 FrontendHLSL64 MC65 SPIRVAnalysis66 SPIRVDesc67 SPIRVInfo68 ScalarOpts69 SelectionDAG70 Support71 Target72 TargetParser73 TransformUtils74 75 ADD_TO_COMPONENT76 SPIRV77 )78 79add_subdirectory(MCTargetDesc)80add_subdirectory(TargetInfo)81add_subdirectory(Analysis)82