1 # $NetBSD: Makefile,v 1.4 2023/06/03 08:52:53 lukem Exp $ 2 3 LIB= LLVMInstCombine 4 5 .include <bsd.init.mk> 6 7 .PATH: ${LLVM_SRCDIR}/lib/Transforms/InstCombine 8 9 SRCS+= InstCombineAddSub.cpp \ 10 InstCombineAndOrXor.cpp \ 11 InstCombineAtomicRMW.cpp \ 12 InstCombineCalls.cpp \ 13 InstCombineCasts.cpp \ 14 InstCombineCompares.cpp \ 15 InstCombineLoadStoreAlloca.cpp \ 16 InstCombineMulDivRem.cpp \ 17 InstCombineNegator.cpp \ 18 InstCombinePHI.cpp \ 19 InstCombineSelect.cpp \ 20 InstCombineShifts.cpp \ 21 InstCombineSimplifyDemanded.cpp \ 22 InstCombineVectorOps.cpp \ 23 InstructionCombining.cpp 24 25 .if defined(HOSTLIB) 26 .include <bsd.hostlib.mk> 27 .else 28 .include <bsd.lib.mk> 29 .endif 30 31 CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} 32