aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/CBackend/Makefile.am15
-rw-r--r--lib/Target/Makefile.am23
-rw-r--r--lib/Target/PowerPC/Makefile.am41
-rw-r--r--lib/Target/Skeleton/Makefile.am31
-rw-r--r--lib/Target/SparcV9/LiveVar/Makefile.am22
-rw-r--r--lib/Target/SparcV9/Makefile.am62
-rw-r--r--lib/Target/SparcV9/RegAlloc/Makefile.am24
-rw-r--r--lib/Target/X86/Makefile.am36
8 files changed, 254 insertions, 0 deletions
diff --git a/lib/Target/CBackend/Makefile.am b/lib/Target/CBackend/Makefile.am
new file mode 100644
index 0000000..217b1cd
--- /dev/null
+++ b/lib/Target/CBackend/Makefile.am
@@ -0,0 +1,15 @@
+#===-- lib/Target/CBackend/Makefile.am ---------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+libexec_PROGRAMS = LLVMCWriter.o
+
+LLVMCWriter_o_SOURCES = Writer.cpp
+LIBS=
diff --git a/lib/Target/Makefile.am b/lib/Target/Makefile.am
new file mode 100644
index 0000000..6242247
--- /dev/null
+++ b/lib/Target/Makefile.am
@@ -0,0 +1,23 @@
+#===-- lib/Target/Makefile.am ------------------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+SUBDIRS = X86 CBackend PowerPC SparcV9 Skeleton
+
+lib_LIBRARIES = libLLVMTarget.a
+
+libLLVMTarget_a_SOURCES = \
+ MRegisterInfo.cpp \
+ TargetData.cpp \
+ TargetFrameInfo.cpp \
+ TargetInstrInfo.cpp \
+ TargetMachine.cpp \
+ TargetMachineRegistry.cpp \
+ TargetSchedInfo.cpp
diff --git a/lib/Target/PowerPC/Makefile.am b/lib/Target/PowerPC/Makefile.am
new file mode 100644
index 0000000..aa97dfb
--- /dev/null
+++ b/lib/Target/PowerPC/Makefile.am
@@ -0,0 +1,41 @@
+#===-- lib/Target/PowerPC/Makefile.am ----------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+libexec_PROGRAMS = LLVMPowerPC.o
+
+BUILT_SOURCES = \
+ PowerPCGenInstrNames.inc \
+ PowerPCGenRegisterNames.inc \
+ PowerPCGenCodeEmitter.inc \
+ PowerPCGenAsmWriter.inc \
+ PPC32GenRegisterInfo.h.inc \
+ PPC32GenRegisterInfo.inc \
+ PPC32GenInstrInfo.inc \
+ PPC64GenRegisterInfo.h.inc \
+ PPC64GenRegisterInfo.inc \
+ PPC64GenInstrInfo.inc
+
+LLVMPowerPC_o_SOURCES = \
+ PowerPCAsmPrinter.cpp \
+ PowerPCBranchSelector.cpp \
+ PowerPCTargetMachine.cpp \
+ PPC32CodeEmitter.cpp \
+ PPC32InstrInfo.cpp \
+ PPC32ISelSimple.cpp \
+ PPC32RegisterInfo.cpp \
+ PPC64CodeEmitter.cpp \
+ PPC64InstrInfo.cpp \
+ PPC64ISelSimple.cpp \
+ PPC64RegisterInfo.cpp
+
+LIBS=
+
+$(BUILT_SOURCES) : $(LLVM_TDFILES) $(TBLGEN)
diff --git a/lib/Target/Skeleton/Makefile.am b/lib/Target/Skeleton/Makefile.am
new file mode 100644
index 0000000..e9d9d5a
--- /dev/null
+++ b/lib/Target/Skeleton/Makefile.am
@@ -0,0 +1,31 @@
+#===-- lib/Target/Skeleton/Makefile.am ---------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+
+include $(top_srcdir)/Makefile.rules.am
+
+libexec_PROGRAMS = LLVMSkeleton.o
+
+BUILT_SOURCES = \
+ SkeletonGenRegisterInfo.h.inc \
+ SkeletonGenRegisterNames.inc \
+ SkeletonGenRegisterInfo.inc \
+ SkeletonGenInstrNames.inc \
+ SkeletonGenInstrInfo.inc
+
+LLVMSkeleton_o_SOURCES = \
+ SkeletonInstrInfo.cpp \
+ SkeletonJITInfo.cpp \
+ SkeletonRegisterInfo.cpp \
+ SkeletonTargetMachine.cpp \
+ $(BUILT_SOURCES)
+
+LIBS=
+
+$(BUILT_SOURCES) : $(TDFILES) $(TBLGEN)
diff --git a/lib/Target/SparcV9/LiveVar/Makefile.am b/lib/Target/SparcV9/LiveVar/Makefile.am
new file mode 100644
index 0000000..b79d3d7
--- /dev/null
+++ b/lib/Target/SparcV9/LiveVar/Makefile.am
@@ -0,0 +1,22 @@
+#===-- lib/Target/SparcV9/LiveVar/Makefile.am --------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+lib_LIBRARIES = libLLVMSparcV9LiveVar.a
+libexec_PROGRAMS = LLVMSparcV9LiveVar.o
+
+MYSOURCES = \
+ BBLiveVar.cpp \
+ FunctionLiveVarInfo.cpp \
+ ValueSet.cpp
+
+libLLVMSparcV9LiveVar_a_SOURCES = $(MYSOURCES)
+LLVMSparcV9LiveVar_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Target/SparcV9/Makefile.am b/lib/Target/SparcV9/Makefile.am
new file mode 100644
index 0000000..0fd9a06
--- /dev/null
+++ b/lib/Target/SparcV9/Makefile.am
@@ -0,0 +1,62 @@
+#===-- lib/Target/SparcV9/Makefile.am ----------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+SUBDIRS = LiveVar RegAlloc
+
+libexec_PROGRAMS = LLVMSparcV9.o
+
+BUILT_SOURCES = \
+ SparcV9CodeEmitter.inc \
+ SparcV9.burm.cpp
+
+LLVMSparcV9_o_SOURCES = \
+ EmitBytecodeToAssembly.cpp \
+ InternalGlobalMapper.cpp \
+ MachineCodeForInstruction.cpp \
+ MachineFunctionInfo.cpp \
+ MappingInfo.cpp \
+ SparcV9AsmPrinter.cpp \
+ SparcV9BurgISel.cpp \
+ SparcV9CodeEmitter.cpp \
+ SparcV9FrameInfo.cpp \
+ SparcV9PeepholeOpts.cpp \
+ SparcV9PreSelection.cpp \
+ SparcV9PrologEpilogInserter.cpp \
+ SparcV9RegClassInfo.cpp \
+ SparcV9RegInfo.cpp \
+ SparcV9RegisterInfo.cpp \
+ SparcV9SchedInfo.cpp \
+ SparcV9StackSlots.cpp \
+ SparcV9TargetMachine.cpp \
+ SparcV9TmpInstr.cpp \
+ $(BUILT_SOURCES)
+
+LIBS=
+
+SparcV9.burg.in1 : SparcV9.burg.in
+ $(CXX) -E $(AM_CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
+
+SparcV9.burm : SparcV9.burg.in1
+ $(CXX) -E -I$(AM_CPPFLAGS) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/^Xinclude/#include/' | $(SED) 's/^Xdefine/#define/' > $@
+
+SparcV9.burm.cpp: SparcV9.burm
+ @echo "Burging `basename $<`"
+ $(RunBurg) $< -o $@
+
+SparcV9CodeEmitter.inc: SparcV9.td $(TABLEGEN_FILES) $(TBLGEN)
+ @echo "Tblgen'ing `basename $<`"
+ $(TBLGEN) -I $(srcdir) $< -gen-emitter -o $@
+
+TABLEGEN_FILES := $(notdir $(wildcard $(SourceDir)/*.td))
+
+clean::
+ $(VERB) $(RM) -f SparcV9CodeEmitter.inc SparcV9.burg.in1 SparcV9.burm SparcV9.burm.cpp
+
diff --git a/lib/Target/SparcV9/RegAlloc/Makefile.am b/lib/Target/SparcV9/RegAlloc/Makefile.am
new file mode 100644
index 0000000..f181d15
--- /dev/null
+++ b/lib/Target/SparcV9/RegAlloc/Makefile.am
@@ -0,0 +1,24 @@
+#===-- lib/Target/SparcV9/RegAlloc/Makefile.am -------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+lib_LIBRARIES = libLLVMSparcV9RegAlloc.a
+libexec_PROGRAMS = LLVMSparcV9RegAlloc.o
+
+MYSOURCES = \
+ IGNode.cpp \
+ InterferenceGraph.cpp \
+ LiveRangeInfo.cpp \
+ PhyRegAlloc.cpp \
+ RegClass.cpp
+
+libLLVMSparcV9RegAlloc_a_SOURCES = $(MYSOURCES)
+LLVMSparcV9RegAlloc_o_SOURCES = $(MYSOURCES)
+LIBS=
diff --git a/lib/Target/X86/Makefile.am b/lib/Target/X86/Makefile.am
new file mode 100644
index 0000000..8fa7bd9
--- /dev/null
+++ b/lib/Target/X86/Makefile.am
@@ -0,0 +1,36 @@
+#===-- lib/Target/X86/Makefile.am --------------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+include $(top_srcdir)/Makefile.rules.am
+
+libexec_PROGRAMS = LLVMX86.o
+
+BUILT_SOURCES = \
+ X86GenRegisterInfo.h.inc \
+ X86GenRegisterNames.inc \
+ X86GenRegisterInfo.inc \
+ X86GenInstrNames.inc \
+ X86GenInstrInfo.inc \
+ X86GenATTAsmWriter.inc \
+ X86GenIntelAsmWriter.inc
+
+LLVMX86_o_SOURCES = \
+ X86AsmPrinter.cpp \
+ X86CodeEmitter.cpp \
+ X86FloatingPoint.cpp \
+ X86InstrInfo.cpp \
+ X86ISelPattern.cpp \
+ X86ISelSimple.cpp \
+ X86PeepholeOpt.cpp \
+ X86RegisterInfo.cpp \
+ X86TargetMachine.cpp
+
+LIBS=
+
+$(BUILT_SOURCES) : $(LLVM_TDFILES) $(TBLGEN)