2010-06-09 19:32:20 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2012-02-05 23:56:22 +00:00
|
|
|
|
2010-06-09 19:32:20 +00:00
|
|
|
LIB= llvmtransformutils
|
|
|
|
|
|
|
|
SRCDIR= lib/Transforms/Utils
|
2014-11-24 19:46:35 +00:00
|
|
|
SRCS= ASanStackFrameLayout.cpp \
|
|
|
|
AddDiscriminators.cpp \
|
|
|
|
BasicBlockUtils.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
BreakCriticalEdges.cpp \
|
|
|
|
BuildLibCalls.cpp \
|
2012-12-03 19:24:08 +00:00
|
|
|
BypassSlowDivision.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
CloneFunction.cpp \
|
|
|
|
CloneModule.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
CmpInstAnalysis.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
CodeExtractor.cpp \
|
2014-11-24 19:46:35 +00:00
|
|
|
CtorUtils.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
DemoteRegToStack.cpp \
|
2014-02-16 19:44:07 +00:00
|
|
|
FlattenCFG.cpp \
|
|
|
|
GlobalStatus.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
InlineFunction.cpp \
|
|
|
|
InstructionNamer.cpp \
|
2012-12-03 19:24:08 +00:00
|
|
|
IntegerDivision.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
LCSSA.cpp \
|
|
|
|
Local.cpp \
|
|
|
|
LoopSimplify.cpp \
|
|
|
|
LoopUnroll.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
LoopUnrollRuntime.cpp \
|
2015-05-30 15:39:49 +00:00
|
|
|
LoopUtils.cpp \
|
2015-08-12 18:31:11 +00:00
|
|
|
LoopVersioning.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
LowerInvoke.cpp \
|
|
|
|
LowerSwitch.cpp \
|
|
|
|
Mem2Reg.cpp \
|
2012-12-03 19:24:08 +00:00
|
|
|
MetaRenamer.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
ModuleUtils.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
PromoteMemoryToRegister.cpp \
|
|
|
|
SSAUpdater.cpp \
|
|
|
|
SimplifyCFG.cpp \
|
2011-10-22 14:08:43 +00:00
|
|
|
SimplifyIndVar.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
SimplifyInstructions.cpp \
|
2012-12-03 19:24:08 +00:00
|
|
|
SimplifyLibCalls.cpp \
|
2015-12-31 14:39:45 +00:00
|
|
|
SplitModule.cpp \
|
2015-01-26 18:48:27 +00:00
|
|
|
SymbolRewriter.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
UnifyFunctionExitNodes.cpp \
|
|
|
|
ValueMapper.cpp
|
2010-06-09 19:32:20 +00:00
|
|
|
|
2012-02-05 23:56:22 +00:00
|
|
|
.if ${MK_CLANG_EXTRAS} != "no"
|
2012-12-03 19:24:08 +00:00
|
|
|
SRCS+= Utils.cpp
|
2012-02-05 23:56:22 +00:00
|
|
|
.endif
|
|
|
|
|
2015-12-31 14:39:45 +00:00
|
|
|
TGHDRS= Attributes \
|
|
|
|
Intrinsics
|
2010-06-09 19:32:20 +00:00
|
|
|
|
|
|
|
.include "../clang.lib.mk"
|