summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-11-08 17:20:05 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-11-08 17:20:05 +0000
commite0cb36b9fb1e1b0de9b46eafd8dc3802122b2e73 (patch)
tree57ddcdf7f61cede65612cd6ff5013ad2c11a92b1 /include
parent4471194d69cc99ed53dc1638e06053b069dc6454 (diff)
downloadexternal_llvm-e0cb36b9fb1e1b0de9b46eafd8dc3802122b2e73.zip
external_llvm-e0cb36b9fb1e1b0de9b46eafd8dc3802122b2e73.tar.gz
external_llvm-e0cb36b9fb1e1b0de9b46eafd8dc3802122b2e73.tar.bz2
[ARM] Implement __builtin_thread_pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Intrinsics.td1
-rw-r--r--include/llvm/IntrinsicsARM.td21
2 files changed, 22 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td
index 9819f38..4ede06d 100644
--- a/include/llvm/Intrinsics.td
+++ b/include/llvm/Intrinsics.td
@@ -268,3 +268,4 @@ def int_init_trampoline : Intrinsic<[llvm_ptr_ty, llvm_ptr_ty, llvm_ptr_ty,
include "llvm/IntrinsicsPowerPC.td"
include "llvm/IntrinsicsX86.td"
+include "llvm/IntrinsicsARM.td"
diff --git a/include/llvm/IntrinsicsARM.td b/include/llvm/IntrinsicsARM.td
new file mode 100644
index 0000000..1830931
--- /dev/null
+++ b/include/llvm/IntrinsicsARM.td
@@ -0,0 +1,21 @@
+//===- IntrinsicsARM.td - Defines ARM intrinsics -----------*- tablegen -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by Lauro Ramos Venancio and is distributed under the
+// University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines all of the ARM-specific intrinsics.
+//
+//===----------------------------------------------------------------------===//
+
+
+//===----------------------------------------------------------------------===//
+// TLS
+
+let TargetPrefix = "arm" in { // All intrinsics start with "llvm.arm.".
+ def int_arm_thread_pointer : GCCBuiltin<"__builtin_thread_pointer">,
+ Intrinsic<[llvm_ptr_ty],[IntrNoMem]>;
+}