aboutsummaryrefslogtreecommitdiff
path: root/docs/Statepoints.rst
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-02-24 23:57:26 +0000
committerPhilip Reames <listmail@philipreames.com>2015-02-24 23:57:26 +0000
commita230eee39a1d8463461c8651a4cc6d9f5dd2591f (patch)
treeab55c4e8401324239d564783933c6249d8e672bd /docs/Statepoints.rst
parent1e91e94aac8e819a9756ac80f09f5da3647e059a (diff)
downloadllvm-a230eee39a1d8463461c8651a4cc6d9f5dd2591f.tar.gz
[GC] Sync documentation with code naming
Fixing an issue pointed out by Sean Silva. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Statepoints.rst')
-rw-r--r--docs/Statepoints.rst25
1 files changed, 14 insertions, 11 deletions
diff --git a/docs/Statepoints.rst b/docs/Statepoints.rst
index 68b74626a54..b77a0f4c6bf 100644
--- a/docs/Statepoints.rst
+++ b/docs/Statepoints.rst
@@ -158,8 +158,8 @@ exactly what to change.
Intrinsics
===========
-'''gc.statepoint''' Intrinsic
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+'llvm.experimental.gc.statepoint' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax:
"""""""
@@ -167,8 +167,9 @@ Syntax:
::
declare i32
- @gc.statepoint(func_type <target>, i64 <#call args>.
- i64 <unused>, ... (call parameters),
+ @llvm.experimental.gc.statepoint(func_type <target>,
+ i64 <#call args>. i64 <unused>,
+ ... (call parameters),
i64 <# deopt args>, ... (deopt parameters),
... (gc parameters))
@@ -227,8 +228,8 @@ pointer' argument of the statepoint in a location statically reachable
from the statepoint. Instead, the explicitly relocated value (from a
''gc.relocate'') must be used.
-'''gc.result''' Intrinsic
-^^^^^^^^^^^^^^^^^^^^^^^^^^
+'llvm.experimental.gc.result' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax:
"""""""
@@ -236,7 +237,7 @@ Syntax:
::
declare type*
- @gc.result(i32 %statepoint_token)
+ @llvm.experimental.gc.result(i32 %statepoint_token)
Overview:
"""""""""
@@ -267,16 +268,18 @@ A ''gc.result'' is modeled as a 'readnone' pure function. It has no
side effects since it is just a projection of the return value of the
previous call represented by the ''gc.statepoint''.
-'''gc.relocate''' Intrinsic
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+'llvm.experimental.gc.relocate' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax:
"""""""
::
- declare <type> addrspace(1)*
- @gc.relocate(i32 %statepoint_token, i32 %base_offset, i32 %pointer_offset)
+ declare <pointer type>
+ @llvm.experimental.gc.relocate(i32 %statepoint_token,
+ i32 %base_offset,
+ i32 %pointer_offset)
Overview:
"""""""""