mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[GC] Sync documentation with code naming
Fixing an issue pointed out by Sean Silva. Thanks! llvm-svn: 230403
This commit is contained in:
parent
4d5446e399
commit
6468a5f251
@ -158,8 +158,8 @@ exactly what to change.
|
|||||||
Intrinsics
|
Intrinsics
|
||||||
===========
|
===========
|
||||||
|
|
||||||
'''gc.statepoint''' Intrinsic
|
'llvm.experimental.gc.statepoint' Intrinsic
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Syntax:
|
Syntax:
|
||||||
"""""""
|
"""""""
|
||||||
@ -167,8 +167,9 @@ Syntax:
|
|||||||
::
|
::
|
||||||
|
|
||||||
declare i32
|
declare i32
|
||||||
@gc.statepoint(func_type <target>, i64 <#call args>.
|
@llvm.experimental.gc.statepoint(func_type <target>,
|
||||||
i64 <unused>, ... (call parameters),
|
i64 <#call args>. i64 <unused>,
|
||||||
|
... (call parameters),
|
||||||
i64 <# deopt args>, ... (deopt parameters),
|
i64 <# deopt args>, ... (deopt parameters),
|
||||||
... (gc 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
|
from the statepoint. Instead, the explicitly relocated value (from a
|
||||||
''gc.relocate'') must be used.
|
''gc.relocate'') must be used.
|
||||||
|
|
||||||
'''gc.result''' Intrinsic
|
'llvm.experimental.gc.result' Intrinsic
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Syntax:
|
Syntax:
|
||||||
"""""""
|
"""""""
|
||||||
@ -236,7 +237,7 @@ Syntax:
|
|||||||
::
|
::
|
||||||
|
|
||||||
declare type*
|
declare type*
|
||||||
@gc.result(i32 %statepoint_token)
|
@llvm.experimental.gc.result(i32 %statepoint_token)
|
||||||
|
|
||||||
Overview:
|
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
|
side effects since it is just a projection of the return value of the
|
||||||
previous call represented by the ''gc.statepoint''.
|
previous call represented by the ''gc.statepoint''.
|
||||||
|
|
||||||
'''gc.relocate''' Intrinsic
|
'llvm.experimental.gc.relocate' Intrinsic
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Syntax:
|
Syntax:
|
||||||
"""""""
|
"""""""
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
declare <type> addrspace(1)*
|
declare <pointer type>
|
||||||
@gc.relocate(i32 %statepoint_token, i32 %base_offset, i32 %pointer_offset)
|
@llvm.experimental.gc.relocate(i32 %statepoint_token,
|
||||||
|
i32 %base_offset,
|
||||||
|
i32 %pointer_offset)
|
||||||
|
|
||||||
Overview:
|
Overview:
|
||||||
"""""""""
|
"""""""""
|
||||||
|
Loading…
Reference in New Issue
Block a user