@@ -962,13 +962,13 @@ called within the addressor.
962
962
963
963
The function is a getter of a lazy property for which the backing storage is
964
964
an ``Optional `` of the property's type. The getter contains a top-level
965
- `` switch_enum `` (or `` switch_enum_addr `` ), which tests if the lazy property
965
+ `switch_enum `_ (or `switch_enum_addr `_ ), which tests if the lazy property
966
966
is already computed. In the ``None ``-case, the property is computed and stored
967
967
to the backing storage of the property.
968
968
969
969
After the first call of a lazy property getter, it is guaranteed that the
970
970
property is computed and consecutive calls always execute the ``Some ``-case of
971
- the top-level `` switch_enum `` .
971
+ the top-level `switch_enum `_ .
972
972
::
973
973
974
974
sil-function-attribute ::= '[weak_imported]'
@@ -4601,7 +4601,7 @@ but turns the control flow dependency into a data flow dependency.
4601
4601
For address-only enums, `select_enum_addr `_ offers the same functionality for
4602
4602
an indirectly referenced enum value in memory.
4603
4603
4604
- Like `switch_enum `_, `` select_enum `` must have a ``default `` case unless the
4604
+ Like `switch_enum `_, `select_enum `_ must have a ``default `` case unless the
4605
4605
enum can be exhaustively switched in the current function.
4606
4606
4607
4607
select_enum_addr
@@ -4626,7 +4626,7 @@ Selects one of the "case" or "default" operands based on the case of the
4626
4626
referenced enum value. This is the address-only counterpart to
4627
4627
`select_enum `_.
4628
4628
4629
- Like `switch_enum_addr `_, `` select_enum_addr `` must have a ``default `` case
4629
+ Like `switch_enum_addr `_, `select_enum_addr `_ must have a ``default `` case
4630
4630
unless the enum can be exhaustively switched in the current function.
4631
4631
4632
4632
Protocol and Protocol Composition Types
@@ -4650,10 +4650,10 @@ container may use one of several representations:
4650
4650
type are class protocols, then the existential container for that type is
4651
4651
address-only and referred to in the implementation as an *opaque existential
4652
4652
container *. The value semantics of the existential container propagate to the
4653
- contained concrete value. Applying `` copy_addr `` to an opaque existential
4653
+ contained concrete value. Applying `copy_addr `_ to an opaque existential
4654
4654
container copies the contained concrete value, deallocating or reallocating
4655
4655
the destination container's owned buffer if necessary. Applying
4656
- `` destroy_addr `` to an opaque existential container destroys the concrete
4656
+ `destroy_addr `_ to an opaque existential container destroys the concrete
4657
4657
value and deallocates any buffers owned by the existential container. The
4658
4658
following instructions manipulate opaque existential containers:
4659
4659
@@ -4705,8 +4705,8 @@ Some existential types may additionally support specialized representations
4705
4705
when they contain certain known concrete types. For example, when Objective-C
4706
4706
interop is available, the ``Error `` protocol existential supports
4707
4707
a class existential container representation for ``NSError `` objects, so it
4708
- can be initialized from one using `` init_existential_ref `` instead of the
4709
- more expensive `` alloc_existential_box `` ::
4708
+ can be initialized from one using `init_existential_ref `_ instead of the
4709
+ more expensive `alloc_existential_box `_ ::
4710
4710
4711
4711
bb(%nserror: $NSError):
4712
4712
// The slow general way to form an Error, allocating a box and
@@ -4739,9 +4739,9 @@ instruction is an address referencing the storage for the contained value, which
4739
4739
remains uninitialized. The contained value must be ``store ``-d or
4740
4740
``copy_addr ``-ed to in order for the existential value to be fully initialized.
4741
4741
If the existential container needs to be destroyed while the contained value
4742
- is uninitialized, `` deinit_existential_addr `` must be used to do so. A fully
4743
- initialized existential container can be destroyed with `` destroy_addr `` as
4744
- usual. It is undefined behavior to `` destroy_addr `` a partially-initialized
4742
+ is uninitialized, `deinit_existential_addr `_ must be used to do so. A fully
4743
+ initialized existential container can be destroyed with `destroy_addr `_ as
4744
+ usual. It is undefined behavior to `destroy_addr `_ a partially-initialized
4745
4745
existential container.
4746
4746
4747
4747
init_existential_value
@@ -4770,10 +4770,10 @@ deinit_existential_addr
4770
4770
// composition type P
4771
4771
4772
4772
Undoes the partial initialization performed by
4773
- `` init_existential_addr `` . `` deinit_existential_addr `` is only valid for
4773
+ `init_existential_addr `_ . `deinit_existential_addr `_ is only valid for
4774
4774
existential containers that have been partially initialized by
4775
- `` init_existential_addr `` but haven't had their contained value initialized.
4776
- A fully initialized existential must be destroyed with `` destroy_addr `` .
4775
+ `init_existential_addr `_ but haven't had their contained value initialized.
4776
+ A fully initialized existential must be destroyed with `destroy_addr `_ .
4777
4777
4778
4778
deinit_existential_value
4779
4779
````````````````````````
@@ -4786,10 +4786,10 @@ deinit_existential_value
4786
4786
// composition type P
4787
4787
4788
4788
Undoes the partial initialization performed by
4789
- `` init_existential_value `` . `` deinit_existential_value `` is only valid for
4789
+ `init_existential_value `_ . `deinit_existential_value `_ is only valid for
4790
4790
existential containers that have been partially initialized by
4791
- `` init_existential_value `` but haven't had their contained value initialized.
4792
- A fully initialized existential must be destroyed with `` destroy_value `` .
4791
+ `init_existential_value `_ but haven't had their contained value initialized.
4792
+ A fully initialized existential must be destroyed with `destroy_value `_ .
4793
4793
4794
4794
open_existential_addr
4795
4795
`````````````````````
@@ -4866,7 +4866,7 @@ Extracts the class instance reference from a class existential
4866
4866
container. The protocol conformances associated with this existential
4867
4867
container are associated directly with the archetype ``@opened P ``. This
4868
4868
pointer can be used with any operation on archetypes, such as
4869
- `` witness_method `` . When the operand is of metatype type, the result
4869
+ `witness_method `_ . When the operand is of metatype type, the result
4870
4870
will be the metatype of the opened archetype.
4871
4871
4872
4872
init_existential_metatype
@@ -4916,9 +4916,9 @@ alloc_existential_box
4916
4916
Allocates a boxed existential container of type ``$P `` with space to hold a
4917
4917
value of type ``$T' ``. The box is not fully initialized until a valid value
4918
4918
has been stored into the box. If the box must be deallocated before it is
4919
- fully initialized, `` dealloc_existential_box `` must be used. A fully
4919
+ fully initialized, `dealloc_existential_box `_ must be used. A fully
4920
4920
initialized box can be ``retain ``-ed and ``release ``-d like any
4921
- reference-counted type. The `` project_existential_box `` instruction is used
4921
+ reference-counted type. The `project_existential_box `_ instruction is used
4922
4922
to retrieve the address of the value inside the container.
4923
4923
4924
4924
project_existential_box
@@ -4936,7 +4936,7 @@ project_existential_box
4936
4936
Projects the address of the value inside a boxed existential container.
4937
4937
The address is dependent on the lifetime of the owner reference ``%0 ``.
4938
4938
It is undefined behavior if the concrete type ``$T `` is not the same type for
4939
- which the box was allocated with `` alloc_existential_box `` .
4939
+ which the box was allocated with `alloc_existential_box `_ .
4940
4940
4941
4941
open_existential_box
4942
4942
````````````````````
@@ -4987,7 +4987,7 @@ Deallocates a boxed existential container. The value inside the existential
4987
4987
buffer is not destroyed; either the box must be uninitialized, or the value
4988
4988
must have been projected out and destroyed beforehand. It is undefined behavior
4989
4989
if the concrete type ``$T `` is not the same type for which the box was
4990
- allocated with `` alloc_existential_box `` .
4990
+ allocated with `alloc_existential_box `_ .
4991
4991
4992
4992
Blocks
4993
4993
~~~~~~
@@ -5052,7 +5052,7 @@ pointer_to_address
5052
5052
5053
5053
Creates an address value corresponding to the ``Builtin.RawPointer `` value
5054
5054
``%0 ``. Converting a ``RawPointer `` back to an address of the same type as
5055
- its originating `` address_to_pointer `` instruction gives back an equivalent
5055
+ its originating `address_to_pointer `_ instruction gives back an equivalent
5056
5056
address. It is undefined behavior to cast the ``RawPointer `` back to any type
5057
5057
other than its original address type or `layout compatible types `_. It is
5058
5058
also undefined behavior to cast a ``RawPointer `` from a heap object to any
@@ -5161,7 +5161,7 @@ ref_to_raw_pointer
5161
5161
Converts a heap object reference to a ``Builtin.RawPointer ``. The ``RawPointer ``
5162
5162
result can be cast back to the originating class type but does not have
5163
5163
ownership semantics. It is undefined behavior to cast a ``RawPointer `` from a
5164
- heap object reference to an address using `` pointer_to_address `` .
5164
+ heap object reference to an address using `pointer_to_address `_ .
5165
5165
5166
5166
raw_pointer_to_ref
5167
5167
``````````````````
0 commit comments