[PATCH] D64956: NFC: Region annotation intrnsics addition based on RFC from llvmpar

Xinmin Tian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 16:03:58 PDT 2019


xtian created this revision.
xtian added reviewers: hfinkel, vadve.
xtian added a project: OpenMP.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is the 1st NFC patch for Region Annotation instrinsic addition


Repository:
  rL LLVM

https://reviews.llvm.org/D64956

Files:
  llvm/include/llvm/IR/Intrinsics.td


Index: llvm/include/llvm/IR/Intrinsics.td
===================================================================
--- llvm/include/llvm/IR/Intrinsics.td
+++ llvm/include/llvm/IR/Intrinsics.td
@@ -955,6 +955,15 @@
                                 [llvm_token_ty, llvm_i32_ty, llvm_i32_ty],
                                 [IntrReadMem, ImmArg<1>, ImmArg<2>]>;
 
+//===------------------------ Region Annotation Intrinsics ---------------===//
+// These are documented in docs/RegionAnnotation.rst
+
+// Region Annotation and Marker Intrinsics
+
+def int_region_entry : Intrinsic<[llvm_token_ty], [], []>;
+def int_region_exit : Intrinsic<[], [llvm_token_ty], []>;
+def int_region_marker : Intrinsic<[], [], []>;
+
 //===------------------------ Coroutine Intrinsics ---------------===//
 // These are documented in docs/Coroutines.rst
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64956.210693.patch
Type: text/x-patch
Size: 833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190718/6445b1e6/attachment.bin>


More information about the llvm-commits mailing list