summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-11-15 06:51:10 +0000
committerCraig Topper <craig.topper@gmail.com>2012-11-15 06:51:10 +0000
commit490104720db9e1e0eb9cc27e88e2d7288ac27ff0 (patch)
tree953ab3619cb9d716b3366e703567588496a9b5fc /include
parentc6d6aeb95feca2efc6ee652555dbb29f0a3d41c8 (diff)
downloadexternal_llvm-490104720db9e1e0eb9cc27e88e2d7288ac27ff0.zip
external_llvm-490104720db9e1e0eb9cc27e88e2d7288ac27ff0.tar.gz
external_llvm-490104720db9e1e0eb9cc27e88e2d7288ac27ff0.tar.bz2
Add llvm.ceil, llvm.trunc, llvm.rint, llvm.nearbyint intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Intrinsics.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td
index 26a05e1..d3a548c 100644
--- a/include/llvm/Intrinsics.td
+++ b/include/llvm/Intrinsics.td
@@ -271,6 +271,10 @@ let Properties = [IntrReadMem] in {
def int_exp2 : Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
def int_fabs : Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
def int_floor : Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
+ def int_ceil : Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
+ def int_trunc : Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
+ def int_rint : Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
+ def int_nearbyint : Intrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]>;
}
let Properties = [IntrNoMem] in {