head	1.13;
access;
symbols
	perseant-exfatfs-base-20250801:1.13
	perseant-exfatfs-base-20240630:1.13
	perseant-exfatfs:1.13.0.6
	perseant-exfatfs-base:1.13
	netbsd-8-3-RELEASE:1.10
	netbsd-9-4-RELEASE:1.12
	netbsd-9-3-RELEASE:1.12
	cjep_sun2x:1.13.0.4
	cjep_sun2x-base:1.13
	cjep_staticlib_x-base1:1.13
	netbsd-9-2-RELEASE:1.12
	cjep_staticlib_x:1.13.0.2
	cjep_staticlib_x-base:1.13
	netbsd-9-1-RELEASE:1.12
	phil-wifi-20200421:1.13
	phil-wifi-20200411:1.13
	phil-wifi-20200406:1.13
	netbsd-8-2-RELEASE:1.10
	netbsd-9-0-RELEASE:1.12
	netbsd-9-0-RC2:1.12
	netbsd-9-0-RC1:1.12
	netbsd-9:1.12.0.2
	netbsd-9-base:1.12
	phil-wifi-20190609:1.12
	netbsd-8-1-RELEASE:1.10
	netbsd-8-1-RC1:1.10
	pgoyette-compat-merge-20190127:1.11.2.1
	pgoyette-compat-20190127:1.12
	pgoyette-compat-20190118:1.12
	pgoyette-compat-1226:1.12
	pgoyette-compat-1126:1.12
	pgoyette-compat-1020:1.12
	pgoyette-compat-0930:1.12
	pgoyette-compat-0906:1.12
	netbsd-7-2-RELEASE:1.7.2.1
	pgoyette-compat-0728:1.12
	netbsd-8-0-RELEASE:1.10
	phil-wifi:1.11.0.4
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.10
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.10
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.7.2.1
	pgoyette-compat:1.11.0.2
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.7.2.1
	matt-nb8-mediatek:1.10.0.10
	matt-nb8-mediatek-base:1.10
	perseant-stdc-iso10646:1.10.0.8
	perseant-stdc-iso10646-base:1.10
	netbsd-8:1.10.0.6
	netbsd-8-base:1.10
	prg-localcount2-base3:1.10
	prg-localcount2-base2:1.10
	prg-localcount2-base1:1.10
	prg-localcount2:1.10.0.4
	prg-localcount2-base:1.10
	pgoyette-localcount-20170426:1.10
	bouyer-socketcan-base1:1.10
	pgoyette-localcount-20170320:1.10
	netbsd-7-1:1.7.2.1.0.6
	netbsd-7-1-RELEASE:1.7.2.1
	netbsd-7-1-RC2:1.7.2.1
	netbsd-7-nhusb-base-20170116:1.7.2.1
	bouyer-socketcan:1.10.0.2
	bouyer-socketcan-base:1.10
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.7.2.1
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.7.2.1
	localcount-20160914:1.9
	netbsd-7-nhusb:1.7.2.1.0.4
	netbsd-7-nhusb-base:1.7.2.1
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.2
	pgoyette-localcount-base:1.9
	netbsd-7-0-1-RELEASE:1.7.2.1
	netbsd-7-0:1.7.2.1.0.2
	netbsd-7-0-RELEASE:1.7.2.1
	netbsd-7-0-RC3:1.7.2.1
	netbsd-7-0-RC2:1.7.2.1
	netbsd-7-0-RC1:1.7.2.1
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.7.0.2
	netbsd-7-base:1.7
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.2.4.1
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.6.0.6
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.6
	riastradh-drm2-base1:1.6
	riastradh-drm2:1.6.0.4
	riastradh-drm2-base:1.6
	netbsd-6-1:1.2.0.12
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	khorben-n900:1.6.0.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.5.0.4
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.3
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.2.0.10
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.3.0.2
	tls-maxphys-base:1.7
	matt-nb6-plus:1.2.0.8
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-6:1.2.0.6
	netbsd-6-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.4
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.2
	cherry-xenmp-base:1.2
	bouyer-quota2:1.1.0.2
	bouyer-quota2-base:1.1
	bouyer-quota2-nbase:1.1;
locks; strict;
comment	@# @;


1.13
date	2019.11.13.22.03.32;	author joerg;	state dead;
branches;
next	1.12;
commitid	VVWg38Zx9vNeTJKB;

1.12
date	2018.07.17.18.55.25;	author joerg;	state Exp;
branches;
next	1.11;
commitid	ZigGmMKrele9pwKA;

1.11
date	2017.08.01.20.07.37;	author joerg;	state Exp;
branches
	1.11.2.1
	1.11.4.1;
next	1.10;
commitid	Eal5CLsDsgNz3y1A;

1.10
date	2017.01.11.12.02.24;	author joerg;	state Exp;
branches;
next	1.9;
commitid	J5yUvIHsYWlHRxBz;

1.9
date	2016.02.27.21.47.30;	author joerg;	state Exp;
branches
	1.9.2.1;
next	1.8;
commitid	CPKx2lHByYm8mBWy;

1.8
date	2015.01.29.20.41.33;	author joerg;	state Exp;
branches;
next	1.7;
commitid	ADAyDANcT8UzDX7y;

1.7
date	2014.08.10.17.34.19;	author joerg;	state Exp;
branches
	1.7.2.1;
next	1.6;
commitid	LSY4UBCvKZWl9QLx;

1.6
date	2013.04.25.13.59.55;	author joerg;	state Exp;
branches;
next	1.5;

1.5
date	2013.02.04.15.00.31;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	2013.01.23.15.02.54;	author joerg;	state Exp;
branches;
next	1.3;

1.3
date	2012.04.04.10.42.00;	author joerg;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2011.03.18.23.32.01;	author joerg;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2011.02.06.01.13.44;	author joerg;	state Exp;
branches
	1.1.2.1;
next	;

1.11.2.1
date	2018.07.28.04.33.04;	author pgoyette;	state Exp;
branches;
next	;
commitid	1UP1xAIUxv1ZgRLA;

1.11.4.1
date	2019.06.10.21.45.04;	author christos;	state Exp;
branches;
next	1.11.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.11.4.2
date	2020.04.13.07.46.13;	author martin;	state dead;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.9.2.1
date	2017.03.20.06.52.26;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.7.2.1
date	2015.06.04.20.04.21;	author snj;	state Exp;
branches;
next	;
commitid	yRnjq9fueSo6n9oy;

1.3.2.1
date	2013.02.25.00.26.32;	author tls;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2013.06.23.06.28.21;	author tls;	state Exp;
branches;
next	1.3.2.3;
commitid	OnlO1cBgtQRcIHUw;

1.3.2.3
date	2014.08.19.23.47.17;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.2.4.1
date	2012.04.17.00.03.28;	author yamt;	state Exp;
branches;
next	1.2.4.2;

1.2.4.2
date	2014.05.22.16.13.21;	author yamt;	state Exp;
branches;
next	;
commitid	b9CSqJ1zFqr1hyBx;

1.1.2.1
date	2011.02.06.01.13.44;	author bouyer;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2011.03.06.15.07.39;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Remove old LLVM build system.
@
text
@#	$NetBSD: Makefile,v 1.12 2018/07/17 18:55:25 joerg Exp $

PROG_CXX=	bugpoint
NOMAN=		yes

.include <bsd.init.mk>

.PATH: ${LLVM_SRCDIR}/tools/bugpoint

SRCS=	BugDriver.cpp \
	CrashDebugger.cpp \
	ExecutionDriver.cpp \
	ExtractFunction.cpp \
	FindBugs.cpp \
	Miscompilation.cpp \
	OptimizerDriver.cpp \
	ToolRunner.cpp \
	bugpoint.cpp

LLVM_LIBS+= \
	TransformsAggressiveInstCombine \
	ObjCARC \
	ipo \
	IRReader \
	AsmParser \
	BitReader \
	BitWriter \
	AArch64CodeGen \
	AArch64TargetInfo \
	AArch64AsmParser \
	AArch64MCTargetDesc \
	AArch64AsmPrinter \
	AArch64Utils \
	ARMCodeGen \
	ARMTargetInfo \
	ARMMCTargetDesc \
	ARMAsmParser \
	ARMAsmPrinter \
	ARMUtils \
	MipsCodeGen \
	MipsTargetInfo \
	MipsAsmPrinter \
	MipsAsmParser \
	MipsMCTargetDesc \
	PowerPCCodeGen \
	PowerPCTargetInfo \
	PowerPCMCTargetDesc \
	PowerPCAsmParser \
	PowerPCAsmPrinter \
	SparcCodeGen \
	SparcTargetInfo \
	SparcMCTargetDesc \
	SparcAsmParser \
	SparcAsmPrinter \
	X86CodeGen \
	X86MCTargetDesc \
	X86TargetInfo \
	X86Utils \
	X86AsmParser \
	X86AsmPrinter \
	GlobalISel \
	SelectionDAG \
	AsmPrinter \
	DebugInfoCodeView \
	DebugInfoMSF \
	Passes \
	CodeGen \
	Vectorize \
	Target \
	InstCombine \
	Instrumentation \
	ScalarOpts \
	ProfileData \
	MCDisassembler \
	MCParser \
	MC \
	Analysis \
	Object \
	Linker \
	TransformsUtils \
	IR \
	Option \
	BinaryFormat \
	Support \
	Demangle

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

LDADD+=	-lz
.if !defined(HOSTPROG)
DPADD+=	${LIBZ}
.endif

.include <bsd.prog.mk>
@


1.12
log
@Update LLVM/Clang build system to r337282.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2017/08/01 20:07:37 joerg Exp $
@


1.11
log
@Update LLVM build glue for 5.0RC1.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2017/01/11 12:02:24 joerg Exp $
d21 1
d39 1
@


1.11.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2018/07/17 18:55:25 joerg Exp $
a20 1
	TransformsAggressiveInstCombine \
a37 1
	ARMUtils \
@


1.11.4.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11.4.1 2019/06/10 21:45:04 christos Exp $
@


1.11.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2018/07/17 18:55:25 joerg Exp $
a20 1
	TransformsAggressiveInstCombine \
a37 1
	ARMUtils \
@


1.10
log
@Update LLVM build glue for pre-4.0.0 r291444.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2016/02/27 21:47:30 joerg Exp $
a20 1
	CodeGen \
d22 1
d27 41
a69 1
	Linker \
d71 2
a72 2
	ipo \
	Object \
d75 3
a77 3
	ProfileData \
	Target \
	Vectorize \
a78 1
	Analysis \
d80 2
@


1.9
log
@Update build system for LLVM 3.8.0rc3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2015/01/29 20:41:33 joerg Exp $
a28 1
	MC \
d33 2
d41 2
a42 1
	Support
d46 5
@


1.9.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2017/01/11 12:02:24 joerg Exp $
d29 1
a33 2
	MCParser \
	MC \
d40 1
a40 2
	Support \
	Demangle
a43 5
LDADD+=	-lz
.if !defined(HOSTPROG)
DPADD+=	${LIBZ}
.endif

@


1.8
log
@Update build system glue for LLVM 3.6RC1. Notable changes:

- Old JIT is removed.
- Improvements to debug information handling.
- ARM: check for deprecated instructions and warn in the integrated
  assembler
- PPC: VSX support, va_arg support for struct/union types, -fPIC vs
  -fpic supported, faster atomics
- x86: improved vectorizer
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2014/08/10 17:34:19 joerg Exp $
d32 2
a35 1
	ipo \
a38 1
	ipa \
@


1.7
log
@Update build glue for LLVM/Clang 3.6svn r215315. Changes include various
performance improvements across all backends and a much improved PPC32
backend.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2013/04/25 13:59:55 joerg Exp $
d29 1
d32 1
@


1.7.2.1
log
@Update LLVM to 3.6.1, requested by joerg in ticket 824.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2015/01/29 20:41:33 joerg Exp $
a28 1
	MC \
a30 1
	ProfileData \
@


1.6
log
@Update LLVM/Clang snapshot to r180004. This brings in the last pieces of
C++11 support in Clang as well as initial SPARC64 support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2013/02/04 15:00:31 joerg Exp $
d21 1
@


1.5
log
@Update to LLVM/Clang snapshot r174288. This brings in the new AArch64
backend as well as an import bug fix for pointer compare optimisations.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2013/01/23 15:02:54 joerg Exp $
d22 1
@


1.4
log
@Update LLVM/Clang snapshot to r172366. Catch up with the move past 3.2
release.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2012/04/04 10:42:00 joerg Exp $
d21 1
@


1.3
log
@Update LLVM/Clang snapshot to r153935. This brings in the new inline
cost analysis.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $
d34 1
a34 1
	Core \
@


1.3.2.1
log
@resync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2012/04/04 10:42:00 joerg Exp $
a20 1
	ObjCARC \
d34 1
a34 1
	IR \
@


1.3.2.2
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
a21 1
	IRReader \
@


1.3.2.3
log
@Rebase to HEAD as of a few days ago.
@
text
@a20 1
	CodeGen \
@


1.2
log
@Update LLVM snapshot. This allows deriving the target from the binary
name, provides a proper CPP mode and fixes a number of compat issues
in the integrated assembler.

Build the toolchain compiler optimized and without assertions now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $
d30 1
@


1.2.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2011/03/18 23:32:01 joerg Exp $
a29 1
	Vectorize \
@


1.2.4.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2.4.1 2012/04/17 00:03:28 yamt Exp $
a20 2
	ObjCARC \
	IRReader \
d34 1
a34 1
	IR \
@


1.1
log
@Add LLVM and clang build system.  It is enabled by MKLLVM=yes.
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
@
text
@d1 1
a1 1
#	$NetBSD$
a27 1
	Analysis \
d31 1
@


1.1.2.1
log
@file Makefile was added on branch bouyer-quota2 on 2011-03-06 15:07:39 +0000
@
text
@d1 38
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 38
#	$NetBSD: Makefile,v 1.1 2011/02/06 01:13:44 joerg Exp $

PROG_CXX=	bugpoint
NOMAN=		yes

.include <bsd.init.mk>

.PATH: ${LLVM_SRCDIR}/tools/bugpoint

SRCS=	BugDriver.cpp \
	CrashDebugger.cpp \
	ExecutionDriver.cpp \
	ExtractFunction.cpp \
	FindBugs.cpp \
	Miscompilation.cpp \
	OptimizerDriver.cpp \
	ToolRunner.cpp \
	bugpoint.cpp

LLVM_LIBS+= \
	AsmParser \
	BitReader \
	BitWriter \
	InstCombine \
	Instrumentation \
	Linker \
	ScalarOpts \
	Analysis \
	Target \
	ipo \
	TransformsUtils \
	ipa \
	Core \
	Support

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

.include <bsd.prog.mk>
@


