summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2018-04-12 17:23:26 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2018-04-12 17:23:26 +0000
commit3865c69b84d745c8b59e86f4205cca584b0c9afa (patch)
tree3a12db9c38596d493b9fdd7223505193a9e9a120 /openmp/runtime/src
parentb0389fc6161c2ec3665da8ede789421024539c70 (diff)
downloadbcm5719-llvm-3865c69b84d745c8b59e86f4205cca584b0c9afa.tar.gz
bcm5719-llvm-3865c69b84d745c8b59e86f4205cca584b0c9afa.zip
Set the license header for all OMPT files
llvm-svn: 329928
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/include/50/ompt.h.var9
-rw-r--r--openmp/runtime/src/ompt-event-specific.h15
-rw-r--r--openmp/runtime/src/ompt-general.cpp13
-rw-r--r--openmp/runtime/src/ompt-internal.h13
-rw-r--r--openmp/runtime/src/ompt-specific.cpp13
-rw-r--r--openmp/runtime/src/ompt-specific.h13
6 files changed, 73 insertions, 3 deletions
diff --git a/openmp/runtime/src/include/50/ompt.h.var b/openmp/runtime/src/include/50/ompt.h.var
index 0372f36bc8e..ffbb9c63cc8 100644
--- a/openmp/runtime/src/include/50/ompt.h.var
+++ b/openmp/runtime/src/include/50/ompt.h.var
@@ -2,6 +2,15 @@
* include/50/ompt.h.var
*/
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.txt for details.
+//
+//===----------------------------------------------------------------------===//
+
#ifndef __OMPT__
#define __OMPT__
diff --git a/openmp/runtime/src/ompt-event-specific.h b/openmp/runtime/src/ompt-event-specific.h
index 86ee6990569..4a36ef36ad6 100644
--- a/openmp/runtime/src/ompt-event-specific.h
+++ b/openmp/runtime/src/ompt-event-specific.h
@@ -1,6 +1,3 @@
-#ifndef __OMPT_EVENT_SPECIFIC_H__
-#define __OMPT_EVENT_SPECIFIC_H__
-
/******************************************************************************
* File: ompt-event-specific.h
*
@@ -10,6 +7,18 @@
* and the level of their implementation by a runtime system.
*****************************************************************************/
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.txt for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef __OMPT_EVENT_SPECIFIC_H__
+#define __OMPT_EVENT_SPECIFIC_H__
+
#define _ompt_tokenpaste_helper(x, y) x##y
#define _ompt_tokenpaste(x, y) _ompt_tokenpaste_helper(x, y)
#define ompt_event_implementation_status(e) _ompt_tokenpaste(e, _implemented)
diff --git a/openmp/runtime/src/ompt-general.cpp b/openmp/runtime/src/ompt-general.cpp
index 532778298c0..80a690078f4 100644
--- a/openmp/runtime/src/ompt-general.cpp
+++ b/openmp/runtime/src/ompt-general.cpp
@@ -1,3 +1,16 @@
+/*
+ * ompt-general.cpp -- OMPT implementation of interface functions
+ */
+
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.txt for details.
+//
+//===----------------------------------------------------------------------===//
+
/*****************************************************************************
* system include files
****************************************************************************/
diff --git a/openmp/runtime/src/ompt-internal.h b/openmp/runtime/src/ompt-internal.h
index 6139e002f79..73132177fea 100644
--- a/openmp/runtime/src/ompt-internal.h
+++ b/openmp/runtime/src/ompt-internal.h
@@ -1,3 +1,16 @@
+/*
+ * ompt-internal.h - header of OMPT internal data structures
+ */
+
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.txt for details.
+//
+//===----------------------------------------------------------------------===//
+
#ifndef __OMPT_INTERNAL_H__
#define __OMPT_INTERNAL_H__
diff --git a/openmp/runtime/src/ompt-specific.cpp b/openmp/runtime/src/ompt-specific.cpp
index c284e3ef0e9..1ae6e1d33c8 100644
--- a/openmp/runtime/src/ompt-specific.cpp
+++ b/openmp/runtime/src/ompt-specific.cpp
@@ -1,3 +1,16 @@
+/*
+ * ompt-specific.cpp -- OMPT internal functions
+ */
+
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.txt for details.
+//
+//===----------------------------------------------------------------------===//
+
//******************************************************************************
// include files
//******************************************************************************
diff --git a/openmp/runtime/src/ompt-specific.h b/openmp/runtime/src/ompt-specific.h
index 07223daef8e..68233c69d56 100644
--- a/openmp/runtime/src/ompt-specific.h
+++ b/openmp/runtime/src/ompt-specific.h
@@ -1,3 +1,16 @@
+/*
+ * ompt-specific.h - header of OMPT internal functions implementation
+ */
+
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.txt for details.
+//
+//===----------------------------------------------------------------------===//
+
#ifndef OMPT_SPECIFIC_H
#define OMPT_SPECIFIC_H
OpenPOWER on IntegriCloud