xref: /netbsd-src/external/apache2/llvm/lib/libLLVMScalarOpts/Makefile (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1#	$NetBSD: Makefile,v 1.1 2019/11/11 22:45:11 joerg Exp $
2
3LIB=	LLVMScalarOpts
4
5.include <bsd.init.mk>
6
7.PATH: ${LLVM_SRCDIR}/lib/Transforms/Scalar
8
9SRCS+=	ADCE.cpp \
10	AlignmentFromAssumptions.cpp \
11	BDCE.cpp \
12	CallSiteSplitting.cpp \
13	ConstantHoisting.cpp \
14	ConstantProp.cpp \
15	CorrelatedValuePropagation.cpp \
16	DCE.cpp \
17	DeadStoreElimination.cpp \
18	DivRemPairs.cpp \
19	EarlyCSE.cpp \
20	FlattenCFGPass.cpp \
21	Float2Int.cpp \
22	GuardWidening.cpp \
23	GVN.cpp \
24	GVNHoist.cpp \
25	GVNSink.cpp \
26	InductiveRangeCheckElimination.cpp \
27	IndVarSimplify.cpp \
28	InferAddressSpaces.cpp \
29	InstSimplifyPass.cpp \
30	IVUsersPrinter.cpp \
31	JumpThreading.cpp \
32	LICM.cpp \
33	LoopAccessAnalysisPrinter.cpp \
34	LoopDataPrefetch.cpp \
35	LoopDeletion.cpp \
36	LoopDistribute.cpp \
37	LoopFuse.cpp \
38	LoopIdiomRecognize.cpp \
39	LoopInstSimplify.cpp \
40	LoopInterchange.cpp \
41	LoopLoadElimination.cpp \
42	LoopPassManager.cpp \
43	LoopPredication.cpp \
44	LoopRerollPass.cpp \
45	LoopRotation.cpp \
46	LoopSimplifyCFG.cpp \
47	LoopSink.cpp \
48	LoopStrengthReduce.cpp \
49	LoopUnrollAndJamPass.cpp \
50	LoopUnrollPass.cpp \
51	LoopUnswitch.cpp \
52	LoopVersioningLICM.cpp \
53	LowerAtomic.cpp \
54	LowerConstantIntrinsics.cpp \
55	LowerExpectIntrinsic.cpp \
56	LowerGuardIntrinsic.cpp \
57	LowerWidenableCondition.cpp \
58	MakeGuardsExplicit.cpp \
59	MemCpyOptimizer.cpp \
60	MergedLoadStoreMotion.cpp \
61	MergeICmps.cpp \
62	NaryReassociate.cpp \
63	NewGVN.cpp \
64	PartiallyInlineLibCalls.cpp \
65	PlaceSafepoints.cpp \
66	Reassociate.cpp \
67	Reg2Mem.cpp \
68	RewriteStatepointsForGC.cpp \
69	Scalar.cpp \
70	Scalarizer.cpp \
71	SCCP.cpp \
72	SeparateConstOffsetFromGEP.cpp \
73	SimpleLoopUnswitch.cpp \
74	SimplifyCFGPass.cpp \
75	Sink.cpp \
76	SpeculateAroundPHIs.cpp \
77	SpeculativeExecution.cpp \
78	SROA.cpp \
79	StraightLineStrengthReduce.cpp \
80	StructurizeCFG.cpp \
81	TailRecursionElimination.cpp \
82	WarnMissedTransforms.cpp
83
84.if defined(HOSTLIB)
85.include <bsd.hostlib.mk>
86.else
87.include <bsd.lib.mk>
88.endif
89