head	1.2;
access;
symbols
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.8
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.6
	perseant-exfatfs-base:1.2
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.4
	netbsd-10-base:1.2
	cjep_sun2x-base1:1.2
	cjep_sun2x:1.2.0.2
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.1.0.4
	cjep_staticlib_x-base:1.1
	phil-wifi-20200421:1.1
	phil-wifi-20200411:1.1
	is-mlppp:1.1.0.2
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	phil-wifi-20191119:1.1;
locks; strict;
comment	@# @;


1.2
date	2021.05.30.01.56.55;	author joerg;	state Exp;
branches;
next	1.1;
commitid	3Zpdqzdbkf2q47VC;

1.1
date	2019.11.11.22.45.13;	author joerg;	state Exp;
branches
	1.1.4.1;
next	;
commitid	IMynySmLyNzibuKB;

1.1.4.1
date	2021.05.31.22.10.10;	author cjep;	state Exp;
branches;
next	;
commitid	eWz9SBW0XqKjJlVC;


desc
@@


1.2
log
@Update LLVM build system for 249b40b558955afe5ac2b549edcf2d7f859c8cc9

This enables the use of modules for a significant build performance gain
when building with clang as host compiler or when using HAVE_LLVM=yes.
Switch libc++ to using the copy from the mono-repo.
@
text
@#	$NetBSD: Makefile,v 1.1 2019/11/11 22:45:13 joerg Exp $

LIB=	LLVMX86CodeGen

.include <bsd.init.mk>

.PATH: ${LLVM_SRCDIR}/lib/Target/X86

SRCS+=	X86AsmPrinter.cpp \
	X86AvoidStoreForwardingBlocks.cpp \
	X86AvoidTrailingCall.cpp \
	X86CallFrameOptimization.cpp \
	X86CallingConv.cpp \
	X86CallLowering.cpp \
	X86CmovConversion.cpp \
	X86DiscriminateMemOps.cpp \
	X86DomainReassignment.cpp \
	X86EvexToVex.cpp\
	X86ExpandPseudo.cpp \
	X86FastISel.cpp \
	X86FastTileConfig.cpp \
	X86FixupBWInsts.cpp \
	X86FixupLEAs.cpp \
	X86FixupSetCC.cpp \
	X86FlagsCopyLowering.cpp \
	X86FloatingPoint.cpp \
	X86FrameLowering.cpp \
	X86IndirectBranchTracking.cpp \
	X86IndirectThunks.cpp \
	X86InsertPrefetch.cpp \
	X86InsertWait.cpp \
	X86InstCombineIntrinsic.cpp \
	X86InstrFMA3Info.cpp \
	X86InstrFoldTables.cpp \
	X86InstrInfo.cpp \
	X86InstructionSelector.cpp \
	X86InterleavedAccess.cpp \
	X86ISelDAGToDAG.cpp \
	X86ISelLowering.cpp \
	X86LegalizerInfo.cpp \
	X86LoadValueInjectionLoadHardening.cpp \
	X86LoadValueInjectionRetHardening.cpp \
	X86LowerAMXIntrinsics.cpp \
	X86LowerAMXType.cpp \
	X86LowerTileCopy.cpp \
	X86MachineFunctionInfo.cpp \
	X86MacroFusion.cpp \
	X86MCInstLower.cpp \
	X86OptimizeLEAs.cpp \
	X86PadShortFunction.cpp \
	X86PartialReduction.cpp \
	X86PreAMXConfig.cpp \
	X86PreTileConfig.cpp \
	X86RegisterBankInfo.cpp \
	X86RegisterInfo.cpp \
	X86SelectionDAGInfo.cpp \
	X86ShuffleDecodeConstantPool.cpp \
	X86SpeculativeExecutionSideEffectSuppression.cpp \
	X86SpeculativeLoadHardening.cpp \
	X86Subtarget.cpp \
	X86TargetMachine.cpp \
	X86TargetObjectFile.cpp \
	X86TargetTransformInfo.cpp \
	X86TileConfig.cpp \
	X86VZeroUpper.cpp \
	X86WinAllocaExpander.cpp \
	X86WinEHState.cpp

TABLEGEN_SRC=		X86.td
TABLEGEN_INCLUDES=	-I${LLVM_SRCDIR}/lib/Target/X86
TABLEGEN_OUTPUT= \
	X86GenAsmMatcher.inc|-gen-asm-matcher \
	X86GenAsmWriter.inc|-gen-asm-writer \
	X86GenAsmWriter1.inc|-gen-asm-writer^-asmwriternum=1 \
	X86GenCallingConv.inc|-gen-callingconv \
	X86GenDAGISel.inc|-gen-dag-isel \
	X86GenDisassemblerTables.inc|-gen-disassembler \
	X86GenEVEX2VEXTables.inc|-gen-x86-EVEX2VEX-tables \
	X86GenFastISel.inc|-gen-fast-isel \
	X86GenGlobalISel.inc|-gen-global-isel \
	X86GenInstrInfo.inc|-gen-instr-info \
	X86GenRegisterBank.inc|-gen-register-bank \
	X86GenRegisterInfo.inc|-gen-register-info \
	X86GenSubtargetInfo.inc|-gen-subtarget

.include "${.PARSEDIR}/../../tablegen.mk"

.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif
@


1.1
log
@Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2018/07/17 18:55:29 joerg Exp $
a15 1
	X86CondBrFolding.cpp \
d21 1
d29 1
d31 2
d41 5
d51 3
a55 1
	X86RetpolineThunks.cpp \
d58 1
d64 1
@


1.1.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2021/05/30 01:56:55 joerg Exp $
d16 1
a21 1
	X86FastTileConfig.cpp \
a28 1
	X86IndirectThunks.cpp \
a29 2
	X86InsertWait.cpp \
	X86InstCombineIntrinsic.cpp \
a37 5
	X86LoadValueInjectionLoadHardening.cpp \
	X86LoadValueInjectionRetHardening.cpp \
	X86LowerAMXIntrinsics.cpp \
	X86LowerAMXType.cpp \
	X86LowerTileCopy.cpp \
a42 3
	X86PartialReduction.cpp \
	X86PreAMXConfig.cpp \
	X86PreTileConfig.cpp \
d45 1
a47 1
	X86SpeculativeExecutionSideEffectSuppression.cpp \
a52 1
	X86TileConfig.cpp \
@


