Update the file headers across all of the LLVM projects in the monorepo
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

llvm-svn: 351636
GitOrigin-RevId: 2946cd701067404b99c39fb29dc9c74bd7193eb3
diff --git a/build/context.go b/build/context.go
index c1ed935..f0847a2 100644
--- a/build/context.go
+++ b/build/context.go
@@ -1,9 +1,8 @@
 //===- context.go - Build context utilities for llgo ----------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/cmd/cc-wrapper/main.go b/cmd/cc-wrapper/main.go
index 5a37522..b01ee63 100644
--- a/cmd/cc-wrapper/main.go
+++ b/cmd/cc-wrapper/main.go
@@ -1,9 +1,8 @@
 //===- main.go - Clang compiler wrapper for building libgo ----------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/cmd/cgo/zdefaultcc.go b/cmd/cgo/zdefaultcc.go
index 8db2769..87bdd46 100644
--- a/cmd/cgo/zdefaultcc.go
+++ b/cmd/cgo/zdefaultcc.go
@@ -1,9 +1,8 @@
 //===- zdefaultcc.go - default compiler locations -------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/cmd/gllgo/gllgo.go b/cmd/gllgo/gllgo.go
index 88a5be3..9147e39 100644
--- a/cmd/gllgo/gllgo.go
+++ b/cmd/gllgo/gllgo.go
@@ -1,9 +1,8 @@
 //===- gllgo.go - gccgo-like driver for llgo ------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/cmd/go/zdefaultcc.go.in b/cmd/go/zdefaultcc.go.in
index 2ca6c94..66d52d9 100644
--- a/cmd/go/zdefaultcc.go.in
+++ b/cmd/go/zdefaultcc.go.in
@@ -1,9 +1,8 @@
 //===- zdefaultcc.go - default compiler locations -------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/cmd/llgoi/llgoi.go b/cmd/llgoi/llgoi.go
index 4aa774d..39d9af6 100644
--- a/cmd/llgoi/llgoi.go
+++ b/cmd/llgoi/llgoi.go
@@ -1,9 +1,8 @@
 //===- llgoi.go - llgo-based Go REPL --------------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/debug/debug.go b/debug/debug.go
index bd07d0a..561360a 100644
--- a/debug/debug.go
+++ b/debug/debug.go
@@ -1,9 +1,8 @@
 //===- debug.go - debug info builder --------------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/driver/parser.go b/driver/parser.go
index 07600f4..94ae3fd 100644
--- a/driver/parser.go
+++ b/driver/parser.go
@@ -1,9 +1,8 @@
 //===- parser.go - parser wrapper -----------------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/annotations.go b/irgen/annotations.go
index 4976a62..5bda7a1 100644
--- a/irgen/annotations.go
+++ b/irgen/annotations.go
@@ -1,9 +1,8 @@
 //===- annotations.go - annotation processor ------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/attribute.go b/irgen/attribute.go
index 82f264e..e986e5e 100644
--- a/irgen/attribute.go
+++ b/irgen/attribute.go
@@ -1,9 +1,8 @@
 //===- attribute.go - attribute processor ---------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/builtins.go b/irgen/builtins.go
index 64d1c6d..7a33ef0 100644
--- a/irgen/builtins.go
+++ b/irgen/builtins.go
@@ -1,9 +1,8 @@
 //===- builtins.go - IR generation for builtins ---------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/cabi.go b/irgen/cabi.go
index 610f63d..02def37 100644
--- a/irgen/cabi.go
+++ b/irgen/cabi.go
@@ -1,9 +1,8 @@
 //===- cabi.go - C ABI abstraction layer ----------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/call.go b/irgen/call.go
index 9f29ac6..e3874c3 100644
--- a/irgen/call.go
+++ b/irgen/call.go
@@ -1,9 +1,8 @@
 //===- call.go - IR generation for calls ----------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/channels.go b/irgen/channels.go
index c5cc322..5a4e2d5 100644
--- a/irgen/channels.go
+++ b/irgen/channels.go
@@ -1,9 +1,8 @@
 //===- channels.go - IR generation for channels ---------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/closures.go b/irgen/closures.go
index bc21dd3..0895ac2 100644
--- a/irgen/closures.go
+++ b/irgen/closures.go
@@ -1,9 +1,8 @@
 //===- closures.go - IR generation for closures ---------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/compiler.go b/irgen/compiler.go
index acb922e..69934df 100644
--- a/irgen/compiler.go
+++ b/irgen/compiler.go
@@ -1,9 +1,8 @@
 //===- compiler.go - IR generator entry point -----------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/errors.go b/irgen/errors.go
index a4e6dc6..01be69b 100644
--- a/irgen/errors.go
+++ b/irgen/errors.go
@@ -1,9 +1,8 @@
 //===- errors.go - IR generation for run-time panics ----------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/indirect.go b/irgen/indirect.go
index d01df25..5007429 100644
--- a/irgen/indirect.go
+++ b/irgen/indirect.go
@@ -1,9 +1,8 @@
 //===- indirect.go - IR generation for thunks -----------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/interfaces.go b/irgen/interfaces.go
index fba95ba..6ebaa55 100644
--- a/irgen/interfaces.go
+++ b/irgen/interfaces.go
@@ -1,9 +1,8 @@
 //===- interfaces.go - IR generation for interfaces -----------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/maps.go b/irgen/maps.go
index 6e15396..f729b07 100644
--- a/irgen/maps.go
+++ b/irgen/maps.go
@@ -1,9 +1,8 @@
 //===- maps.go - IR generation for maps -----------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/predicates.go b/irgen/predicates.go
index 2ef1336..52e9e2c 100644
--- a/irgen/predicates.go
+++ b/irgen/predicates.go
@@ -1,9 +1,8 @@
 //===- predicates.go - type predicates ------------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/println.go b/irgen/println.go
index 2d4e42c..caeaff2 100644
--- a/irgen/println.go
+++ b/irgen/println.go
@@ -1,9 +1,8 @@
 //===- println.go - IR generation for print and println -------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/runtime.go b/irgen/runtime.go
index aa4b7d0..485a2d3 100644
--- a/irgen/runtime.go
+++ b/irgen/runtime.go
@@ -1,9 +1,8 @@
 //===- runtime.go - IR generation for runtime calls -----------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/slice.go b/irgen/slice.go
index 49cde63..f987155 100644
--- a/irgen/slice.go
+++ b/irgen/slice.go
@@ -1,9 +1,8 @@
 //===- slice.go - IR generation for slices --------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/ssa.go b/irgen/ssa.go
index f1c9d04..ed45e2c 100644
--- a/irgen/ssa.go
+++ b/irgen/ssa.go
@@ -1,9 +1,8 @@
 //===- ssa.go - IR generation from go/ssa ---------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/strings.go b/irgen/strings.go
index 5762485..6d8e299 100644
--- a/irgen/strings.go
+++ b/irgen/strings.go
@@ -1,9 +1,8 @@
 //===- strings.go - IR generation for string ops --------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/switches.go b/irgen/switches.go
index e4bf9a6..a2b46b7 100644
--- a/irgen/switches.go
+++ b/irgen/switches.go
@@ -1,9 +1,8 @@
 //===- switches.go - misc utils -------------------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/targets.go b/irgen/targets.go
index 2f4fccb..4460cef 100644
--- a/irgen/targets.go
+++ b/irgen/targets.go
@@ -1,9 +1,8 @@
 //===- targets.go - target data -------------------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/typemap.go b/irgen/typemap.go
index 7da752e..c2a5c7a 100644
--- a/irgen/typemap.go
+++ b/irgen/typemap.go
@@ -1,9 +1,8 @@
 //===- typemap.go - type and type descriptor mapping ----------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/types.go b/irgen/types.go
index acbbdfc..ed1aac2 100644
--- a/irgen/types.go
+++ b/irgen/types.go
@@ -1,9 +1,8 @@
 //===- types.go - convenience functions for types -------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/utils.go b/irgen/utils.go
index 37cecd7..2efdc84 100644
--- a/irgen/utils.go
+++ b/irgen/utils.go
@@ -1,9 +1,8 @@
 //===- utils.go - misc utils ----------------------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/value.go b/irgen/value.go
index e6bc589..8b70e01 100644
--- a/irgen/value.go
+++ b/irgen/value.go
@@ -1,9 +1,8 @@
 //===- value.go - govalue and operations ----------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //
diff --git a/irgen/version.go b/irgen/version.go
index c59eb6f..a3a1d68 100644
--- a/irgen/version.go
+++ b/irgen/version.go
@@ -1,9 +1,8 @@
 //===- version.go - version info ------------------------------------------===//
 //
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 //
 //===----------------------------------------------------------------------===//
 //