diff --git a/llvm/include/llvm/IR/ProfDataUtils.h b/llvm/include/llvm/IR/ProfDataUtils.h --- a/llvm/include/llvm/IR/ProfDataUtils.h +++ b/llvm/include/llvm/IR/ProfDataUtils.h @@ -1,3 +1,17 @@ +//===- llvm/IR/ProfDataUtils.h - Profiling Metadata Utilities ---*- 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 +// +//===----------------------------------------------------------------------===// +// +/// @file +/// This file contains the declarations for profiling metadata utility +/// functions. +// +//===----------------------------------------------------------------------===// + #ifndef LLVM_IR_PROFDATAUTILS_H #define LLVM_IR_PROFDATAUTILS_H diff --git a/llvm/lib/IR/ProfDataUtils.cpp b/llvm/lib/IR/ProfDataUtils.cpp --- a/llvm/lib/IR/ProfDataUtils.cpp +++ b/llvm/lib/IR/ProfDataUtils.cpp @@ -1,3 +1,15 @@ +//===- ProfDataUtils.cpp - Utility functions for MD_prof Metadata ---------===// +// +// 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 utilities for working with Profiling Metadata. +// +//===----------------------------------------------------------------------===// + #include "llvm/IR/ProfDataUtils.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/Twine.h"