OLD | NEW |
1 //===- IntrinsicsNVVM.td - Defines NVVM intrinsics ---------*- tablegen -*-===// | 1 //===- IntrinsicsNVVM.td - Defines NVVM intrinsics ---------*- tablegen -*-===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file defines all of the NVVM-specific intrinsics for use with NVPTX. | 10 // This file defines all of the NVVM-specific intrinsics for use with NVPTX. |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 def int_nvvm_rcp_rp_d : GCCBuiltin<"__nvvm_rcp_rp_d">, | 398 def int_nvvm_rcp_rp_d : GCCBuiltin<"__nvvm_rcp_rp_d">, |
399 Intrinsic<[llvm_double_ty], [llvm_double_ty], [IntrNoMem]>; | 399 Intrinsic<[llvm_double_ty], [llvm_double_ty], [IntrNoMem]>; |
400 | 400 |
401 def int_nvvm_rcp_approx_ftz_d : GCCBuiltin<"__nvvm_rcp_approx_ftz_d">, | 401 def int_nvvm_rcp_approx_ftz_d : GCCBuiltin<"__nvvm_rcp_approx_ftz_d">, |
402 Intrinsic<[llvm_double_ty], [llvm_double_ty], [IntrNoMem]>; | 402 Intrinsic<[llvm_double_ty], [llvm_double_ty], [IntrNoMem]>; |
403 | 403 |
404 // | 404 // |
405 // Sqrt | 405 // Sqrt |
406 // | 406 // |
407 | 407 |
408 def int_nvvm_sqrt_f : GCCBuiltin<"__nvvm_sqrt_f">, | |
409 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; | |
410 def int_nvvm_sqrt_rn_ftz_f : GCCBuiltin<"__nvvm_sqrt_rn_ftz_f">, | 408 def int_nvvm_sqrt_rn_ftz_f : GCCBuiltin<"__nvvm_sqrt_rn_ftz_f">, |
411 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; | 409 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; |
412 def int_nvvm_sqrt_rn_f : GCCBuiltin<"__nvvm_sqrt_rn_f">, | 410 def int_nvvm_sqrt_rn_f : GCCBuiltin<"__nvvm_sqrt_rn_f">, |
413 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; | 411 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; |
414 def int_nvvm_sqrt_rz_ftz_f : GCCBuiltin<"__nvvm_sqrt_rz_ftz_f">, | 412 def int_nvvm_sqrt_rz_ftz_f : GCCBuiltin<"__nvvm_sqrt_rz_ftz_f">, |
415 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; | 413 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; |
416 def int_nvvm_sqrt_rz_f : GCCBuiltin<"__nvvm_sqrt_rz_f">, | 414 def int_nvvm_sqrt_rz_f : GCCBuiltin<"__nvvm_sqrt_rz_f">, |
417 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; | 415 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; |
418 def int_nvvm_sqrt_rm_ftz_f : GCCBuiltin<"__nvvm_sqrt_rm_ftz_f">, | 416 def int_nvvm_sqrt_rm_ftz_f : GCCBuiltin<"__nvvm_sqrt_rm_ftz_f">, |
419 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; | 417 Intrinsic<[llvm_float_ty], [llvm_float_ty], [IntrNoMem]>; |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
955 <"__builtin_ptx_read_pm0">; | 953 <"__builtin_ptx_read_pm0">; |
956 def int_ptx_read_pm1 : PTXReadSpecialRegisterIntrinsic_r32 | 954 def int_ptx_read_pm1 : PTXReadSpecialRegisterIntrinsic_r32 |
957 <"__builtin_ptx_read_pm1">; | 955 <"__builtin_ptx_read_pm1">; |
958 def int_ptx_read_pm2 : PTXReadSpecialRegisterIntrinsic_r32 | 956 def int_ptx_read_pm2 : PTXReadSpecialRegisterIntrinsic_r32 |
959 <"__builtin_ptx_read_pm2">; | 957 <"__builtin_ptx_read_pm2">; |
960 def int_ptx_read_pm3 : PTXReadSpecialRegisterIntrinsic_r32 | 958 def int_ptx_read_pm3 : PTXReadSpecialRegisterIntrinsic_r32 |
961 <"__builtin_ptx_read_pm3">; | 959 <"__builtin_ptx_read_pm3">; |
962 | 960 |
963 def int_ptx_bar_sync : Intrinsic<[], [llvm_i32_ty], []>, | 961 def int_ptx_bar_sync : Intrinsic<[], [llvm_i32_ty], []>, |
964 GCCBuiltin<"__builtin_ptx_bar_sync">; | 962 GCCBuiltin<"__builtin_ptx_bar_sync">; |
OLD | NEW |