1add_llvm_component_group(WebAssembly)
2
3set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
4
5tablegen(LLVM WebAssemblyGenAsmMatcher.inc -gen-asm-matcher)
6tablegen(LLVM WebAssemblyGenAsmWriter.inc -gen-asm-writer)
7tablegen(LLVM WebAssemblyGenDAGISel.inc -gen-dag-isel)
8tablegen(LLVM WebAssemblyGenDisassemblerTables.inc -gen-disassembler)
9tablegen(LLVM WebAssemblyGenFastISel.inc -gen-fast-isel)
10tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
11tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
12tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
13tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
14
15add_public_tablegen_target(WebAssemblyCommonTableGen)
16
17add_llvm_target(WebAssemblyCodeGen
18  WebAssemblyAddMissingPrototypes.cpp
19  WebAssemblyArgumentMove.cpp
20  WebAssemblyAsmPrinter.cpp
21  WebAssemblyCFGStackify.cpp
22  WebAssemblyCFGSort.cpp
23  WebAssemblyDebugFixup.cpp
24  WebAssemblyDebugValueManager.cpp
25  WebAssemblyLateEHPrepare.cpp
26  WebAssemblyExceptionInfo.cpp
27  WebAssemblyExplicitLocals.cpp
28  WebAssemblyFastISel.cpp
29  WebAssemblyFixBrTableDefaults.cpp
30  WebAssemblyFixIrreducibleControlFlow.cpp
31  WebAssemblyFixFunctionBitcasts.cpp
32  WebAssemblyFrameLowering.cpp
33  WebAssemblyISelDAGToDAG.cpp
34  WebAssemblyISelLowering.cpp
35  WebAssemblyInstrInfo.cpp
36  WebAssemblyLowerBrUnless.cpp
37  WebAssemblyLowerEmscriptenEHSjLj.cpp
38  WebAssemblyLowerGlobalDtors.cpp
39  WebAssemblyMachineFunctionInfo.cpp
40  WebAssemblyMCInstLower.cpp
41  WebAssemblyOptimizeLiveIntervals.cpp
42  WebAssemblyOptimizeReturned.cpp
43  WebAssemblyPeephole.cpp
44  WebAssemblyPrepareForLiveIntervals.cpp
45  WebAssemblyRegisterInfo.cpp
46  WebAssemblyRegColoring.cpp
47  WebAssemblyRegNumbering.cpp
48  WebAssemblyRegStackify.cpp
49  WebAssemblyReplacePhysRegs.cpp
50  WebAssemblyRuntimeLibcallSignatures.cpp
51  WebAssemblySelectionDAGInfo.cpp
52  WebAssemblySetP2AlignOperands.cpp
53  WebAssemblySortRegion.cpp
54  WebAssemblyMemIntrinsicResults.cpp
55  WebAssemblySubtarget.cpp
56  WebAssemblyTargetMachine.cpp
57  WebAssemblyTargetObjectFile.cpp
58  WebAssemblyTargetTransformInfo.cpp
59  WebAssemblyUtilities.cpp
60
61  DEPENDS
62  intrinsics_gen
63
64  LINK_COMPONENTS
65  Analysis
66  AsmPrinter
67  BinaryFormat
68  CodeGen
69  Core
70  MC
71  Scalar
72  SelectionDAG
73  Support
74  Target
75  TransformUtils
76  WebAssemblyDesc
77  WebAssemblyInfo
78
79  ADD_TO_COMPONENT
80  WebAssembly
81)
82
83add_subdirectory(AsmParser)
84add_subdirectory(Disassembler)
85add_subdirectory(MCTargetDesc)
86add_subdirectory(TargetInfo)
87