]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add subsections for vectorization and OpenMP/OpenACC target hooks
authorRichard Biener <rguenther@suse.de>
Fri, 8 Aug 2025 12:09:11 +0000 (14:09 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 8 Aug 2025 13:40:54 +0000 (15:40 +0200)
Currently they are grouped under Addressing Modes which is quite misleading.

gcc/
* doc/tm.texi.in: Add Vectorization and OpenMP and OpenACC
sub-sections to the list of target macros and functions.
* doc/tm.texi: Re-generate.

gcc/doc/tm.texi
gcc/doc/tm.texi.in

index 4d4e676aadfa452e3a7c2bf43b249f4c7affbccb..4c338c382adccd6194306d400b4f19763d0e8973 100644 (file)
@@ -37,6 +37,8 @@ through the macros defined in the @file{.h} file.
 * Trampolines::         Code set up at run time to enter a nested function.
 * Library Calls::       Controlling how library routines are implicitly called.
 * Addressing Modes::    Defining addressing modes valid for memory operands.
+* Vectorization::       Controlling how the vectorizer operates.
+* OpenMP and OpenACC::  Defining how OpenMP and OpenACC features should work.
 * Anchored Addresses::  Defining how @option{-fsection-anchors} should work.
 * Condition Code::      Defining how insns update the condition code.
 * Costs::               Defining relative costs of different operations.
@@ -6282,6 +6284,10 @@ reciprocal of the machine-specific builtin function @var{fndecl}, or
 @code{NULL_TREE} if such a function is not available.
 @end deftypefn
 
+@node Vectorization
+@section Vectorization
+@cindex Vectorization
+
 @deftypefn {Target Hook} tree TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD (void)
 This hook should return the DECL of a function @var{f} that given an
 address @var{addr} as an argument returns a mask @var{m} that can be
@@ -6522,6 +6528,10 @@ number of scalar elements in each scalar loop iteration that are to be
 combined into the vector.
 @end deftypefn
 
+@node OpenMP and OpenACC
+@section OpenMP and OpenACC
+@cindex OpenMP and OpenACC
+
 @deftypefn {Target Hook} int TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN (struct cgraph_node *@var{}, struct cgraph_simd_clone *@var{}, @var{tree}, @var{int}, @var{bool})
 This hook should set @var{vecsize_mangle}, @var{vecsize_int}, @var{vecsize_float}
 fields in @var{simd_clone} structure pointed by @var{clone_info} argument and also
index 1a51ad5481792c88121eb8af0f82910c1980fa38..12b8ed660a084cca8c5633b8e81975f0c4966960 100644 (file)
@@ -37,6 +37,8 @@ through the macros defined in the @file{.h} file.
 * Trampolines::         Code set up at run time to enter a nested function.
 * Library Calls::       Controlling how library routines are implicitly called.
 * Addressing Modes::    Defining addressing modes valid for memory operands.
+* Vectorization::       Controlling how the vectorizer operates.
+* OpenMP and OpenACC::  Defining how OpenMP and OpenACC features should work.
 * Anchored Addresses::  Defining how @option{-fsection-anchors} should work.
 * Condition Code::      Defining how insns update the condition code.
 * Costs::               Defining relative costs of different operations.
@@ -4273,6 +4275,10 @@ address;  but often a machine-dependent strategy can generate better code.
 
 @hook TARGET_BUILTIN_RECIPROCAL
 
+@node Vectorization
+@section Vectorization
+@cindex Vectorization
+
 @hook TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD
 
 @hook TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST
@@ -4313,6 +4319,10 @@ address;  but often a machine-dependent strategy can generate better code.
 
 @hook TARGET_VECTORIZE_PREFER_GATHER_SCATTER
 
+@node OpenMP and OpenACC
+@section OpenMP and OpenACC
+@cindex OpenMP and OpenACC
+
 @hook TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN
 
 @hook TARGET_SIMD_CLONE_ADJUST