xref: /openbsd-src/gnu/usr.bin/clang/libLLVMTransformUtils/Makefile (revision 9f11ffb7133c203312a01e4b986886bc88c7d74b)
1# $OpenBSD: Makefile,v 1.7 2019/01/27 16:59:42 patrick Exp $
2
3LIB=	LLVMTransformUtils
4NOPIC=
5NOPROFILE=
6
7CPPFLAGS+=	-I${LLVM_SRCS}/include/llvm/Transforms
8CPPFLAGS+=	-I${LLVM_SRCS}/include/llvm/Transforms/Utils
9
10.include <bsd.own.mk>
11SRCS=	ASanStackFrameLayout.cpp \
12	AddDiscriminators.cpp \
13	BasicBlockUtils.cpp \
14	BreakCriticalEdges.cpp \
15	BuildLibCalls.cpp \
16	BypassSlowDivision.cpp \
17	CallPromotionUtils.cpp \
18	CloneFunction.cpp \
19	CloneModule.cpp \
20	CodeExtractor.cpp \
21	CtorUtils.cpp \
22	DemoteRegToStack.cpp \
23	EntryExitInstrumenter.cpp \
24	EscapeEnumerator.cpp \
25	Evaluator.cpp \
26	FlattenCFG.cpp \
27	FunctionComparator.cpp \
28	FunctionImportUtils.cpp \
29	GlobalStatus.cpp \
30	ImportedFunctionsInliningStatistics.cpp \
31	InlineFunction.cpp \
32	InstructionNamer.cpp \
33	IntegerDivision.cpp \
34	LCSSA.cpp \
35	LibCallsShrinkWrap.cpp \
36	Local.cpp \
37	LoopRotationUtils.cpp \
38	LoopSimplify.cpp \
39	LoopUnroll.cpp \
40	LoopUnrollAndJam.cpp \
41	LoopUnrollPeel.cpp \
42	LoopUnrollRuntime.cpp \
43	LoopUtils.cpp \
44	LoopVersioning.cpp \
45	LowerInvoke.cpp \
46	LowerSwitch.cpp \
47	Mem2Reg.cpp \
48	MetaRenamer.cpp \
49	ModuleUtils.cpp \
50	NameAnonGlobals.cpp \
51	OrderedInstructions.cpp \
52	PredicateInfo.cpp \
53	PromoteMemoryToRegister.cpp \
54	SSAUpdater.cpp \
55	SanitizerStats.cpp \
56	SimplifyCFG.cpp \
57	SimplifyIndVar.cpp \
58	SimplifyLibCalls.cpp \
59	SplitModule.cpp \
60	SymbolRewriter.cpp \
61	UnifyFunctionExitNodes.cpp \
62	Utils.cpp \
63	VNCoercion.cpp \
64	ValueMapper.cpp
65
66.PATH:	${.CURDIR}/../../../llvm/lib/Transforms/Utils
67
68install:
69	@# Nothing here so far ...
70
71.include <bsd.lib.mk>
72