AMDPGU/SI: Use AssertZext node to mask high bit for scratch offsets
[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   AMDGPUSubtarget.cpp
25   AMDGPUTargetMachine.cpp
26   AMDGPUTargetTransformInfo.cpp
27   AMDGPUISelLowering.cpp
28   AMDGPUInstrInfo.cpp
29   AMDGPUPromoteAlloca.cpp
30   AMDGPURegisterInfo.cpp
31   R600ClauseMergePass.cpp
32   R600ControlFlowFinalizer.cpp
33   R600EmitClauseMarkers.cpp
34   R600ExpandSpecialInstrs.cpp
35   R600InstrInfo.cpp
36   R600ISelLowering.cpp
37   R600MachineFunctionInfo.cpp
38   R600MachineScheduler.cpp
39   R600OptimizeVectorRegisters.cpp
40   R600Packetizer.cpp
41   R600RegisterInfo.cpp
42   R600TextureIntrinsicsReplacer.cpp
43   SIAnnotateControlFlow.cpp
44   SIFixControlFlowLiveIntervals.cpp
45   SIFixSGPRCopies.cpp
46   SIFixSGPRLiveRanges.cpp
47   SIFoldOperands.cpp
48   SIInsertWaits.cpp
49   SIInstrInfo.cpp
50   SIISelLowering.cpp
51   SILoadStoreOptimizer.cpp
52   SILowerControlFlow.cpp
53   SILowerI1Copies.cpp
54   SIMachineFunctionInfo.cpp
55   SIPrepareScratchRegs.cpp
56   SIRegisterInfo.cpp
57   SIShrinkInstructions.cpp
58   SITypeRewriter.cpp
59   )
60
61 add_subdirectory(AsmParser)
62 add_subdirectory(InstPrinter)
63 add_subdirectory(TargetInfo)
64 add_subdirectory(MCTargetDesc)
65 add_subdirectory(Utils)