AMDGPU: Produce error on dynamic_stackalloc
[oota-llvm.git] / lib / Target / AMDGPU / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS AMDGPU.td)
2
3 tablegen(LLVM AMDGPUGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM AMDGPUGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM AMDGPUGenDAGISel.inc -gen-dag-isel)
6 tablegen(LLVM AMDGPUGenCallingConv.inc -gen-callingconv)
7 tablegen(LLVM AMDGPUGenSubtargetInfo.inc -gen-subtarget)
8 tablegen(LLVM AMDGPUGenIntrinsics.inc -gen-tgt-intrinsic)
9 tablegen(LLVM AMDGPUGenMCCodeEmitter.inc -gen-emitter)
10 tablegen(LLVM AMDGPUGenDFAPacketizer.inc -gen-dfa-packetizer)
11 tablegen(LLVM AMDGPUGenAsmWriter.inc -gen-asm-writer)
12 tablegen(LLVM AMDGPUGenAsmMatcher.inc -gen-asm-matcher)
13 add_public_tablegen_target(AMDGPUCommonTableGen)
14
15 add_llvm_target(AMDGPUCodeGen
16   AMDILCFGStructurizer.cpp
17   AMDGPUAlwaysInlinePass.cpp
18   AMDGPUAsmPrinter.cpp
19   AMDGPUFrameLowering.cpp
20   AMDGPUIntrinsicInfo.cpp
21   AMDGPUISelDAGToDAG.cpp
22   AMDGPUMCInstLower.cpp
23   AMDGPUMachineFunction.cpp
24   AMDGPUOpenCLImageTypeLoweringPass.cpp
25   AMDGPUSubtarget.cpp
26   AMDGPUTargetMachine.cpp
27   AMDGPUTargetTransformInfo.cpp
28   AMDGPUISelLowering.cpp
29   AMDGPUInstrInfo.cpp
30   AMDGPUPromoteAlloca.cpp
31   AMDGPURegisterInfo.cpp
32   R600ClauseMergePass.cpp
33   R600ControlFlowFinalizer.cpp
34   R600EmitClauseMarkers.cpp
35   R600ExpandSpecialInstrs.cpp
36   R600InstrInfo.cpp
37   R600ISelLowering.cpp
38   R600MachineFunctionInfo.cpp
39   R600MachineScheduler.cpp
40   R600OptimizeVectorRegisters.cpp
41   R600Packetizer.cpp
42   R600RegisterInfo.cpp
43   R600TextureIntrinsicsReplacer.cpp
44   SIAnnotateControlFlow.cpp
45   SIFixControlFlowLiveIntervals.cpp
46   SIFixSGPRCopies.cpp
47   SIFixSGPRLiveRanges.cpp
48   SIFoldOperands.cpp
49   SIInsertWaits.cpp
50   SIInstrInfo.cpp
51   SIISelLowering.cpp
52   SILoadStoreOptimizer.cpp
53   SILowerControlFlow.cpp
54   SILowerI1Copies.cpp
55   SIMachineFunctionInfo.cpp
56   SIPrepareScratchRegs.cpp
57   SIRegisterInfo.cpp
58   SIShrinkInstructions.cpp
59   SITypeRewriter.cpp
60   )
61
62 add_subdirectory(AsmParser)
63 add_subdirectory(InstPrinter)
64 add_subdirectory(TargetInfo)
65 add_subdirectory(MCTargetDesc)
66 add_subdirectory(Utils)