TD_FILES := \
	AMDGPU.td		\
	AMDGPUInstrInfo.td	\
	AMDGPUInstructions.td	\
	AMDGPUIntrinsics.td	\
	AMDGPURegisterInfo.td	\
	AMDILBase.td		\
	AMDILInstrInfo.td	\
	AMDILIntrinsics.td	\
	AMDILRegisterInfo.td	\
	Processors.td		\
	R600Instructions.td	\
	R600Intrinsics.td	\
	R600IntrinsicsNoOpenCL.td	\
	R600IntrinsicsOpenCL.td	\
	R600RegisterInfo.td	\
	R600Schedule.td		\
	SIInstrFormats.td	\
	SIInstrInfo.td		\
	SIInstructions.td	\
	SIIntrinsics.td		\
	SIRegisterInfo.td	\
	SISchedule.td


GENERATED_SOURCES := \
	R600Intrinsics.td		\
	R600RegisterInfo.td		\
	SIRegisterInfo.td		\
	SIRegisterGetHWRegNum.inc		\
	AMDGPUGenRegisterInfo.inc	\
	AMDGPUGenInstrInfo.inc		\
	AMDGPUGenAsmWriter.inc		\
	AMDGPUGenDAGISel.inc		\
	AMDGPUGenCallingConv.inc		\
	AMDGPUGenSubtargetInfo.inc		\
	AMDGPUGenEDInfo.inc		\
	AMDGPUGenIntrinsics.inc		\
	AMDGPUGenCodeEmitter.inc	\
	AMDGPUGenMCCodeEmitter.inc	\
	AMDGPUGenDFAPacketizer.inc

CPP_SOURCES := \
	AMDIL7XXDevice.cpp		\
	AMDILCFGStructurizer.cpp	\
	AMDILDevice.cpp			\
	AMDILDeviceInfo.cpp		\
	AMDILEvergreenDevice.cpp	\
	AMDILFrameLowering.cpp		\
	AMDILIntrinsicInfo.cpp		\
	AMDILISelDAGToDAG.cpp		\
	AMDILISelLowering.cpp		\
	AMDILNIDevice.cpp		\
	AMDILPeepholeOptimizer.cpp	\
	AMDILSIDevice.cpp		\
	AMDGPUAsmPrinter.cpp \
	AMDGPUMCInstLower.cpp \
	AMDGPUSubtarget.cpp		\
	AMDGPUTargetMachine.cpp		\
	AMDGPUISelLowering.cpp		\
	AMDGPUConvertToISA.cpp		\
	AMDGPUInstrInfo.cpp		\
	AMDGPURegisterInfo.cpp		\
	R600ExpandSpecialInstrs.cpp	\
	R600ISelLowering.cpp		\
	R600InstrInfo.cpp		\
	R600KernelParameters.cpp	\
	R600MachineFunctionInfo.cpp	\
	R600RegisterInfo.cpp		\
	SIAssignInterpRegs.cpp		\
	SIInstrInfo.cpp			\
	SIISelLowering.cpp		\
	SIMachineFunctionInfo.cpp	\
	SIRegisterInfo.cpp		\
	InstPrinter/AMDGPUInstPrinter.cpp \
	MCTargetDesc/AMDGPUMCAsmInfo.cpp	\
	MCTargetDesc/AMDGPUAsmBackend.cpp \
	MCTargetDesc/AMDGPUMCTargetDesc.cpp	\
	MCTargetDesc/SIMCCodeEmitter.cpp \
	MCTargetDesc/R600MCCodeEmitter.cpp \
	TargetInfo/AMDGPUTargetInfo.cpp	\
	radeon_llvm_emit.cpp

C_SOURCES := \
	radeon_setup_tgsi_llvm.c