diff options
author | Paul Kirth <paulkirth@google.com> | 2022-08-05 01:39:01 +0000 |
---|---|---|
committer | Paul Kirth <paulkirth@google.com> | 2022-08-05 03:39:13 +0000 |
commit | a812b39e8c4f357b23333fc49f282d6c8e28dc60 (patch) | |
tree | 82ad038d132a133534e400d05680b45a0cddd087 | |
parent | fc6a6ee507ec2df0df7d34ba19feccb776297e4c (diff) |
[llvm][ir] Add missing license to ProfDataUtils
We failed to add these in D128860 or D128858
Reviewed By: davidxl
Differential Revision: https://reviews.llvm.org/D131226
-rw-r--r-- | llvm/include/llvm/IR/ProfDataUtils.h | 14 | ||||
-rw-r--r-- | llvm/lib/IR/ProfDataUtils.cpp | 12 |
2 files changed, 26 insertions, 0 deletions
diff --git a/llvm/include/llvm/IR/ProfDataUtils.h b/llvm/include/llvm/IR/ProfDataUtils.h index 0051c41536b5..1298af12c648 100644 --- 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 index d0550b774d4c..b312b4231ced 100644 --- 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" |