[llvm][ir] Add missing license to ProfDataUtils
authorPaul Kirth <paulkirth@google.com>
Fri, 5 Aug 2022 01:39:01 +0000 (01:39 +0000)
committerPaul Kirth <paulkirth@google.com>
Fri, 5 Aug 2022 03:39:13 +0000 (03:39 +0000)
We failed to add these in D128860 or D128858

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D131226

llvm/include/llvm/IR/ProfDataUtils.h
llvm/lib/IR/ProfDataUtils.cpp

index 0051c41..1298af1 100644 (file)
@@ -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
 
index d0550b7..b312b42 100644 (file)
@@ -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"