[PGO] Value profiling support
[oota-llvm.git] / include / llvm / IR / Intrinsics.td
index 66ef6fb1e5ed70dac6e231a0ee40b051641651c4..e7b60ef3d41f57e6719d5fd5251898157fb3d244 100644 (file)
@@ -319,7 +319,15 @@ def int_instrprof_increment : Intrinsic<[],
                                         [llvm_ptr_ty, llvm_i64_ty,
                                          llvm_i32_ty, llvm_i32_ty],
                                         []>;
-                                        
+
+// A call to profile runtime for value profiling of target expressions
+// through instrumentation based profiling.
+def int_instrprof_value_profile : Intrinsic<[],
+                                            [llvm_ptr_ty, llvm_i64_ty,
+                                             llvm_i64_ty, llvm_i32_ty,
+                                             llvm_i32_ty],
+                                            []>;
+
 //===------------------- Standard C Library Intrinsics --------------------===//
 //