xref: /minix3/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.19 2015/01/29 20:41:36 joerg Exp $
2f4a2713aSLionel Sambuc
3f4a2713aSLionel SambucLIB=	LLVMScalarOpts
4f4a2713aSLionel Sambuc
5f4a2713aSLionel Sambuc.include <bsd.init.mk>
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Transforms/Scalar
8f4a2713aSLionel Sambuc
9f4a2713aSLionel SambucSRCS+=	ADCE.cpp \
10*0a6a1f1dSLionel Sambuc	AlignmentFromAssumptions.cpp \
11*0a6a1f1dSLionel Sambuc	ConstantHoisting.cpp \
12f4a2713aSLionel Sambuc	ConstantProp.cpp \
13f4a2713aSLionel Sambuc	CorrelatedValuePropagation.cpp \
14f4a2713aSLionel Sambuc	DCE.cpp \
15f4a2713aSLionel Sambuc	DeadStoreElimination.cpp \
16f4a2713aSLionel Sambuc	EarlyCSE.cpp \
17f4a2713aSLionel Sambuc	FlattenCFGPass.cpp \
18f4a2713aSLionel Sambuc	GVN.cpp \
19f4a2713aSLionel Sambuc	IndVarSimplify.cpp \
20f4a2713aSLionel Sambuc	JumpThreading.cpp \
21f4a2713aSLionel Sambuc	LICM.cpp \
22*0a6a1f1dSLionel Sambuc	LoadCombine.cpp \
23f4a2713aSLionel Sambuc	LoopDeletion.cpp \
24f4a2713aSLionel Sambuc	LoopIdiomRecognize.cpp \
25f4a2713aSLionel Sambuc	LoopInstSimplify.cpp \
26f4a2713aSLionel Sambuc	LoopRerollPass.cpp \
27f4a2713aSLionel Sambuc	LoopRotation.cpp \
28f4a2713aSLionel Sambuc	LoopStrengthReduce.cpp \
29f4a2713aSLionel Sambuc	LoopUnrollPass.cpp \
30f4a2713aSLionel Sambuc	LoopUnswitch.cpp \
31f4a2713aSLionel Sambuc	LowerAtomic.cpp \
32f4a2713aSLionel Sambuc	MemCpyOptimizer.cpp \
33*0a6a1f1dSLionel Sambuc	MergedLoadStoreMotion.cpp \
34f4a2713aSLionel Sambuc	PartiallyInlineLibCalls.cpp \
35f4a2713aSLionel Sambuc	Reassociate.cpp \
36f4a2713aSLionel Sambuc	Reg2Mem.cpp \
37f4a2713aSLionel Sambuc	SCCP.cpp \
38f4a2713aSLionel Sambuc	SROA.cpp \
39f4a2713aSLionel Sambuc	SampleProfile.cpp \
40f4a2713aSLionel Sambuc	Scalar.cpp \
41f4a2713aSLionel Sambuc	ScalarReplAggregates.cpp \
42*0a6a1f1dSLionel Sambuc	Scalarizer.cpp \
43*0a6a1f1dSLionel Sambuc	SeparateConstOffsetFromGEP.cpp \
44f4a2713aSLionel Sambuc	SimplifyCFGPass.cpp \
45f4a2713aSLionel Sambuc	Sink.cpp \
46f4a2713aSLionel Sambuc	StructurizeCFG.cpp \
47f4a2713aSLionel Sambuc	TailRecursionElimination.cpp
48f4a2713aSLionel Sambuc
49f4a2713aSLionel Sambuc.if defined(HOSTLIB)
50f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
51f4a2713aSLionel Sambuc.else
52f4a2713aSLionel Sambuc.include <bsd.lib.mk>
53f4a2713aSLionel Sambuc.endif
54