diff options
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/Extensions.rst | 18 | ||||
| -rw-r--r-- | llvm/docs/LangRef.rst | 31 | ||||
| -rw-r--r-- | llvm/docs/ReleaseNotes.md | 3 | ||||
| -rw-r--r-- | llvm/docs/SPIRVUsage.rst | 2 |
4 files changed, 45 insertions, 9 deletions
diff --git a/llvm/docs/Extensions.rst b/llvm/docs/Extensions.rst index 91a3ac0..4bff111 100644 --- a/llvm/docs/Extensions.rst +++ b/llvm/docs/Extensions.rst @@ -274,13 +274,13 @@ This would be equivalent to the following raw assembly: The following directives are specified: - - lib + - ``lib`` The parameter identifies a library to be linked against. The library will be looked up in the default and any specified library search paths (specified to this point). - - libpath + - ``libpath`` The parameter identifies an additional library search path to be considered when looking up libraries after the inclusion of this option. @@ -327,13 +327,13 @@ The contents of the section shall be a sequence of ``Elf_CGProfile`` entries. Elf_Xword cgp_weight; } Elf_CGProfile; -cgp_from +``cgp_from`` The symbol index of the source of the edge. -cgp_to +``cgp_to`` The symbol index of the destination of the edge. -cgp_weight +``cgp_weight`` The weight of the edge. This is represented in assembly as: @@ -352,7 +352,7 @@ table. ``SHT_LLVM_ADDRSIG`` Section (address-significance table) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -This section is used to mark symbols as address-significant, i.e. the address +This section is used to mark symbols as address-significant, i.e., the address of the symbol is used in a comparison or leaks outside the translation unit. It has the same meaning as the absence of the LLVM attributes ``unnamed_addr`` and ``local_unnamed_addr``. @@ -519,11 +519,11 @@ those bits are: #. Basic Block Frequencies - Encoded as raw block frequency value taken from MBFI analysis. This value is an integer that encodes the relative frequency compared to the entry block. More information can be found in - 'llvm/Support/BlockFrequency.h'. + ``llvm/Support/BlockFrequency.h``. #. Branch Probabilities - Encoded as raw numerator for branch probability taken from MBPI analysis. This value is the numerator for a fixed point ratio - defined in 'llvm/Support/BranchProbability.h'. It indicates the probability + defined in ``llvm/Support/BranchProbability.h``. It indicates the probability that the block is followed by a given successor block during execution. This extra data requires version 2 or above. This is necessary since successors @@ -726,7 +726,7 @@ Syntax: Syntax: ``.cv_fpo_data`` *procsym* -Target Specific Behaviour +Target-Specific Behaviour ========================= X86 diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index b9507a2..bd0337f 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -30968,6 +30968,37 @@ This intrinsic does nothing, but optimizers must consider it a use of its single operand and should try to preserve the intrinsic and its position in the function. +.. _llvm_reloc_none: + +'``llvm.reloc.none``' Intrinsic +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Syntax: +""""""" + +:: + + declare void @llvm.reloc.none(metadata !<name_str>) + +Overview: +""""""""" + +The ``llvm.reloc.none`` intrinsic emits a no-op relocation against a given +operand symbol. This can bring the symbol definition into the link without +emitting any code or data to the binary for that purpose. + +Arguments: +"""""""""" + +The ``llvm.reloc.none`` intrinsic takes the symbol as a metadata string +argument. + +Semantics: +"""""""""" + +This intrinsic emits a no-op relocation for the symbol at the location of the +intrinsic call. + Stack Map Intrinsics -------------------- diff --git a/llvm/docs/ReleaseNotes.md b/llvm/docs/ReleaseNotes.md index bfe6827..23bba99 100644 --- a/llvm/docs/ReleaseNotes.md +++ b/llvm/docs/ReleaseNotes.md @@ -67,6 +67,9 @@ Changes to the LLVM IR Instead, the `align` attribute should be placed on the pointer (or vector of pointers) argument. * A `load atomic` may now be used with vector types on x86. +* Added `@llvm.reloc.none` intrinsic to emit null relocations to symbols. This + emits an undefined symbol reference without adding any dedicated code or data to + to bear the relocation. Changes to LLVM infrastructure ------------------------------ diff --git a/llvm/docs/SPIRVUsage.rst b/llvm/docs/SPIRVUsage.rst index 7499613..9ecd390 100644 --- a/llvm/docs/SPIRVUsage.rst +++ b/llvm/docs/SPIRVUsage.rst @@ -241,6 +241,8 @@ Below is a list of supported SPIR-V extensions, sorted alphabetically by their e - Adds predicated load and store instructions that conditionally read from or write to memory based on a boolean predicate. * - ``SPV_KHR_maximal_reconvergence`` - Adds execution mode and capability to enable maximal reconvergence. + * - ``SPV_ALTERA_blocking_pipes`` + - Adds new pipe read and write functions that have blocking semantics instead of the non-blocking semantics of the existing pipe read/write functions. SPIR-V representation in LLVM IR ================================ |
