diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-27 22:38:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-27 22:38:39 +0000 |
commit | c4c9506837c412e379d02e4a4b5a4f5523d4dbff (patch) | |
tree | 585f56ff297bcaac41d968a9f0e4885350d085e4 /include/llvm/IntrinsicsPowerPC.td | |
parent | 2c4e65d460470d9ea19a46446af8ff41f343a3bd (diff) | |
download | external_llvm-c4c9506837c412e379d02e4a4b5a4f5523d4dbff.zip external_llvm-c4c9506837c412e379d02e4a4b5a4f5523d4dbff.tar.gz external_llvm-c4c9506837c412e379d02e4a4b5a4f5523d4dbff.tar.bz2 |
Divirge from the GCC specification of the load/store intrinsics: only take
one pointer operand, instead of a pointer and an offset. The FE will lower
to this canonicalized form.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IntrinsicsPowerPC.td')
-rw-r--r-- | include/llvm/IntrinsicsPowerPC.td | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/include/llvm/IntrinsicsPowerPC.td b/include/llvm/IntrinsicsPowerPC.td index 8fa779d..a4357a6 100644 --- a/include/llvm/IntrinsicsPowerPC.td +++ b/include/llvm/IntrinsicsPowerPC.td @@ -14,33 +14,29 @@ let TargetPrefix = "ppc" in { // All intrinsics start with "llvm.ppc.". // Loads. def int_ppc_altivec_lvx : GCCBuiltin<"__builtin_altivec_lvx">, - Intrinsic<[llvm_v4i32_ty, llvm_int_ty, llvm_ptr_ty], - [IntrReadMem]>; + Intrinsic<[llvm_v4i32_ty, llvm_ptr_ty], [IntrReadMem]>; def int_ppc_altivec_lvebx : GCCBuiltin<"__builtin_altivec_lvebx">, - Intrinsic<[llvm_v16i8_ty, llvm_int_ty, llvm_ptr_ty], - [IntrReadMem]>; + Intrinsic<[llvm_v16i8_ty, llvm_ptr_ty], [IntrReadMem]>; def int_ppc_altivec_lvehx : GCCBuiltin<"__builtin_altivec_lvehx">, - Intrinsic<[llvm_v8i16_ty, llvm_int_ty, llvm_ptr_ty], - [IntrReadMem]>; + Intrinsic<[llvm_v8i16_ty, llvm_ptr_ty], [IntrReadMem]>; def int_ppc_altivec_lvewx : GCCBuiltin<"__builtin_altivec_lvewx">, - Intrinsic<[llvm_v4i32_ty, llvm_int_ty, llvm_ptr_ty], - [IntrReadMem]>; + Intrinsic<[llvm_v4i32_ty, llvm_ptr_ty], [IntrReadMem]>; // Stores. def int_ppc_altivec_stvx : GCCBuiltin<"__builtin_altivec_stvx">, - Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_int_ty, llvm_ptr_ty], + Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_ptr_ty], [IntrWriteMem]>; def int_ppc_altivec_stvxl : GCCBuiltin<"__builtin_altivec_stvxl">, - Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_int_ty, llvm_ptr_ty], + Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_ptr_ty], [IntrWriteMem]>; def int_ppc_altivec_stvebx : GCCBuiltin<"__builtin_altivec_stvebx">, - Intrinsic<[llvm_void_ty, llvm_v16i8_ty, llvm_int_ty, llvm_ptr_ty], + Intrinsic<[llvm_void_ty, llvm_v16i8_ty, llvm_ptr_ty], [IntrWriteMem]>; def int_ppc_altivec_stvehx : GCCBuiltin<"__builtin_altivec_stvehx">, - Intrinsic<[llvm_void_ty, llvm_v8i16_ty, llvm_int_ty, llvm_ptr_ty], + Intrinsic<[llvm_void_ty, llvm_v8i16_ty, llvm_ptr_ty], [IntrWriteMem]>; def int_ppc_altivec_stvewx : GCCBuiltin<"__builtin_altivec_stvewx">, - Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_int_ty, llvm_ptr_ty], + Intrinsic<[llvm_void_ty, llvm_v4i32_ty, llvm_ptr_ty], [IntrWriteMem]>; // Comparisons setting a vector. |