| OLD | NEW |
| 1 //===- Intrinsics.td - Defines all LLVM intrinsics ---------*- tablegen -*-===// | 1 //===- Intrinsics.td - Defines all LLVM 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 properties of all LLVM intrinsics. | 10 // This file defines properties of all LLVM intrinsics. |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 // The following intrinsics provide target-specific implementations of | 459 // The following intrinsics provide target-specific implementations of |
| 460 // the interface in native_client/src/untrusted/nacl/tls_params.h. | 460 // the interface in native_client/src/untrusted/nacl/tls_params.h. |
| 461 // The intrinsic names are basically the functions there without the | 461 // The intrinsic names are basically the functions there without the |
| 462 // leading underscores. | 462 // leading underscores. |
| 463 def int_nacl_tp_alignment : Intrinsic<[llvm_i32_ty], []>, | 463 def int_nacl_tp_alignment : Intrinsic<[llvm_i32_ty], []>, |
| 464 GCCBuiltin<"__builtin_nacl_tp_alignment">; | 464 GCCBuiltin<"__builtin_nacl_tp_alignment">; |
| 465 def int_nacl_tp_tls_offset : Intrinsic<[llvm_i32_ty], [llvm_i32_ty]>, | 465 def int_nacl_tp_tls_offset : Intrinsic<[llvm_i32_ty], [llvm_i32_ty]>, |
| 466 GCCBuiltin<"__builtin_nacl_tp_tls_offset">; | 466 GCCBuiltin<"__builtin_nacl_tp_tls_offset">; |
| 467 def int_nacl_tp_tdb_offset : Intrinsic<[llvm_i32_ty], [llvm_i32_ty]>, | 467 def int_nacl_tp_tdb_offset : Intrinsic<[llvm_i32_ty], [llvm_i32_ty]>, |
| 468 GCCBuiltin<"__builtin_nacl_tp_tdb_offset">; | 468 GCCBuiltin<"__builtin_nacl_tp_tdb_offset">; |
| 469 def int_nacl_thread_stack_padding : | |
| 470 Intrinsic<[llvm_i32_ty], []>, | |
| 471 GCCBuiltin<"__builtin_nacl_thread_stack_padding">; | |
| 472 | 469 |
| 473 // The following intrinsic provides a target-specific constant value to | 470 // The following intrinsic provides a target-specific constant value to |
| 474 // indicate the target platform compiled to. The enum values are enumerated | 471 // indicate the target platform compiled to. The enum values are enumerated |
| 475 // pnaclintrin.h. | 472 // pnaclintrin.h. |
| 476 def int_nacl_target_arch : Intrinsic<[llvm_i32_ty], []>, | 473 def int_nacl_target_arch : Intrinsic<[llvm_i32_ty], []>, |
| 477 GCCBuiltin<"__builtin_nacl_target_arch">; | 474 GCCBuiltin<"__builtin_nacl_target_arch">; |
| 478 // @LOCALMOD-END | 475 // @LOCALMOD-END |
| 479 | 476 |
| 480 //===----------------------------------------------------------------------===// | 477 //===----------------------------------------------------------------------===// |
| 481 // Target-specific intrinsics | 478 // Target-specific intrinsics |
| 482 //===----------------------------------------------------------------------===// | 479 //===----------------------------------------------------------------------===// |
| 483 | 480 |
| 484 include "llvm/IntrinsicsPowerPC.td" | 481 include "llvm/IntrinsicsPowerPC.td" |
| 485 include "llvm/IntrinsicsX86.td" | 482 include "llvm/IntrinsicsX86.td" |
| 486 include "llvm/IntrinsicsARM.td" | 483 include "llvm/IntrinsicsARM.td" |
| 487 include "llvm/IntrinsicsCellSPU.td" | 484 include "llvm/IntrinsicsCellSPU.td" |
| 488 include "llvm/IntrinsicsXCore.td" | 485 include "llvm/IntrinsicsXCore.td" |
| 489 include "llvm/IntrinsicsHexagon.td" | 486 include "llvm/IntrinsicsHexagon.td" |
| 490 include "llvm/IntrinsicsNVVM.td" | 487 include "llvm/IntrinsicsNVVM.td" |
| 491 include "llvm/IntrinsicsMips.td" | 488 include "llvm/IntrinsicsMips.td" |
| OLD | NEW |