[llvm-branch-commits] [cfe-branch] r338574 - Regenerate ClangCommandLineReference.rst
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 1 08:27:26 PDT 2018
Author: hans
Date: Wed Aug 1 08:27:26 2018
New Revision: 338574
URL: http://llvm.org/viewvc/llvm-project?rev=338574&view=rev
Log:
Regenerate ClangCommandLineReference.rst
$ bin/clang-tblgen -gen-opt-docs -I../cfe.src/include \
-I../cfe.src/include/clang/Driver -I../llvm.src/include \
../cfe.src/include/clang/Driver/ClangOptionDocs.td \
-o ../cfe.src/docs/ClangCommandLineReference.rst
Modified:
cfe/branches/release_70/docs/ClangCommandLineReference.rst
Modified: cfe/branches/release_70/docs/ClangCommandLineReference.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_70/docs/ClangCommandLineReference.rst?rev=338574&r1=338573&r2=338574&view=diff
==============================================================================
--- cfe/branches/release_70/docs/ClangCommandLineReference.rst (original)
+++ cfe/branches/release_70/docs/ClangCommandLineReference.rst Wed Aug 1 08:27:26 2018
@@ -36,7 +36,7 @@ Treat source input files as Objective-C
Treat source input files as Objective-C++ inputs
-.. option:: -Qn
+.. option:: -Qn, -fno-ident
Do not emit metadata containing compiler name and version
@@ -44,7 +44,7 @@ Do not emit metadata containing compiler
Don't emit warning for unused driver arguments
-.. option:: -Qy
+.. option:: -Qy, -fident
Emit metadata containing compiler name and version
@@ -214,9 +214,13 @@ Flush denormal floating point values to
Generate relocatable device code, also known as separate compilation mode.
+.. option:: -fcuda-short-ptr, -fno-cuda-short-ptr
+
+Use 32-bit pointers for accessing const/local/shared address spaces.
+
.. option:: -ffixed-r19
-Reserve the r19 register (Hexagon only)
+Reserve register r19 (Hexagon only)
.. option:: -fheinous-gnu-extensions
@@ -260,6 +264,10 @@ Display available options
Display help for hidden options
+.. option:: --hip-link
+
+Link clang-offload-bundler bundles for HIP
+
.. option:: -image\_base <arg>
.. option:: -index-header-map
@@ -712,6 +720,12 @@ Attempt to match the ABI of Clang <versi
Treat each comma separated argument in <arg> as a documentation comment block command
+.. option:: -fcomplete-member-pointers, -fno-complete-member-pointers
+
+Require member pointer base types to be complete if they would be significant under the Microsoft ABI
+
+.. option:: -fcrash-diagnostics-dir=<arg>
+
.. option:: -fdeclspec, -fno-declspec
Allow \_\_declspec as a keyword
@@ -746,7 +760,7 @@ Enables an experimental new pass manager
.. option:: -ffine-grained-bitfield-accesses, -fno-fine-grained-bitfield-accesses
-Use separate accesses for bitfields with legal widths and alignments.
+Use separate accesses for consecutive bitfield runs with legal widths and alignments.
.. option:: -finline-functions, -fno-inline-functions
@@ -854,6 +868,10 @@ Strip (or keep only, if negative) a give
Turn on runtime checks for various forms of undefined or suspicious behavior. See user manual for available checks
+.. option:: -moutline, -mno-outline
+
+Enable function outlining (AArch64 only)
+
.. option:: --param <arg>, --param=<arg>
.. option:: -std=<arg>, --std=<arg>, --std <arg>
@@ -1151,6 +1169,10 @@ Target-independent compilation options
.. option:: -faccess-control, -fno-access-control
+.. option:: -faddrsig, -fno-addrsig
+
+Emit an address-significance table
+
.. option:: -falign-functions, -fno-align-functions
.. program:: clang1
@@ -1229,6 +1251,10 @@ Load the clang builtins module map file.
Instrument control-flow architecture protection. Options: return, branch, full, none.
+.. option:: -fchar8\_t, -fno-char8\_t
+
+Enable C++ builtin type char8\_t
+
.. option:: -fclasspath=<arg>, --CLASSPATH <arg>, --CLASSPATH=<arg>, --classpath <arg>, --classpath=<arg>
.. option:: -fcolor-diagnostics, -fno-color-diagnostics
@@ -1293,6 +1319,10 @@ Place debug types in their own section (
Parse templated function definitions at the end of the translation unit
+.. option:: -fdelete-null-pointer-checks, -fno-delete-null-pointer-checks
+
+Treat usage of null pointers as undefined behavior.
+
.. option:: -fdenormal-fp-math=<arg>
.. option:: -fdiagnostics-absolute-paths
@@ -1325,6 +1355,10 @@ Print option name with mappable diagnost
Print a template comparison tree for differing templates
+.. option:: -fdigraphs, -fno-digraphs
+
+Enable alternative token representations '<:', ':>', '<%', '%>', '%:', '%:%:' (default)
+
.. option:: -fdollars-in-identifiers, -fno-dollars-in-identifiers
Allow '$' in identifiers
@@ -1375,8 +1409,16 @@ Allow aggressive, lossy floating-point o
.. option:: -ffinite-math-only, -fno-finite-math-only
+.. option:: -ffixed-point, -fno-fixed-point
+
+Enable fixed point types
+
.. option:: -ffor-scope, -fno-for-scope
+.. option:: -fforce-emit-vtables, -fno-force-emit-vtables
+
+Emits more virtual tables to improve devirtualization
+
.. option:: -fforce-enable-int128, -fno-force-enable-int128
Enable support for int128\_t type
@@ -1543,14 +1585,6 @@ Specifies the largest alignment guarante
Disable implicit builtin knowledge of a specific function
-.. option:: -fdelete-null-pointer-checks, -fno-delete-null-pointer-checks
-
-When enabled, treat null pointer dereference, creation of a reference to null,
-or passing a null pointer to a function parameter annotated with the "nonnull"
-attribute as undefined behavior. (And, thus the optimizer may assume that any
-pointer used in such a way must not have been null and optimize away the
-branches accordingly.) On by default.
-
.. option:: -fno-elide-type
Do not elide types when printing diagnostics
@@ -1834,6 +1868,10 @@ Emit full debug info for all types used
Enable optimizations based on the strict definition of an enum's value range
+.. option:: -fstrict-float-cast-overflow, -fno-strict-float-cast-overflow
+
+Assume that overflowing float-to-int casts are undefined (default)
+
.. option:: -fstrict-overflow, -fno-strict-overflow
.. option:: -fstrict-return, -fno-strict-return
@@ -1942,12 +1980,6 @@ Set the default symbol visibility for al
Enables whole-program vtable optimization. Requires -flto
-.. option:: -fforce-emit-vtables, -fno-force-emit-vtables
-
-In order to improve devirtualization, forces emitting of vtables even in
-modules where it isn't necessary. It causes more inline virtual functions
-to be emitted.
-
.. option:: -fwrapv, -fno-wrapv
Treat signed integer overflow as two's complement
@@ -2078,12 +2110,6 @@ Put objects of at most <size> bytes into
.. option:: -mabi=<arg>
-.. option:: -mabicalls, -mno-abicalls
-
-Enable SVR4-style position-independent code (Mips only)
-
-.. option:: -mabs=<arg>
-
.. option:: -malign-double
Align doubles to two words in structs (x86 only)
@@ -2096,25 +2122,19 @@ Align doubles to two words in structs (x
Link stack frames through backchain on System Z
-.. option:: -mcheck-zero-division, -mno-check-zero-division
-
.. option:: -mcmodel=<arg>
-.. option:: -mcompact-branches=<arg>
-
.. option:: -mconsole<arg>
.. option:: -mcpu=<arg>, -mv4 (equivalent to -mcpu=hexagonv4), -mv5 (equivalent to -mcpu=hexagonv5), -mv55 (equivalent to -mcpu=hexagonv55), -mv60 (equivalent to -mcpu=hexagonv60), -mv62 (equivalent to -mcpu=hexagonv62), -mv65 (equivalent to -mcpu=hexagonv65)
-.. option:: -mdefault-build-attributes<arg>, -mno-default-build-attributes<arg>
-
-.. option:: -mdll<arg>
+.. option:: -mcrc, -mno-crc
-.. option:: -mdouble-float
+Allow use of CRC instructions (ARM/Mips only)
-.. option:: -mdsp, -mno-dsp
+.. option:: -mdefault-build-attributes<arg>, -mno-default-build-attributes<arg>
-.. option:: -mdspr2, -mno-dspr2
+.. option:: -mdll<arg>
.. option:: -mdynamic-no-pic<arg>
@@ -2122,28 +2142,12 @@ Link stack frames through backchain on S
Set EABI type, e.g. 4, 5 or gnu (default depends on triple)
-.. option:: -membedded-data, -mno-embedded-data
-
-Place constants in the .rodata section instead of the .sdata section even if they meet the -G <size> threshold (MIPS)
-
-.. option:: -mextern-sdata, -mno-extern-sdata
-
-Assume that externally defined data is in the small data if it meets the -G <size> threshold (MIPS)
-
.. option:: -mfentry
Insert calls to fentry at function entry (x86 only)
.. option:: -mfloat-abi=<arg>
-.. option:: -mfp32
-
-Use 32-bit floating point registers (MIPS only)
-
-.. option:: -mfp64
-
-Use 64-bit floating point registers (MIPS only)
-
.. option:: -mfpmath=<arg>
.. option:: -mfpu=<arg>
@@ -2152,10 +2156,6 @@ Use 64-bit floating point registers (MIP
Enable merging of globals
-.. option:: -mgpopt, -mno-gpopt
-
-Use GP relative accesses for symbols known to be in a small data section (MIPS)
-
.. option:: -mhard-float
.. option:: -mhwdiv=<arg>, --mhwdiv <arg>, --mhwdiv=<arg>
@@ -2172,22 +2172,10 @@ Use Intel MCU ABI
(integrated-as) Emit an object file which can be used with an incremental linker
-.. option:: -mindirect-jump=<arg>
-
-Change indirect jump instructions to inhibit speculation
-
.. option:: -miphoneos-version-min=<arg>, -mios-version-min=<arg>
-.. option:: -mips16
-
.. option:: -mkernel
-.. option:: -mldc1-sdc1, -mno-ldc1-sdc1
-
-.. option:: -mlocal-sdata, -mno-local-sdata
-
-Extend the -G behaviour to object local data (MIPS)
-
.. option:: -mlong-calls, -mno-long-calls
Generate branches with extended addressability, usually via indirect jumps.
@@ -2196,30 +2184,12 @@ Generate branches with extended addressa
Set Mac OS X deployment target
-.. option:: -mmadd4, -mno-madd4
-
-Enable the generation of 4-operand madd.s, madd.d and related instructions.
-
.. option:: -mmcu=<arg>
-.. option:: -mmicromips, -mno-micromips
-
.. option:: -mms-bitfields, -mno-ms-bitfields
Set the default structure layout to be compatible with the Microsoft compiler standard
-.. option:: -mmsa, -mno-msa
-
-Enable MSA ASE (MIPS only)
-
-.. option:: -mmt, -mno-mt
-
-Enable MT ASE (MIPS only)
-
-.. option:: -mnan=<arg>
-
-.. option:: -mno-mips16
-
.. option:: -momit-leaf-frame-pointer, -mno-omit-leaf-frame-pointer
Omit frame pointer setup for leaf functions
@@ -2256,8 +2226,6 @@ Enable hexagon-qdsp6 backward compatibil
Make StdCall calling convention the default
-.. option:: -msingle-float
-
.. option:: -msoft-float, -mno-soft-float
Use software floating point
@@ -2302,8 +2270,6 @@ The thread model to use, e.g. posix, sin
.. option:: -mx32
-.. option:: -mxgot, -mno-xgot
-
AARCH64
-------
.. option:: -ffixed-x18
@@ -2334,10 +2300,6 @@ ARM
Reserve the r9 register (ARM only)
-.. option:: -mcrc
-
-Allow use of CRC instructions (ARM only)
-
.. option:: -mexecute-only, -mno-execute-only, -mpure-code
Disallow generation of data access to code sections (ARM only)
@@ -2370,6 +2332,18 @@ Hexagon
-------
.. option:: -mieee-rnd-near
+.. option:: -mmemops, -mno-memops
+
+Enable generation of memop instructions
+
+.. option:: -mnvj, -mno-nvj
+
+Enable generation of new-value jumps
+
+.. option:: -mnvs, -mno-nvs
+
+Enable generation of new-value stores
+
.. option:: -mpackets, -mno-packets
Enable generation of instruction packets
@@ -2390,6 +2364,82 @@ Set Hexagon Vector Length
Enable Hexagon Vector eXtensions
+MIPS
+----
+.. option:: -mabicalls, -mno-abicalls
+
+Enable SVR4-style position-independent code (Mips only)
+
+.. option:: -mabs=<arg>
+
+.. option:: -mcheck-zero-division, -mno-check-zero-division
+
+.. option:: -mcompact-branches=<arg>
+
+.. option:: -mdouble-float
+
+.. option:: -mdsp, -mno-dsp
+
+.. option:: -mdspr2, -mno-dspr2
+
+.. option:: -membedded-data, -mno-embedded-data
+
+Place constants in the .rodata section instead of the .sdata section even if they meet the -G <size> threshold (MIPS)
+
+.. option:: -mextern-sdata, -mno-extern-sdata
+
+Assume that externally defined data is in the small data if it meets the -G <size> threshold (MIPS)
+
+.. option:: -mfp32
+
+Use 32-bit floating point registers (MIPS only)
+
+.. option:: -mfp64
+
+Use 64-bit floating point registers (MIPS only)
+
+.. option:: -mginv, -mno-ginv
+
+.. option:: -mgpopt, -mno-gpopt
+
+Use GP relative accesses for symbols known to be in a small data section (MIPS)
+
+.. option:: -mindirect-jump=<arg>
+
+Change indirect jump instructions to inhibit speculation
+
+.. option:: -mips16
+
+.. option:: -mldc1-sdc1, -mno-ldc1-sdc1
+
+.. option:: -mlocal-sdata, -mno-local-sdata
+
+Extend the -G behaviour to object local data (MIPS)
+
+.. option:: -mmadd4, -mno-madd4
+
+Enable the generation of 4-operand madd.s, madd.d and related instructions.
+
+.. option:: -mmicromips, -mno-micromips
+
+.. option:: -mmsa, -mno-msa
+
+Enable MSA ASE (MIPS only)
+
+.. option:: -mmt, -mno-mt
+
+Enable MT ASE (MIPS only)
+
+.. option:: -mnan=<arg>
+
+.. option:: -mno-mips16
+
+.. option:: -msingle-float
+
+.. option:: -mvirt, -mno-virt
+
+.. option:: -mxgot, -mno-xgot
+
PowerPC
-------
.. option:: -maltivec, -mno-altivec
@@ -2504,6 +2554,8 @@ X86
.. option:: -mgfni, -mno-gfni
+.. option:: -minvpcid, -mno-invpcid
+
.. option:: -mlwp, -mno-lwp
.. option:: -mlzcnt, -mno-lzcnt
@@ -2512,16 +2564,18 @@ X86
.. option:: -mmovbe, -mno-movbe
-.. option:: -mmovdiri, -mno-movdiri
-
.. option:: -mmovdir64b, -mno-movdir64b
+.. option:: -mmovdiri, -mno-movdiri
+
.. option:: -mmpx, -mno-mpx
.. option:: -mmwaitx, -mno-mwaitx
.. option:: -mpclmul, -mno-pclmul
+.. option:: -mpconfig, -mno-pconfig
+
.. option:: -mpku, -mno-pku
.. option:: -mpopcnt, -mno-popcnt
@@ -2530,6 +2584,8 @@ X86
.. option:: -mprfchw, -mno-prfchw
+.. option:: -mptwrite, -mno-ptwrite
+
.. option:: -mrdpid, -mno-rdpid
.. option:: -mrdrnd, -mno-rdrnd
@@ -2588,6 +2644,12 @@ X86
.. option:: -mxsaves, -mno-xsaves
+RISCV
+-----
+.. option:: -mrelax, -mno-relax
+
+Enable linker relaxation
+
Optimization level
~~~~~~~~~~~~~~~~~~
@@ -2671,7 +2733,7 @@ Debug information flags
Embed source text in DWARF debug sections
-.. option:: -ggnu-pubnames
+.. option:: -ggnu-pubnames, -gno-gnu-pubnames
.. option:: -grecord-gcc-switches, -gno-record-gcc-switches
@@ -2886,6 +2948,14 @@ Pass <arg> to the linker
.. option:: -filelist <arg>
+.. option:: --hip-device-lib-path=<arg>
+
+HIP device library path
+
+.. option:: --hip-device-lib=<arg>
+
+HIP device library
+
.. option:: -l<arg>
.. option:: -r
More information about the llvm-branch-commits
mailing list