diff options
Diffstat (limited to 'test/Transforms')
30 files changed, 0 insertions, 347 deletions
diff --git a/test/Transforms/ADCE/Makefile b/test/Transforms/ADCE/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/ADCE/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/BasicAA/Makefile b/test/Transforms/BasicAA/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/BasicAA/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/ConstProp/Makefile b/test/Transforms/ConstProp/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/ConstProp/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/ConstantMerge/Makefile b/test/Transforms/ConstantMerge/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/ConstantMerge/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/CorrelatedExprs/Makefile b/test/Transforms/CorrelatedExprs/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/CorrelatedExprs/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/DSAnalysis/Makefile b/test/Transforms/DSAnalysis/Makefile deleted file mode 100644 index f5c8fad92d..0000000000 --- a/test/Transforms/DSAnalysis/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# test/Regression/Transforms/DSAnalysis/Makefile -# -# This directory contains test cases for the llvm data structure analysis -# library. These are meant to test all of the nooks and cranies of the -# algorithm, although we really have no way to verify that the answers produced -# are correct. -# -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -## Get absolute pathname for analyze -LANALYZE_ABS := $(shell cd `dirname $(LANALYZE)`; pwd)/analyze - -TESTS := $(wildcard *.ll) -FTESTS := $(wildcard *.llx) # Freeform tests - -all:: $(addprefix Output/, $(TESTS:%.ll=%.out)) - -Output/%.out: %.ll $(LANALYZE) Output/.dir - (cd Output/; $(LANALYZE_ABS) -tddatastructure ../$< || \ - ( rm -f ../$@; ../$(FAILURE) ../$@ )) - -all:: $(addprefix Output/, $(FTESTS:%.llx=%.llx.out)) - -clean:: - rm -f *.ps *.dot - -Output/%.llx.out: %.llx Output/.dir $(LAS) - -$(TESTRUNR) $< - diff --git a/test/Transforms/DeadArgElim/Makefile b/test/Transforms/DeadArgElim/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/DeadArgElim/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/DecomposeMultiDimRefs/Makefile b/test/Transforms/DecomposeMultiDimRefs/Makefile deleted file mode 100644 index fdbf3faf20..0000000000 --- a/test/Transforms/DecomposeMultiDimRefs/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# test/Regression/Transforms/DecomposeArrayRefs/Makefile -# -# This directory contains regression tests for the DecomposeArrayRefs pass. -# Since the main tests are single C source files, we'll use the same -# Makefile as test/Programs/SingleSource. -# The *.ll tests are mainly useful to run manually. -# -LEVEL = ../../../.. -include $(LEVEL)/test/Programs/SingleSource/Makefile.singlesrc - -LLTESTS := $(wildcard *.ll) -CTESTS := $(wildcard *.c) -TESTS := $(LLTESTS) $(CTESTS) - -all:: $(addprefix Output/, $(LLTESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< - diff --git a/test/Transforms/FunctionResolve/Makefile b/test/Transforms/FunctionResolve/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/FunctionResolve/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/GCSE/Makefile b/test/Transforms/GCSE/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/GCSE/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/GlobalDCE/Makefile b/test/Transforms/GlobalDCE/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/GlobalDCE/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/IndVarsSimplify/Makefile b/test/Transforms/IndVarsSimplify/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/IndVarsSimplify/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/Inline/Makefile b/test/Transforms/Inline/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/Inline/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/InstCombine/Makefile b/test/Transforms/InstCombine/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/InstCombine/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/LICM/Makefile b/test/Transforms/LICM/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/LICM/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/LevelRaise/Makefile b/test/Transforms/LevelRaise/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/LevelRaise/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/LoopPreheaders/Makefile b/test/Transforms/LoopPreheaders/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/LoopPreheaders/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/LowerSetJmp/Makefile b/test/Transforms/LowerSetJmp/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/LowerSetJmp/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/LowerSwitch/Makefile b/test/Transforms/LowerSwitch/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/LowerSwitch/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/Makefile b/test/Transforms/Makefile deleted file mode 100644 index 7ad75f5366..0000000000 --- a/test/Transforms/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -LEVEL = ../../.. -DIRS = ADCE \ - ConstProp \ - ConstantMerge \ - CorrelatedExprs \ - DecomposeMultiDimRefs \ - FunctionResolve \ - GCSE \ - GlobalDCE \ - IndVarsSimplify \ - Inline \ - InstCombine \ - LevelRaise \ - LICM \ - LoopPreheaders \ - LowerSwitch \ - Mem2Reg \ - PiNodeInserter \ - PRE \ - PruneEH \ - ProfilePaths \ - Reassociate \ - SCCP \ - ScalarRepl \ - SimplifyCFG \ - TailDup - -include $(LEVEL)/Makefile.common diff --git a/test/Transforms/Mem2Reg/Makefile b/test/Transforms/Mem2Reg/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/Mem2Reg/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/PRE/Makefile b/test/Transforms/PRE/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/PRE/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/PiNodeInserter/Makefile b/test/Transforms/PiNodeInserter/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/PiNodeInserter/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/ProfilePaths/Makefile b/test/Transforms/ProfilePaths/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/ProfilePaths/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/PruneEH/Makefile b/test/Transforms/PruneEH/Makefile deleted file mode 100644 index e92df45e64..0000000000 --- a/test/Transforms/PruneEH/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.llx) - -all:: $(addprefix Output/, $(TESTS:%.llx=%.llx.out)) - -Output/%.llx.out: %.llx Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/Reassociate/Makefile b/test/Transforms/Reassociate/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/Reassociate/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/SCCP/Makefile b/test/Transforms/SCCP/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/SCCP/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/ScalarRepl/Makefile b/test/Transforms/ScalarRepl/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/ScalarRepl/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/SimplifyCFG/Makefile b/test/Transforms/SimplifyCFG/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/SimplifyCFG/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< diff --git a/test/Transforms/TailDup/Makefile b/test/Transforms/TailDup/Makefile deleted file mode 100644 index 91acd4d481..0000000000 --- a/test/Transforms/TailDup/Makefile +++ /dev/null @@ -1,10 +0,0 @@ - -LEVEL = ../../../.. -include $(LEVEL)/test/Makefile.tests - -TESTS := $(wildcard *.ll) - -all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out)) - -Output/%.ll.out: %.ll Output/.dir $(LOPT) - -$(TESTRUNR) $< |