diff --git a/bolt/src/BinaryBasicBlock.cpp b/bolt/src/BinaryBasicBlock.cpp index e1e14d680f74..abcaef2cfd59 100644 --- a/bolt/src/BinaryBasicBlock.cpp +++ b/bolt/src/BinaryBasicBlock.cpp @@ -1,9 +1,8 @@ //===--- BinaryBasicBlock.cpp - Interface for assembly-level basic block --===// // -// 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/bolt/src/BinaryBasicBlock.h b/bolt/src/BinaryBasicBlock.h index 77ad9761ebe7..84577255910f 100644 --- a/bolt/src/BinaryBasicBlock.h +++ b/bolt/src/BinaryBasicBlock.h @@ -1,9 +1,8 @@ //===--- BinaryBasicBlock.h - Interface for assembly-level basic block ----===// // -// 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/bolt/src/BinaryContext.cpp b/bolt/src/BinaryContext.cpp index cf58989112d9..2a81ddf2ebf3 100644 --- a/bolt/src/BinaryContext.cpp +++ b/bolt/src/BinaryContext.cpp @@ -1,9 +1,8 @@ //===--- BinaryContext.cpp - Interface for machine-level context ---------===// // -// 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/bolt/src/BinaryContext.h b/bolt/src/BinaryContext.h index 2ef907b967fe..5eee8c116b6b 100644 --- a/bolt/src/BinaryContext.h +++ b/bolt/src/BinaryContext.h @@ -1,9 +1,8 @@ //===--- BinaryContext.h - Interface for machine-level context -----------===// // -// 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/bolt/src/BinaryData.cpp b/bolt/src/BinaryData.cpp index 5568fa686bc3..f23123c1494e 100644 --- a/bolt/src/BinaryData.cpp +++ b/bolt/src/BinaryData.cpp @@ -1,9 +1,8 @@ //===--- BinaryData.cpp - Representation of section data objects ----------===// // -// 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/bolt/src/BinaryData.h b/bolt/src/BinaryData.h index 327e487e9c8b..04f7cfb89895 100644 --- a/bolt/src/BinaryData.h +++ b/bolt/src/BinaryData.h @@ -1,9 +1,8 @@ //===--- BinaryData.h - Representation of section data objects -----------===// // -// 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/bolt/src/BinaryEmitter.cpp b/bolt/src/BinaryEmitter.cpp index 535334b58311..03a0d625190d 100644 --- a/bolt/src/BinaryEmitter.cpp +++ b/bolt/src/BinaryEmitter.cpp @@ -1,9 +1,8 @@ //===--- BinaryEmitter.cpp - collection of functions to emit code and 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/bolt/src/BinaryEmitter.h b/bolt/src/BinaryEmitter.h index 8c73c552cd3f..a6b7101cb90a 100644 --- a/bolt/src/BinaryEmitter.h +++ b/bolt/src/BinaryEmitter.h @@ -1,9 +1,8 @@ //===--- BinaryEmitter.h - collection of functions to emit code and 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/bolt/src/BinaryFunction.cpp b/bolt/src/BinaryFunction.cpp index 2cf5bc7d2f37..12b08139c188 100644 --- a/bolt/src/BinaryFunction.cpp +++ b/bolt/src/BinaryFunction.cpp @@ -1,9 +1,8 @@ //===--- BinaryFunction.cpp - Interface for machine-level function --------===// // -// 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/bolt/src/BinaryFunction.h b/bolt/src/BinaryFunction.h index e3edd4eeca63..3c56b044031c 100644 --- a/bolt/src/BinaryFunction.h +++ b/bolt/src/BinaryFunction.h @@ -1,9 +1,8 @@ //===--- BinaryFunction.h - Interface for machine-level function ----------===// // -// 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/bolt/src/BinaryFunctionProfile.cpp b/bolt/src/BinaryFunctionProfile.cpp index 145abbc96a46..e11d38092895 100644 --- a/bolt/src/BinaryFunctionProfile.cpp +++ b/bolt/src/BinaryFunctionProfile.cpp @@ -1,9 +1,8 @@ //===--- BinaryFunctionProfile.cpp --------===// // -// 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/bolt/src/BinaryLoop.h b/bolt/src/BinaryLoop.h index 4406f073abd1..a09d75ed8fda 100644 --- a/bolt/src/BinaryLoop.h +++ b/bolt/src/BinaryLoop.h @@ -1,9 +1,8 @@ //===--- BinaryLoop.h - Interface for machine-level loop ------------------===// // -// 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/bolt/src/BinaryPassManager.cpp b/bolt/src/BinaryPassManager.cpp index cdf849efc4a5..237949e9786b 100644 --- a/bolt/src/BinaryPassManager.cpp +++ b/bolt/src/BinaryPassManager.cpp @@ -1,9 +1,8 @@ //===--- BinaryPassManager.cpp - Binary-level analysis/optimization passes ===// // -// 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/bolt/src/BinaryPassManager.h b/bolt/src/BinaryPassManager.h index 2a4632c46c59..240c29a782df 100644 --- a/bolt/src/BinaryPassManager.h +++ b/bolt/src/BinaryPassManager.h @@ -1,9 +1,8 @@ //===--- BinaryPassManager.h - Binary-level analysis/optimization passes --===// // -// 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/bolt/src/BinarySection.cpp b/bolt/src/BinarySection.cpp index bf2dad45456b..bff74ee52b6e 100644 --- a/bolt/src/BinarySection.cpp +++ b/bolt/src/BinarySection.cpp @@ -1,9 +1,8 @@ //===--- BinarySection.cpp - Interface for object file section -----------===// // -// 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/bolt/src/BinarySection.h b/bolt/src/BinarySection.h index 1789cf0d7b27..c77f5333a7d9 100644 --- a/bolt/src/BinarySection.h +++ b/bolt/src/BinarySection.h @@ -1,9 +1,8 @@ //===--- BinarySection.h - Interface for object file section --------------===// // -// 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/bolt/src/BoltAddressTranslation.cpp b/bolt/src/BoltAddressTranslation.cpp index 6b11cdb4d19d..214f364a11a0 100644 --- a/bolt/src/BoltAddressTranslation.cpp +++ b/bolt/src/BoltAddressTranslation.cpp @@ -1,9 +1,8 @@ //===--- BoltAddressTranslation.cpp ---------------------------------------===// // -// 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/bolt/src/BoltAddressTranslation.h b/bolt/src/BoltAddressTranslation.h index 63ba790bd209..1fbe108ebf4a 100644 --- a/bolt/src/BoltAddressTranslation.h +++ b/bolt/src/BoltAddressTranslation.h @@ -1,9 +1,8 @@ //===--- BoltAddressTranslation.h -----------------------------------------===// // -// 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/bolt/src/BoltDiff.cpp b/bolt/src/BoltDiff.cpp index f663fc8fe989..4457c44ae580 100644 --- a/bolt/src/BoltDiff.cpp +++ b/bolt/src/BoltDiff.cpp @@ -1,9 +1,8 @@ //===--- BoltDiff.cpp -----------------------------------------------------===// // -// 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/bolt/src/CacheMetrics.cpp b/bolt/src/CacheMetrics.cpp index 2576c014b3a7..eb360eaebd5a 100644 --- a/bolt/src/CacheMetrics.cpp +++ b/bolt/src/CacheMetrics.cpp @@ -1,10 +1,13 @@ //===------ CacheMetrics.cpp - Calculate metrics for instruction cache ----===// // -// Functions to show metrics of cache lines -// +// 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 // //===----------------------------------------------------------------------===// // +// Functions to show metrics of cache lines +// //===----------------------------------------------------------------------===// #include "CacheMetrics.h" diff --git a/bolt/src/CacheMetrics.h b/bolt/src/CacheMetrics.h index b3550b0806ca..257a7c59190a 100644 --- a/bolt/src/CacheMetrics.h +++ b/bolt/src/CacheMetrics.h @@ -1,10 +1,13 @@ //===- CacheMetrics.h - Interface for instruction cache evaluation --===// // -// Functions to show metrics of cache lines -// +// 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 // //===----------------------------------------------------------------------===// // +// Functions to show metrics of cache lines +// //===----------------------------------------------------------------------===// #ifndef LLVM_TOOLS_LLVM_BOLT_CACHEMETRICS_H diff --git a/bolt/src/DWARFRewriter.cpp b/bolt/src/DWARFRewriter.cpp index dc68cb7534ef..77ba031b54c9 100644 --- a/bolt/src/DWARFRewriter.cpp +++ b/bolt/src/DWARFRewriter.cpp @@ -1,9 +1,8 @@ //===--- DWARFRewriter.cpp ------------------------------------------------===// // -// 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/bolt/src/DWARFRewriter.h b/bolt/src/DWARFRewriter.h index 0c2153e5623d..87da1fbb9ee0 100644 --- a/bolt/src/DWARFRewriter.h +++ b/bolt/src/DWARFRewriter.h @@ -1,9 +1,8 @@ //===--- DWARFRewriter.h --------------------------------------------------===// // -// 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/bolt/src/DataAggregator.cpp b/bolt/src/DataAggregator.cpp index 03cea4c4d4ac..1954958c7704 100644 --- a/bolt/src/DataAggregator.cpp +++ b/bolt/src/DataAggregator.cpp @@ -1,9 +1,8 @@ //===-- DataAggregator.cpp - Perf data aggregator ---------------*- C++ -*-===// // -// 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/bolt/src/DataAggregator.h b/bolt/src/DataAggregator.h index 9ecf5f577a03..2820e413ed65 100644 --- a/bolt/src/DataAggregator.h +++ b/bolt/src/DataAggregator.h @@ -1,9 +1,8 @@ //===-- DataAggregator.h - Perf data aggregator -----------------*- C++ -*-===// // -// 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/bolt/src/DataReader.cpp b/bolt/src/DataReader.cpp index 5401248f71be..3b8424ae13a4 100644 --- a/bolt/src/DataReader.cpp +++ b/bolt/src/DataReader.cpp @@ -1,9 +1,8 @@ //===-- DataReader.cpp - Perf data reader -----------------------*- C++ -*-===// // -// 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/bolt/src/DataReader.h b/bolt/src/DataReader.h index 6807e9990b53..cb56b6f87609 100644 --- a/bolt/src/DataReader.h +++ b/bolt/src/DataReader.h @@ -1,9 +1,8 @@ //===-- Reader/DataReader.h - Perf data reader ------------------*- C++ -*-===// // -// 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/bolt/src/DebugData.cpp b/bolt/src/DebugData.cpp index bc59b1b40c61..1f783a544be6 100644 --- a/bolt/src/DebugData.cpp +++ b/bolt/src/DebugData.cpp @@ -1,9 +1,8 @@ //===- DebugData.cpp - Representation and writing of debugging information. ==// // -// 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/bolt/src/DebugData.h b/bolt/src/DebugData.h index d0f3db6c44c8..60365fb1cac9 100644 --- a/bolt/src/DebugData.h +++ b/bolt/src/DebugData.h @@ -1,9 +1,8 @@ //===-- DebugData.h - Representation and writing of debugging information. -==// // -// 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/bolt/src/DynoStats.cpp b/bolt/src/DynoStats.cpp index d14a81b28234..dd4b63c5d88c 100644 --- a/bolt/src/DynoStats.cpp +++ b/bolt/src/DynoStats.cpp @@ -1,9 +1,8 @@ //===--- DynoStats.cpp ----------------------------------------------------===// // -// 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/bolt/src/DynoStats.h b/bolt/src/DynoStats.h index d9e5414c642e..3f1fb4dae048 100644 --- a/bolt/src/DynoStats.h +++ b/bolt/src/DynoStats.h @@ -1,9 +1,8 @@ //===--- DynoStats.h ------------------------------------------------------===// // -// 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/bolt/src/Exceptions.cpp b/bolt/src/Exceptions.cpp index 54d5f43cda40..f15c56818207 100644 --- a/bolt/src/Exceptions.cpp +++ b/bolt/src/Exceptions.cpp @@ -1,9 +1,8 @@ //===-- Exceptions.cpp - Helpers for processing C++ exceptions ------------===// // -// 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/bolt/src/Exceptions.h b/bolt/src/Exceptions.h index dcd07ec6d8cc..2879c6fda9bd 100644 --- a/bolt/src/Exceptions.h +++ b/bolt/src/Exceptions.h @@ -1,9 +1,8 @@ //===-- Exceptions.h - Helpers for processing C++ exceptions --------------===// // -// 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/bolt/src/ExecutableFileMemoryManager.cpp b/bolt/src/ExecutableFileMemoryManager.cpp index d08be20619c1..9eaa48d7234c 100644 --- a/bolt/src/ExecutableFileMemoryManager.cpp +++ b/bolt/src/ExecutableFileMemoryManager.cpp @@ -1,9 +1,8 @@ //===--- ExecutableFileMemoryManager.cpp ----------------------------------===// // -// 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/bolt/src/ExecutableFileMemoryManager.h b/bolt/src/ExecutableFileMemoryManager.h index f23be1332124..b4908518cd6c 100644 --- a/bolt/src/ExecutableFileMemoryManager.h +++ b/bolt/src/ExecutableFileMemoryManager.h @@ -1,9 +1,8 @@ //===--- ExecutableFileMemoryManager.h ------------------------------------===// // -// 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/bolt/src/Heatmap.cpp b/bolt/src/Heatmap.cpp index 026a505c978f..cd8154b966d7 100644 --- a/bolt/src/Heatmap.cpp +++ b/bolt/src/Heatmap.cpp @@ -1,9 +1,8 @@ //===-- Heatmap.cpp ---------------------------------------------*- C++ -*-===// // -// 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/bolt/src/Heatmap.h b/bolt/src/Heatmap.h index 3cc3205f4bac..5e30ca5c9e2f 100644 --- a/bolt/src/Heatmap.h +++ b/bolt/src/Heatmap.h @@ -1,9 +1,8 @@ -//===-- Heatmap.cpp ---------------------------------------------*- C++ -*-===// +//===-- Heatmap.h -----------------------------------------------*- C++ -*-===// // -// 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/bolt/src/JumpTable.cpp b/bolt/src/JumpTable.cpp index ac67ccff9fc2..28716b396158 100644 --- a/bolt/src/JumpTable.cpp +++ b/bolt/src/JumpTable.cpp @@ -1,9 +1,8 @@ //===--- JumpTable.h - Representation of a jump table ---------------------===// // -// 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/bolt/src/JumpTable.h b/bolt/src/JumpTable.h index c8a4e38dff2e..dabea4fcb431 100644 --- a/bolt/src/JumpTable.h +++ b/bolt/src/JumpTable.h @@ -1,9 +1,8 @@ //===--- JumpTable.h - Representation of a jump table ---------------------===// // -// 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/bolt/src/MCPlus.h b/bolt/src/MCPlus.h index 08b70c8eeaef..532140f101c0 100644 --- a/bolt/src/MCPlus.h +++ b/bolt/src/MCPlus.h @@ -1,9 +1,8 @@ //===--- MCPlus.h - helpers for MCPlus-level instructions -----------------===// // -// 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/bolt/src/MCPlusBuilder.cpp b/bolt/src/MCPlusBuilder.cpp index f0d49f8ded77..922b2a93521d 100644 --- a/bolt/src/MCPlusBuilder.cpp +++ b/bolt/src/MCPlusBuilder.cpp @@ -1,9 +1,8 @@ //===- MCPlusBuilder.cpp - main interface for MCPlus-level instructions ---===// // -// 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/bolt/src/MCPlusBuilder.h b/bolt/src/MCPlusBuilder.h index 94a8976f4185..b9c895f96dcb 100644 --- a/bolt/src/MCPlusBuilder.h +++ b/bolt/src/MCPlusBuilder.h @@ -1,9 +1,8 @@ //===--- MCPlusBuilder.h - main interface for MCPlus-level instructions ---===// // -// 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/bolt/src/MachORewriteInstance.cpp b/bolt/src/MachORewriteInstance.cpp index 27d25830721c..0df81efe7ef0 100644 --- a/bolt/src/MachORewriteInstance.cpp +++ b/bolt/src/MachORewriteInstance.cpp @@ -1,9 +1,8 @@ //===--- MachORewriteInstance.cpp - Instance of a rewriting process. ------===// // -// 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/bolt/src/MachORewriteInstance.h b/bolt/src/MachORewriteInstance.h index aeebcd4c040c..551ad895793d 100644 --- a/bolt/src/MachORewriteInstance.h +++ b/bolt/src/MachORewriteInstance.h @@ -1,9 +1,8 @@ //===--- MachORewriteInstance.h - Instance of a rewriting process. --------===// // -// 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/bolt/src/NameResolver.h b/bolt/src/NameResolver.h index cbc91a0ee589..f2e532e3a9de 100644 --- a/bolt/src/NameResolver.h +++ b/bolt/src/NameResolver.h @@ -1,9 +1,8 @@ //===--- NameResolver.h - Helper class for names deduplication ------------===// // -// 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/bolt/src/NameShortener.h b/bolt/src/NameShortener.h index 64ee4008de9d..fb59f697ae54 100644 --- a/bolt/src/NameShortener.h +++ b/bolt/src/NameShortener.h @@ -1,9 +1,8 @@ //===--- NameShortener.h - Helper class for shortening names --------------===// // -// 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/bolt/src/ParallelUtilities.cpp b/bolt/src/ParallelUtilities.cpp index 0c9930267d71..8fd5332840ea 100644 --- a/bolt/src/ParallelUtilities.cpp +++ b/bolt/src/ParallelUtilities.cpp @@ -1,9 +1,8 @@ //===--- ParallelUtilities.cpp -------------------------------------------===// // -// 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/bolt/src/ParallelUtilities.h b/bolt/src/ParallelUtilities.h index 34ab49c4b2f6..e28e1f9a4694 100644 --- a/bolt/src/ParallelUtilities.h +++ b/bolt/src/ParallelUtilities.h @@ -1,9 +1,8 @@ //===-- ParallelUtilities.h - ----------------------------------*- C++ -*-===// // -// 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 // //===----------------------------------------------------------------------===// // This class creates an interface that can be used to run parallel tasks that diff --git a/bolt/src/Passes/Aligner.cpp b/bolt/src/Passes/Aligner.cpp index af50ce7769dd..493eafb6c819 100644 --- a/bolt/src/Passes/Aligner.cpp +++ b/bolt/src/Passes/Aligner.cpp @@ -1,9 +1,8 @@ //===--- Aligner.cpp ------------------------------------------------------===// // -// 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/bolt/src/Passes/Aligner.h b/bolt/src/Passes/Aligner.h index 705ef45ee98a..4a2acbebbbc0 100644 --- a/bolt/src/Passes/Aligner.h +++ b/bolt/src/Passes/Aligner.h @@ -1,9 +1,8 @@ //===--------- Passes/Aligner.h -------------------------------------------===// // -// 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/bolt/src/Passes/AllocCombiner.cpp b/bolt/src/Passes/AllocCombiner.cpp index c654fc920e3c..7c0beca4175f 100644 --- a/bolt/src/Passes/AllocCombiner.cpp +++ b/bolt/src/Passes/AllocCombiner.cpp @@ -1,3 +1,13 @@ +//===--- Passes/AllocCombiner.cpp -----------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// +// +//===----------------------------------------------------------------------===// + #include "AllocCombiner.h" #define DEBUG_TYPE "alloccombiner" diff --git a/bolt/src/Passes/AllocCombiner.h b/bolt/src/Passes/AllocCombiner.h index cdfbf48c8c0d..efa097d6cfb2 100644 --- a/bolt/src/Passes/AllocCombiner.h +++ b/bolt/src/Passes/AllocCombiner.h @@ -1,9 +1,8 @@ //===--- Passes/AllocCombiner.h -------------------------------------------===// // -// 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/bolt/src/Passes/BinaryFunctionCallGraph.cpp b/bolt/src/Passes/BinaryFunctionCallGraph.cpp index 48ce92f76326..d30918e59d70 100644 --- a/bolt/src/Passes/BinaryFunctionCallGraph.cpp +++ b/bolt/src/Passes/BinaryFunctionCallGraph.cpp @@ -1,9 +1,8 @@ //===--- Passes/BinaryFunctionCallGraph.cpp -------------------------------===// // -// 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/bolt/src/Passes/BinaryFunctionCallGraph.h b/bolt/src/Passes/BinaryFunctionCallGraph.h index b840493c9cc1..d47926b8aeb0 100644 --- a/bolt/src/Passes/BinaryFunctionCallGraph.h +++ b/bolt/src/Passes/BinaryFunctionCallGraph.h @@ -1,9 +1,8 @@ //===--- Passes/CallGraph.h -----------------------------------------------===// // -// 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/bolt/src/Passes/BinaryPasses.cpp b/bolt/src/Passes/BinaryPasses.cpp index 0b61cdbfb2e4..1d6b34410805 100644 --- a/bolt/src/Passes/BinaryPasses.cpp +++ b/bolt/src/Passes/BinaryPasses.cpp @@ -1,9 +1,8 @@ //===--- BinaryPasses.cpp - Binary-level analysis/optimization passes -----===// // -// 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/bolt/src/Passes/BinaryPasses.h b/bolt/src/Passes/BinaryPasses.h index b506a5a2d0e8..b5d609126495 100644 --- a/bolt/src/Passes/BinaryPasses.h +++ b/bolt/src/Passes/BinaryPasses.h @@ -1,9 +1,8 @@ //===--- BinaryPasses.h - Binary-level analysis/optimization passes -------===// // -// 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/bolt/src/Passes/CallGraph.cpp b/bolt/src/Passes/CallGraph.cpp index a6be92f9dc7d..2f0a3445c3e7 100644 --- a/bolt/src/Passes/CallGraph.cpp +++ b/bolt/src/Passes/CallGraph.cpp @@ -1,9 +1,8 @@ //===--- Passes/CallGraph.cpp ---------------------------------------------===// // -// 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/bolt/src/Passes/CallGraph.h b/bolt/src/Passes/CallGraph.h index ee11c2a999d1..634bf1d449bd 100644 --- a/bolt/src/Passes/CallGraph.h +++ b/bolt/src/Passes/CallGraph.h @@ -1,9 +1,8 @@ //===--- Passes/CallGraph.h -----------------------------------------------===// // -// 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/bolt/src/Passes/CallGraphWalker.cpp b/bolt/src/Passes/CallGraphWalker.cpp index d3ebd6b8166d..00b1cdd2642a 100644 --- a/bolt/src/Passes/CallGraphWalker.cpp +++ b/bolt/src/Passes/CallGraphWalker.cpp @@ -1,3 +1,13 @@ +//===--- CallGraphWalker.cpp ----------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// +// +//===----------------------------------------------------------------------===// + #include "CallGraphWalker.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Timer.h" diff --git a/bolt/src/Passes/CallGraphWalker.h b/bolt/src/Passes/CallGraphWalker.h index b1b550058cac..10226fa53484 100644 --- a/bolt/src/Passes/CallGraphWalker.h +++ b/bolt/src/Passes/CallGraphWalker.h @@ -1,9 +1,8 @@ //===--- Passes/CallGraphWalker.h -----------------------------------------===// // -// 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/bolt/src/Passes/DataflowAnalysis.cpp b/bolt/src/Passes/DataflowAnalysis.cpp index 05e2088d7603..b6adc7acf687 100644 --- a/bolt/src/Passes/DataflowAnalysis.cpp +++ b/bolt/src/Passes/DataflowAnalysis.cpp @@ -1,3 +1,13 @@ +//===--- Passes/DataflowAnalysis.cpp --------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// +// +//===----------------------------------------------------------------------===// + #include "DataflowAnalysis.h" #define DEBUG_TYPE "dataflow" diff --git a/bolt/src/Passes/DataflowAnalysis.h b/bolt/src/Passes/DataflowAnalysis.h index 4d5722de918e..de402af3905f 100644 --- a/bolt/src/Passes/DataflowAnalysis.h +++ b/bolt/src/Passes/DataflowAnalysis.h @@ -1,9 +1,8 @@ //===--- Passes/DataflowAnalysis.h ----------------------------------------===// // -// 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/bolt/src/Passes/DataflowInfoManager.cpp b/bolt/src/Passes/DataflowInfoManager.cpp index 3b833234d8ef..ed4ab586e5d8 100644 --- a/bolt/src/Passes/DataflowInfoManager.cpp +++ b/bolt/src/Passes/DataflowInfoManager.cpp @@ -1,9 +1,8 @@ //===--- Passes/DataflowInfoManager.cpp -----------------------------------===// // -// 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/bolt/src/Passes/DataflowInfoManager.h b/bolt/src/Passes/DataflowInfoManager.h index 32cb70f7c620..0b3a13498401 100644 --- a/bolt/src/Passes/DataflowInfoManager.h +++ b/bolt/src/Passes/DataflowInfoManager.h @@ -1,9 +1,8 @@ //===--- Passes/DataflowInfoManager.h -------------------------------------===// // -// 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/bolt/src/Passes/DominatorAnalysis.h b/bolt/src/Passes/DominatorAnalysis.h index da5915447b03..16ebe413d7f3 100644 --- a/bolt/src/Passes/DominatorAnalysis.h +++ b/bolt/src/Passes/DominatorAnalysis.h @@ -1,9 +1,8 @@ //===--- Passes/DominatorAnalysis.h ---------------------------------------===// // -// 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/bolt/src/Passes/ExtTSPReorderAlgorithm.cpp b/bolt/src/Passes/ExtTSPReorderAlgorithm.cpp index 894b2807c665..d31c47a85325 100644 --- a/bolt/src/Passes/ExtTSPReorderAlgorithm.cpp +++ b/bolt/src/Passes/ExtTSPReorderAlgorithm.cpp @@ -1,9 +1,8 @@ //===--- ExtTSPReorderAlgorithm.cpp - Order basic blocks ---------------===// // -// 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 // //===----------------------------------------------------------------------===// // ExtTSP - layout of basic blocks with i-cache optimization. diff --git a/bolt/src/Passes/FrameAnalysis.cpp b/bolt/src/Passes/FrameAnalysis.cpp index d20aa9db4b4c..9c2211c9b54f 100644 --- a/bolt/src/Passes/FrameAnalysis.cpp +++ b/bolt/src/Passes/FrameAnalysis.cpp @@ -1,9 +1,8 @@ //===--- Passes/FrameAnalysis.h -------------------------------------------===// // -// 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/bolt/src/Passes/FrameAnalysis.h b/bolt/src/Passes/FrameAnalysis.h index bb81b65dae8f..9fc868bd6b39 100644 --- a/bolt/src/Passes/FrameAnalysis.h +++ b/bolt/src/Passes/FrameAnalysis.h @@ -1,9 +1,8 @@ //===--- Passes/FrameAnalysis.h -------------------------------------------===// // -// 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/bolt/src/Passes/FrameOptimizer.cpp b/bolt/src/Passes/FrameOptimizer.cpp index 7b40b2cc78ef..cdbad597b156 100644 --- a/bolt/src/Passes/FrameOptimizer.cpp +++ b/bolt/src/Passes/FrameOptimizer.cpp @@ -1,9 +1,8 @@ //===--- Passes/FrameOptimizer.cpp ----------------------------------------===// // -// 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/bolt/src/Passes/FrameOptimizer.h b/bolt/src/Passes/FrameOptimizer.h index 4ca84e022d1d..9ebc95e63e21 100644 --- a/bolt/src/Passes/FrameOptimizer.h +++ b/bolt/src/Passes/FrameOptimizer.h @@ -1,9 +1,8 @@ //===--- Passes/FrameOptimizer.h ------------------------------------------===// // -// 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/bolt/src/Passes/HFSort.cpp b/bolt/src/Passes/HFSort.cpp index 0d4c3bf6240a..bc752b4f5af2 100644 --- a/bolt/src/Passes/HFSort.cpp +++ b/bolt/src/Passes/HFSort.cpp @@ -1,9 +1,8 @@ //===--- HFSort.cpp - Cluster functions by hotness ------------------------===// // -// 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/bolt/src/Passes/HFSort.h b/bolt/src/Passes/HFSort.h index a76c08871fdf..506f59bf76b7 100644 --- a/bolt/src/Passes/HFSort.h +++ b/bolt/src/Passes/HFSort.h @@ -1,9 +1,8 @@ //===--- HFSort.h - Cluster functions by hotness --------------------------===// // -// 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/bolt/src/Passes/HFSortPlus.cpp b/bolt/src/Passes/HFSortPlus.cpp index b3bcd9a6a7cc..b9ecfa0702c3 100644 --- a/bolt/src/Passes/HFSortPlus.cpp +++ b/bolt/src/Passes/HFSortPlus.cpp @@ -1,9 +1,8 @@ //===--- HFSortPlus.cpp - Order functions by hotness ----------------------===// // -// 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/bolt/src/Passes/IdenticalCodeFolding.cpp b/bolt/src/Passes/IdenticalCodeFolding.cpp index 94b27e862544..679da50f373b 100644 --- a/bolt/src/Passes/IdenticalCodeFolding.cpp +++ b/bolt/src/Passes/IdenticalCodeFolding.cpp @@ -1,9 +1,8 @@ //===--- IdenticalCodeFolding.cpp -----------------------------------------===// // -// 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/bolt/src/Passes/IdenticalCodeFolding.h b/bolt/src/Passes/IdenticalCodeFolding.h index a017e67c51d0..6ba493094695 100644 --- a/bolt/src/Passes/IdenticalCodeFolding.h +++ b/bolt/src/Passes/IdenticalCodeFolding.h @@ -1,9 +1,8 @@ //===--- IdenticalCodeFolding.h -------------------------------------------===// // -// 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/bolt/src/Passes/IndirectCallPromotion.cpp b/bolt/src/Passes/IndirectCallPromotion.cpp index ca3f641d5b9d..2b0c3f2ffe8a 100644 --- a/bolt/src/Passes/IndirectCallPromotion.cpp +++ b/bolt/src/Passes/IndirectCallPromotion.cpp @@ -1,9 +1,8 @@ //===--- BinaryPasses.cpp - Binary-level analysis/optimization passes -----===// // -// 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/bolt/src/Passes/IndirectCallPromotion.h b/bolt/src/Passes/IndirectCallPromotion.h index c662b99b51a1..a417202ed24f 100644 --- a/bolt/src/Passes/IndirectCallPromotion.h +++ b/bolt/src/Passes/IndirectCallPromotion.h @@ -1,9 +1,8 @@ //===--- BinaryPasses.h - Binary-level analysis/optimization passes -------===// // -// 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/bolt/src/Passes/Inliner.cpp b/bolt/src/Passes/Inliner.cpp index 36c93b0166b5..112dcba15087 100644 --- a/bolt/src/Passes/Inliner.cpp +++ b/bolt/src/Passes/Inliner.cpp @@ -1,9 +1,8 @@ //===--- Passes/Inliner.cpp - Inlining infra for BOLT ---------------------===// // -// 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/bolt/src/Passes/Inliner.h b/bolt/src/Passes/Inliner.h index 82289f16d6f9..fb19ba5bc60c 100644 --- a/bolt/src/Passes/Inliner.h +++ b/bolt/src/Passes/Inliner.h @@ -1,9 +1,8 @@ //===--- Passes/Inliner.h - Inlining infra for BOLT -----------------------===// // -// 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/bolt/src/Passes/Instrumentation.cpp b/bolt/src/Passes/Instrumentation.cpp index 22037412d482..7489ec41e1f4 100644 --- a/bolt/src/Passes/Instrumentation.cpp +++ b/bolt/src/Passes/Instrumentation.cpp @@ -1,9 +1,8 @@ //===--- Passes/Instrumentation.cpp ---------------------------------------===// // -// 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/bolt/src/Passes/Instrumentation.h b/bolt/src/Passes/Instrumentation.h index 262aaae82d87..12ea0766b2ed 100644 --- a/bolt/src/Passes/Instrumentation.h +++ b/bolt/src/Passes/Instrumentation.h @@ -1,9 +1,8 @@ //===--- Passes/Instrumentation.h -----------------------------------------===// // -// 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/bolt/src/Passes/InstrumentationSummary.h b/bolt/src/Passes/InstrumentationSummary.h index 0ecbb77e6cf6..42da4a59167a 100644 --- a/bolt/src/Passes/InstrumentationSummary.h +++ b/bolt/src/Passes/InstrumentationSummary.h @@ -1,9 +1,8 @@ //===--- InstrumentationSummary.h -------------------------------------===// // -// 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 // //===----------------------------------------------------------------------===// // InstrumentationSummary holds all the data generated during diff --git a/bolt/src/Passes/JTFootprintReduction.cpp b/bolt/src/Passes/JTFootprintReduction.cpp index a8b75eee7f84..ea29338d7ba0 100644 --- a/bolt/src/Passes/JTFootprintReduction.cpp +++ b/bolt/src/Passes/JTFootprintReduction.cpp @@ -1,9 +1,8 @@ //===--- JTFootprintReduction.cpp -----------------------------------------===// // -// 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/bolt/src/Passes/JTFootprintReduction.h b/bolt/src/Passes/JTFootprintReduction.h index e2b9f8335f1f..30b46562c2cf 100644 --- a/bolt/src/Passes/JTFootprintReduction.h +++ b/bolt/src/Passes/JTFootprintReduction.h @@ -1,9 +1,8 @@ //===--- JTFootprintReduction.h -------------------------------------------===// // -// 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/bolt/src/Passes/LivenessAnalysis.cpp b/bolt/src/Passes/LivenessAnalysis.cpp index db8156cc1ed4..8ef08f40d76b 100644 --- a/bolt/src/Passes/LivenessAnalysis.cpp +++ b/bolt/src/Passes/LivenessAnalysis.cpp @@ -1,9 +1,8 @@ //===--- Passes/LivenessAnalysis.cpp --------------------------------------===// // -// 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/bolt/src/Passes/LivenessAnalysis.h b/bolt/src/Passes/LivenessAnalysis.h index cfd59dcf6fb5..811c2c6e22e4 100644 --- a/bolt/src/Passes/LivenessAnalysis.h +++ b/bolt/src/Passes/LivenessAnalysis.h @@ -1,9 +1,8 @@ //===--- Passes/LivenessAnalysis.h ----------------------------------------===// // -// 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/bolt/src/Passes/LongJmp.cpp b/bolt/src/Passes/LongJmp.cpp index 036314260bf9..9aaee3edd1f4 100644 --- a/bolt/src/Passes/LongJmp.cpp +++ b/bolt/src/Passes/LongJmp.cpp @@ -1,9 +1,8 @@ //===--- Passes/LongJmp.cpp -----------------------------------------------===// // -// 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/bolt/src/Passes/LongJmp.h b/bolt/src/Passes/LongJmp.h index 1d317c89e55d..25b397962197 100644 --- a/bolt/src/Passes/LongJmp.h +++ b/bolt/src/Passes/LongJmp.h @@ -1,9 +1,8 @@ //===--- Passes/LongJmp.h -------------------------------------------------===// // -// 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/bolt/src/Passes/MCF.cpp b/bolt/src/Passes/MCF.cpp index d3022b8277fe..e642250c3fcb 100644 --- a/bolt/src/Passes/MCF.cpp +++ b/bolt/src/Passes/MCF.cpp @@ -1,9 +1,8 @@ //===--- Passes/MCF.cpp ---------------------------------------------------===// // -// 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/bolt/src/Passes/MCF.h b/bolt/src/Passes/MCF.h index 15d78cbbb101..69268ba2643c 100644 --- a/bolt/src/Passes/MCF.h +++ b/bolt/src/Passes/MCF.h @@ -1,9 +1,8 @@ //===--- Passes/MCF.h -----------------------------------------------------===// // -// 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/bolt/src/Passes/PLTCall.cpp b/bolt/src/Passes/PLTCall.cpp index decd5cf61f07..57fbaf9a8af7 100644 --- a/bolt/src/Passes/PLTCall.cpp +++ b/bolt/src/Passes/PLTCall.cpp @@ -1,9 +1,8 @@ //===--- Passes/PLTCall.h - PLT call optimization -------------------------===// // -// 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/bolt/src/Passes/PLTCall.h b/bolt/src/Passes/PLTCall.h index 8a27a4be1033..5cfaab13e805 100644 --- a/bolt/src/Passes/PLTCall.h +++ b/bolt/src/Passes/PLTCall.h @@ -1,9 +1,8 @@ //===--- Passes/PLTCall.h - PLT call optimization -------------------------===// // -// 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/bolt/src/Passes/PatchEntries.cpp b/bolt/src/Passes/PatchEntries.cpp index 0bdce98f9dfb..42e3a55f2b00 100644 --- a/bolt/src/Passes/PatchEntries.cpp +++ b/bolt/src/Passes/PatchEntries.cpp @@ -1,9 +1,8 @@ //===--- Passes/PatchEntries.cpp - pass for patching function entries -----===// // -// 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/bolt/src/Passes/PatchEntries.h b/bolt/src/Passes/PatchEntries.h index 5d2115672ac6..47708fcaca14 100644 --- a/bolt/src/Passes/PatchEntries.h +++ b/bolt/src/Passes/PatchEntries.h @@ -1,9 +1,8 @@ //===--- Passes/PatchEntries.h - pass for patching function entries -------===// // -// 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/bolt/src/Passes/PettisAndHansen.cpp b/bolt/src/Passes/PettisAndHansen.cpp index 98cb2e7047f1..2640869d599c 100644 --- a/bolt/src/Passes/PettisAndHansen.cpp +++ b/bolt/src/Passes/PettisAndHansen.cpp @@ -1,3 +1,13 @@ +//===--- Passes/PettisAndHansen.cpp ---------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// +// +//===----------------------------------------------------------------------===// + #include "HFSort.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Format.h" diff --git a/bolt/src/Passes/ReachingDefOrUse.h b/bolt/src/Passes/ReachingDefOrUse.h index ab509fba4acd..3d786e9c3a0e 100644 --- a/bolt/src/Passes/ReachingDefOrUse.h +++ b/bolt/src/Passes/ReachingDefOrUse.h @@ -1,9 +1,8 @@ //===--- Passes/ReachingDefOrUse.h ----------------------------------------===// // -// 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/bolt/src/Passes/ReachingInsns.h b/bolt/src/Passes/ReachingInsns.h index be488df4d454..6d36b0cb9643 100644 --- a/bolt/src/Passes/ReachingInsns.h +++ b/bolt/src/Passes/ReachingInsns.h @@ -1,9 +1,8 @@ //===--- Passes/ReachingInsns.h -------------------------------------------===// // -// 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/bolt/src/Passes/RegAnalysis.cpp b/bolt/src/Passes/RegAnalysis.cpp index 5a52fae8a2ee..eecde2dc67f5 100644 --- a/bolt/src/Passes/RegAnalysis.cpp +++ b/bolt/src/Passes/RegAnalysis.cpp @@ -1,3 +1,13 @@ +//===--- RegAnalysis.cpp --------------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// +// +//===----------------------------------------------------------------------===// + #include "RegAnalysis.h" #include "CallGraphWalker.h" #include "llvm/Support/CommandLine.h" diff --git a/bolt/src/Passes/RegAnalysis.h b/bolt/src/Passes/RegAnalysis.h index a6416edcfe5c..8a64de75f23d 100644 --- a/bolt/src/Passes/RegAnalysis.h +++ b/bolt/src/Passes/RegAnalysis.h @@ -1,9 +1,8 @@ //===--- Passes/RegAnalysis.h ---------------------------------------------===// // -// 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/bolt/src/Passes/RegReAssign.cpp b/bolt/src/Passes/RegReAssign.cpp index bd8ed74390a9..9615aa925dab 100644 --- a/bolt/src/Passes/RegReAssign.cpp +++ b/bolt/src/Passes/RegReAssign.cpp @@ -1,9 +1,8 @@ //===--- Passes/RegReAssign.cpp -------------------------------------------===// // -// 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/bolt/src/Passes/RegReAssign.h b/bolt/src/Passes/RegReAssign.h index 35da0ffc5bc7..28c0795f3b30 100644 --- a/bolt/src/Passes/RegReAssign.h +++ b/bolt/src/Passes/RegReAssign.h @@ -1,9 +1,8 @@ //===--- Passes/RegReAssign.h ----------------------------------------------===// // -// 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/bolt/src/Passes/ReorderAlgorithm.cpp b/bolt/src/Passes/ReorderAlgorithm.cpp index 91b91c3d12ef..aa286efecec1 100644 --- a/bolt/src/Passes/ReorderAlgorithm.cpp +++ b/bolt/src/Passes/ReorderAlgorithm.cpp @@ -1,9 +1,8 @@ //===--- Passes/ReorderAlgorithm.cpp - Basic block reorderng algorithms ---===// // -// 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/bolt/src/Passes/ReorderAlgorithm.h b/bolt/src/Passes/ReorderAlgorithm.h index b41d5b050389..a8b73c8c2edc 100644 --- a/bolt/src/Passes/ReorderAlgorithm.h +++ b/bolt/src/Passes/ReorderAlgorithm.h @@ -1,9 +1,8 @@ // Passes/ReorderAlgorithm.h - Interface for basic block reorderng algorithms // // -// 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/bolt/src/Passes/ReorderData.cpp b/bolt/src/Passes/ReorderData.cpp index f1c599d063f5..7eda5dd2df95 100644 --- a/bolt/src/Passes/ReorderData.cpp +++ b/bolt/src/Passes/ReorderData.cpp @@ -1,9 +1,8 @@ //===--- ReorderSection.cpp - Profile based reordering of section 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/bolt/src/Passes/ReorderData.h b/bolt/src/Passes/ReorderData.h index 137ad336e864..69d1d2ef388d 100644 --- a/bolt/src/Passes/ReorderData.h +++ b/bolt/src/Passes/ReorderData.h @@ -1,9 +1,8 @@ //===--- ReorderSection.h - Profile based reordering of section 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/bolt/src/Passes/ReorderFunctions.cpp b/bolt/src/Passes/ReorderFunctions.cpp index 818e545d2e50..aa279fe443aa 100644 --- a/bolt/src/Passes/ReorderFunctions.cpp +++ b/bolt/src/Passes/ReorderFunctions.cpp @@ -1,9 +1,8 @@ //===--- ReorderFunctions.cpp - Function reordering pass ------------ -----===// // -// 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/bolt/src/Passes/ReorderFunctions.h b/bolt/src/Passes/ReorderFunctions.h index 57edd278a79e..6a286db06fd0 100644 --- a/bolt/src/Passes/ReorderFunctions.h +++ b/bolt/src/Passes/ReorderFunctions.h @@ -1,9 +1,8 @@ //===--- ReorderFunctions.h - Function reordering pass --------------------===// // -// 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/bolt/src/Passes/ReorderUtils.h b/bolt/src/Passes/ReorderUtils.h index 1e9681671b06..bfccd981e514 100644 --- a/bolt/src/Passes/ReorderUtils.h +++ b/bolt/src/Passes/ReorderUtils.h @@ -1,9 +1,8 @@ // Passes/ReorderUtils.h - Helper methods for function and block reordering // // -// 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/bolt/src/Passes/RetpolineInsertion.cpp b/bolt/src/Passes/RetpolineInsertion.cpp index df2e5e6f9d62..696012eb6b35 100644 --- a/bolt/src/Passes/RetpolineInsertion.cpp +++ b/bolt/src/Passes/RetpolineInsertion.cpp @@ -1,9 +1,8 @@ //===--- Passes/RetpolineInsertion.cpp-------------------------------------===// // -// 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/bolt/src/Passes/RetpolineInsertion.h b/bolt/src/Passes/RetpolineInsertion.h index f48a9c2a69e3..04359ccc0829 100644 --- a/bolt/src/Passes/RetpolineInsertion.h +++ b/bolt/src/Passes/RetpolineInsertion.h @@ -1,9 +1,8 @@ //===--- Passes/RetpolineInsertion.h ---------------------------------------===// // -// 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/bolt/src/Passes/ShrinkWrapping.cpp b/bolt/src/Passes/ShrinkWrapping.cpp index 5c7690e3a1bc..1183c8e5bf07 100644 --- a/bolt/src/Passes/ShrinkWrapping.cpp +++ b/bolt/src/Passes/ShrinkWrapping.cpp @@ -1,9 +1,8 @@ //===--- Passes/ShrinkWrapping.cpp ----------------------------------------===// // -// 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/bolt/src/Passes/ShrinkWrapping.h b/bolt/src/Passes/ShrinkWrapping.h index 698a436e0ee4..918284387d68 100644 --- a/bolt/src/Passes/ShrinkWrapping.h +++ b/bolt/src/Passes/ShrinkWrapping.h @@ -1,9 +1,8 @@ //===--- Passes/ShrinkWrapping.h ------------------------------------------===// // -// 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/bolt/src/Passes/SplitFunctions.cpp b/bolt/src/Passes/SplitFunctions.cpp index 61d3ed9be8f8..f593e1bdc1d6 100644 --- a/bolt/src/Passes/SplitFunctions.cpp +++ b/bolt/src/Passes/SplitFunctions.cpp @@ -1,9 +1,8 @@ //===--- SplitFunctions.cpp - pass for splitting function code ------------===// // -// 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/bolt/src/Passes/SplitFunctions.h b/bolt/src/Passes/SplitFunctions.h index bfd723036531..68858d05dc98 100644 --- a/bolt/src/Passes/SplitFunctions.h +++ b/bolt/src/Passes/SplitFunctions.h @@ -1,9 +1,8 @@ //===--- SplitFunctions.h - pass for splitting function code --------------===// // -// 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/bolt/src/Passes/StackAllocationAnalysis.cpp b/bolt/src/Passes/StackAllocationAnalysis.cpp index 87022f77afeb..296532afd482 100644 --- a/bolt/src/Passes/StackAllocationAnalysis.cpp +++ b/bolt/src/Passes/StackAllocationAnalysis.cpp @@ -1,9 +1,8 @@ //===--- Passes/StackAllocationAnalysis.cpp -------------------------------===// // -// 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/bolt/src/Passes/StackAllocationAnalysis.h b/bolt/src/Passes/StackAllocationAnalysis.h index 6b27a5182ac3..8ef0b645c98b 100644 --- a/bolt/src/Passes/StackAllocationAnalysis.h +++ b/bolt/src/Passes/StackAllocationAnalysis.h @@ -1,9 +1,8 @@ //===--- Passes/StackAllocationAnalysis.h ---------------------------------===// // -// 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/bolt/src/Passes/StackAvailableExpressions.cpp b/bolt/src/Passes/StackAvailableExpressions.cpp index c51b7c2819ef..0273a192f29f 100644 --- a/bolt/src/Passes/StackAvailableExpressions.cpp +++ b/bolt/src/Passes/StackAvailableExpressions.cpp @@ -1,9 +1,8 @@ //===--- Passes/StackAvailableExpressions.cpp -----------------------------===// // -// 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/bolt/src/Passes/StackAvailableExpressions.h b/bolt/src/Passes/StackAvailableExpressions.h index 9b18abaa6ab4..255cd4d45a4a 100644 --- a/bolt/src/Passes/StackAvailableExpressions.h +++ b/bolt/src/Passes/StackAvailableExpressions.h @@ -1,9 +1,8 @@ //===--- Passes/StackAvailableExpressions.h -------------------------------===// // -// 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/bolt/src/Passes/StackPointerTracking.cpp b/bolt/src/Passes/StackPointerTracking.cpp index 3dd7b0bbac87..5d118cb6377d 100644 --- a/bolt/src/Passes/StackPointerTracking.cpp +++ b/bolt/src/Passes/StackPointerTracking.cpp @@ -1,9 +1,8 @@ //===--- Passes/StackPointerTracking.cpp ----------------------------------===// // -// 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/bolt/src/Passes/StackPointerTracking.h b/bolt/src/Passes/StackPointerTracking.h index 431bee4b7627..0f5755d95a3b 100644 --- a/bolt/src/Passes/StackPointerTracking.h +++ b/bolt/src/Passes/StackPointerTracking.h @@ -1,9 +1,8 @@ //===--- Passes/StackPointerTracking.h ------------------------------------===// // -// 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/bolt/src/Passes/StackReachingUses.cpp b/bolt/src/Passes/StackReachingUses.cpp index 221232e72291..c1544cc65c1e 100644 --- a/bolt/src/Passes/StackReachingUses.cpp +++ b/bolt/src/Passes/StackReachingUses.cpp @@ -1,9 +1,8 @@ //===--- Passes/StackReachingUses.cpp -------------------------------------===// // -// 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/bolt/src/Passes/StackReachingUses.h b/bolt/src/Passes/StackReachingUses.h index 29acdca8fa60..b39a4d2ef46a 100644 --- a/bolt/src/Passes/StackReachingUses.h +++ b/bolt/src/Passes/StackReachingUses.h @@ -1,9 +1,8 @@ //===--- Passes/StackReachingUses.h ---------------------------------------===// // -// 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/bolt/src/Passes/StokeInfo.cpp b/bolt/src/Passes/StokeInfo.cpp index adea2633bee9..c8bc95ba6ac8 100644 --- a/bolt/src/Passes/StokeInfo.cpp +++ b/bolt/src/Passes/StokeInfo.cpp @@ -1,3 +1,13 @@ +//===--- Passes/StokeInfo.cpp ---------------------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// +// +//===----------------------------------------------------------------------===// + #include "StokeInfo.h" #include "llvm/Support/CommandLine.h" diff --git a/bolt/src/Passes/StokeInfo.h b/bolt/src/Passes/StokeInfo.h index 1a4d0117b00f..ef0e4494daeb 100644 --- a/bolt/src/Passes/StokeInfo.h +++ b/bolt/src/Passes/StokeInfo.h @@ -1,9 +1,8 @@ //===--- Passes/StokeInfo.h -------------------------------------------===// // -// 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 // //===----------------------------------------------------------------------===// // Pass to get information for functions for the Stoke Optimization diff --git a/bolt/src/Passes/ValidateInternalCalls.cpp b/bolt/src/Passes/ValidateInternalCalls.cpp index f506723acce6..75c528986b2e 100644 --- a/bolt/src/Passes/ValidateInternalCalls.cpp +++ b/bolt/src/Passes/ValidateInternalCalls.cpp @@ -1,9 +1,8 @@ //===--- Passes/ValidateInternalCalls.cpp ---------------------------------===// // -// 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/bolt/src/Passes/ValidateInternalCalls.h b/bolt/src/Passes/ValidateInternalCalls.h index a5e324b060af..cef17ec612bf 100644 --- a/bolt/src/Passes/ValidateInternalCalls.h +++ b/bolt/src/Passes/ValidateInternalCalls.h @@ -1,9 +1,8 @@ //===--- Passes/ValidateInternalCalls.h -----------------------------------===// // -// 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/bolt/src/Passes/VeneerElimination.cpp b/bolt/src/Passes/VeneerElimination.cpp index 0d0ec25c3f39..cc941e165a64 100644 --- a/bolt/src/Passes/VeneerElimination.cpp +++ b/bolt/src/Passes/VeneerElimination.cpp @@ -1,9 +1,8 @@ //===--- Passes/VeneerElimination.cpp--------------------------------------===// // -// 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/bolt/src/Passes/VeneerElimination.h b/bolt/src/Passes/VeneerElimination.h index 4b1770c36536..c29ddf717655 100644 --- a/bolt/src/Passes/VeneerElimination.h +++ b/bolt/src/Passes/VeneerElimination.h @@ -1,9 +1,8 @@ //===--- Passes/VeneerElimination.h ---------------------------------------===// // -// 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/bolt/src/ProfileReaderBase.cpp b/bolt/src/ProfileReaderBase.cpp index 267ff7cfea0e..037fa1c7f95f 100644 --- a/bolt/src/ProfileReaderBase.cpp +++ b/bolt/src/ProfileReaderBase.cpp @@ -1,9 +1,8 @@ //===-- ProfileReaderBase.cpp - Base class for profile readers --*- C++ -*-===// // -// 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/bolt/src/ProfileReaderBase.h b/bolt/src/ProfileReaderBase.h index 6b48331f0f4b..21dcfe7215b9 100644 --- a/bolt/src/ProfileReaderBase.h +++ b/bolt/src/ProfileReaderBase.h @@ -1,9 +1,8 @@ //===-- ProfileReaderBase.h - Base class for profile readers ----*- C++ -*-===// // -// 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/bolt/src/ProfileYAMLMapping.h b/bolt/src/ProfileYAMLMapping.h index 0fd3229b2a63..948f5700e459 100644 --- a/bolt/src/ProfileYAMLMapping.h +++ b/bolt/src/ProfileYAMLMapping.h @@ -1,9 +1,8 @@ //===-- ProfileYAMLMapping.h - mappings for BOLT profile --------*- C++ -*-===// // -// 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/bolt/src/Relocation.cpp b/bolt/src/Relocation.cpp index f7c79e0bbfb1..3da9db2099ba 100644 --- a/bolt/src/Relocation.cpp +++ b/bolt/src/Relocation.cpp @@ -1,9 +1,8 @@ //===--- Relocation.cpp - Interface for object file relocations ----------===// // -// 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/bolt/src/Relocation.h b/bolt/src/Relocation.h index bfb21632fb41..0d663932e4da 100644 --- a/bolt/src/Relocation.h +++ b/bolt/src/Relocation.h @@ -1,9 +1,8 @@ //===--- Relocation.h - Interface for object file relocations ------------===// // -// 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/bolt/src/RewriteInstance.cpp b/bolt/src/RewriteInstance.cpp index 86882e34f5b7..c9743a27e4cf 100644 --- a/bolt/src/RewriteInstance.cpp +++ b/bolt/src/RewriteInstance.cpp @@ -1,9 +1,8 @@ //===--- RewriteInstance.cpp - Interface for machine-level function -------===// // -// 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/bolt/src/RewriteInstance.h b/bolt/src/RewriteInstance.h index 3c5dd4f95d17..f8bd60d5ca89 100644 --- a/bolt/src/RewriteInstance.h +++ b/bolt/src/RewriteInstance.h @@ -1,9 +1,8 @@ //===--- RewriteInstance.h - Instance of a rewriting process. -------------===// // -// 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/bolt/src/RuntimeLibs/HugifyRuntimeLibrary.cpp b/bolt/src/RuntimeLibs/HugifyRuntimeLibrary.cpp index 67bbaea9b69d..e5e79f346c54 100644 --- a/bolt/src/RuntimeLibs/HugifyRuntimeLibrary.cpp +++ b/bolt/src/RuntimeLibs/HugifyRuntimeLibrary.cpp @@ -1,9 +1,8 @@ //===------HugifyRuntimeLibrary.cpp - The Hugify Runtime Library ----------===// // -// 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/bolt/src/RuntimeLibs/HugifyRuntimeLibrary.h b/bolt/src/RuntimeLibs/HugifyRuntimeLibrary.h index 4416bd2a849b..c24374ed925a 100644 --- a/bolt/src/RuntimeLibs/HugifyRuntimeLibrary.h +++ b/bolt/src/RuntimeLibs/HugifyRuntimeLibrary.h @@ -1,9 +1,8 @@ //===------- HugifyRuntimeLibrary.h - The Hugify Runtime Library ----------===// // -// 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/bolt/src/RuntimeLibs/InstrumentationRuntimeLibrary.cpp b/bolt/src/RuntimeLibs/InstrumentationRuntimeLibrary.cpp index 180943b03631..f5a22c4e7f7a 100644 --- a/bolt/src/RuntimeLibs/InstrumentationRuntimeLibrary.cpp +++ b/bolt/src/RuntimeLibs/InstrumentationRuntimeLibrary.cpp @@ -1,9 +1,8 @@ //= InstrumentationRuntimeLibrary.cpp - The Instrumentation Runtime Library =// // -// 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/bolt/src/RuntimeLibs/InstrumentationRuntimeLibrary.h b/bolt/src/RuntimeLibs/InstrumentationRuntimeLibrary.h index fc2a0f7ad75d..284a46eed2bb 100644 --- a/bolt/src/RuntimeLibs/InstrumentationRuntimeLibrary.h +++ b/bolt/src/RuntimeLibs/InstrumentationRuntimeLibrary.h @@ -1,9 +1,8 @@ //===--- InstrumentationRuntimeLibrary.h - The Instrument Runtime Library -===// // -// 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/bolt/src/RuntimeLibs/RuntimeLibrary.cpp b/bolt/src/RuntimeLibs/RuntimeLibrary.cpp index e772a4502260..21cc2abb4908 100644 --- a/bolt/src/RuntimeLibs/RuntimeLibrary.cpp +++ b/bolt/src/RuntimeLibs/RuntimeLibrary.cpp @@ -1,9 +1,8 @@ //===--- RuntimeLibrary.cpp - The Runtime Library -------------------------===// // -// 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/bolt/src/RuntimeLibs/RuntimeLibrary.h b/bolt/src/RuntimeLibs/RuntimeLibrary.h index 3e082dca6e0e..4451a3c6401b 100644 --- a/bolt/src/RuntimeLibs/RuntimeLibrary.h +++ b/bolt/src/RuntimeLibs/RuntimeLibrary.h @@ -1,9 +1,8 @@ //===------------- RuntimeLibrary.h - The Runtime Library -----------------===// // -// 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/bolt/src/Target/AArch64/AArch64MCPlusBuilder.cpp b/bolt/src/Target/AArch64/AArch64MCPlusBuilder.cpp index 4349d5eba8fe..04afcb8c2b6e 100644 --- a/bolt/src/Target/AArch64/AArch64MCPlusBuilder.cpp +++ b/bolt/src/Target/AArch64/AArch64MCPlusBuilder.cpp @@ -1,9 +1,8 @@ //===-- AArch64MCPlusBuilder.cpp - --------------------------*- C++ -*-===// // -// 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/bolt/src/Target/X86/X86MCPlusBuilder.cpp b/bolt/src/Target/X86/X86MCPlusBuilder.cpp index 4ed923c79dc9..b6bb6295938e 100644 --- a/bolt/src/Target/X86/X86MCPlusBuilder.cpp +++ b/bolt/src/Target/X86/X86MCPlusBuilder.cpp @@ -1,9 +1,8 @@ //===-- X86MCPlusBuilder.cpp ------------------------------------------===// // -// 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/bolt/src/Utils.cpp b/bolt/src/Utils.cpp index fc34237ed58b..ae8ddbd28706 100644 --- a/bolt/src/Utils.cpp +++ b/bolt/src/Utils.cpp @@ -1,9 +1,8 @@ //===--- Utils.cpp - Common helper functions ------------------------------===// // -// 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/bolt/src/Utils.h b/bolt/src/Utils.h index 36a7fdd6b101..d26557150a21 100644 --- a/bolt/src/Utils.h +++ b/bolt/src/Utils.h @@ -1,9 +1,8 @@ //===--- Utils.h - Common helper functions --------------------------------===// // -// 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/bolt/src/YAMLProfileReader.cpp b/bolt/src/YAMLProfileReader.cpp index 6ec565a7d8ab..896ecb18be15 100644 --- a/bolt/src/YAMLProfileReader.cpp +++ b/bolt/src/YAMLProfileReader.cpp @@ -1,9 +1,8 @@ //===-- YAMLProfileReader.cpp - BOLT YAML profile de-serializer -*- C++ -*-===// // -// 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/bolt/src/YAMLProfileReader.h b/bolt/src/YAMLProfileReader.h index d3bc9a7afec7..f828a4bc72f3 100644 --- a/bolt/src/YAMLProfileReader.h +++ b/bolt/src/YAMLProfileReader.h @@ -1,9 +1,8 @@ //===-- YAMLProfileReader.h - BOLT YAML profile deserializer ----*- C++ -*-===// // -// 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/bolt/src/YAMLProfileWriter.cpp b/bolt/src/YAMLProfileWriter.cpp index cbddb8f49f63..e5b8e225a552 100644 --- a/bolt/src/YAMLProfileWriter.cpp +++ b/bolt/src/YAMLProfileWriter.cpp @@ -1,9 +1,8 @@ //===- YAMLProfileWriter.cpp - serialize profiling data in YAML -*- C++ -*-===// // -// 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/bolt/src/YAMLProfileWriter.h b/bolt/src/YAMLProfileWriter.h index 31585dbdbf96..e7148a6dd9d2 100644 --- a/bolt/src/YAMLProfileWriter.h +++ b/bolt/src/YAMLProfileWriter.h @@ -1,9 +1,8 @@ //===- YAMLProfileWriter.cpp - serialize profiling data in YAML -*- C++ -*-===// // -// 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/bolt/src/llvm-bolt.cpp b/bolt/src/llvm-bolt.cpp index 2a230ee085ac..c5701e4d833b 100644 --- a/bolt/src/llvm-bolt.cpp +++ b/bolt/src/llvm-bolt.cpp @@ -1,9 +1,8 @@ //===-- llvm-bolt.cpp - Feedback-directed layout optimizer ----------------===// // -// 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/bolt/src/merge-fdata/merge-fdata.cpp b/bolt/src/merge-fdata/merge-fdata.cpp index d0854cb80833..3d12338f7c6b 100644 --- a/bolt/src/merge-fdata/merge-fdata.cpp +++ b/bolt/src/merge-fdata/merge-fdata.cpp @@ -1,9 +1,8 @@ //===-- merge-fdata.cpp - Tool for merging profile in fdata format --------===// // -// 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 // //===----------------------------------------------------------------------===// //