[PATCH] D131226: [llvm][ir] Add missing license to ProfDataUtils
Paul Kirth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 4 18:43:25 PDT 2022
paulkirth created this revision.
paulkirth added reviewers: tejohnson, phosek, bogner, davidxl.
Herald added a subscriber: hiraditya.
Herald added a project: All.
paulkirth requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
We failed to add these in D128860 <https://reviews.llvm.org/D128860> or D128858 <https://reviews.llvm.org/D128858>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131226
Files:
llvm/include/llvm/IR/ProfDataUtils.h
llvm/lib/IR/ProfDataUtils.cpp
Index: llvm/lib/IR/ProfDataUtils.cpp
===================================================================
--- llvm/lib/IR/ProfDataUtils.cpp
+++ 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"
Index: llvm/include/llvm/IR/ProfDataUtils.h
===================================================================
--- llvm/include/llvm/IR/ProfDataUtils.h
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131226.450201.patch
Type: text/x-patch
Size: 1676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220805/3923289b/attachment.bin>
More information about the llvm-commits
mailing list