diff --git a/llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h b/llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h --- a/llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h +++ b/llvm/include/llvm/Analysis/InlineFeaturesAnalysis.h @@ -1,3 +1,11 @@ +//===- InlineFeaturesAnalysis.h - ML Policy Feature extraction -*- C++ -*-===// +// +// 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 +// +//===----------------------------------------------------------------------===// + #ifndef LLVM_INLINEFEATURESANALYSIS_H_ #define LLVM_INLINEFEATURESANALYSIS_H_ diff --git a/llvm/lib/Analysis/InlineAdvisor.cpp b/llvm/lib/Analysis/InlineAdvisor.cpp --- a/llvm/lib/Analysis/InlineAdvisor.cpp +++ b/llvm/lib/Analysis/InlineAdvisor.cpp @@ -1,9 +1,8 @@ //===- InlineAdvisor.cpp - analysis pass implementation -------------------===// // -// 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/llvm/lib/Analysis/InlineFeaturesAnalysis.cpp b/llvm/lib/Analysis/InlineFeaturesAnalysis.cpp --- a/llvm/lib/Analysis/InlineFeaturesAnalysis.cpp +++ b/llvm/lib/Analysis/InlineFeaturesAnalysis.cpp @@ -1,3 +1,16 @@ +//===- InlineFeaturesAnalysis.cpp - Feature extraction for ML Policies ----===// +// +// 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 file implements an analysis extracting function features, which may be +// used by ML-driven policies, for example. +// +//===----------------------------------------------------------------------===// + #include "llvm/Analysis/InlineFeaturesAnalysis.h" #include "llvm/IR/Instructions.h"