summaryrefslogtreecommitdiff
path: root/include/llvm/Intrinsics.td
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-05-09 15:52:43 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-05-09 15:52:43 +0000
commit30759542aa820b9fc74c77bfa3c011cb0a106ef9 (patch)
tree9698461a0cd7c16beea9446415a512f3e3bcde0e /include/llvm/Intrinsics.td
parent80fa4723b9b7cb9d78d71648095e4e2804681402 (diff)
downloadllvm-30759542aa820b9fc74c77bfa3c011cb0a106ef9.tar.gz
llvm-30759542aa820b9fc74c77bfa3c011cb0a106ef9.tar.bz2
llvm-30759542aa820b9fc74c77bfa3c011cb0a106ef9.tar.xz
change the objectsize intrinsic signature: add a 3rd parameter to denote the maximum runtime performance penalty that the user is willing to accept.
This commit only adds the parameter. Code taking advantage of it will follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156473 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Intrinsics.td')
-rw-r--r--include/llvm/Intrinsics.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td
index 809bbfa8c8..f5883b6bdf 100644
--- a/include/llvm/Intrinsics.td
+++ b/include/llvm/Intrinsics.td
@@ -268,7 +268,8 @@ def int_sigsetjmp : Intrinsic<[llvm_i32_ty] , [llvm_ptr_ty, llvm_i32_ty]>;
def int_siglongjmp : Intrinsic<[], [llvm_ptr_ty, llvm_i32_ty]>;
// Internal interface for object size checking
-def int_objectsize : Intrinsic<[llvm_anyint_ty], [llvm_ptr_ty, llvm_i1_ty],
+def int_objectsize : Intrinsic<[llvm_anyint_ty],
+ [llvm_ptr_ty, llvm_i1_ty, llvm_i32_ty],
[IntrNoMem]>,
GCCBuiltin<"__builtin_object_size">;