teak-llvm/llvm/docs/CommandGuide
Thomas Preud'homme 8e96697c7d FileCheck [9/12]: Add support for matching formats
Summary:
This patch is part of a patch series to add support for FileCheck
numeric expressions. This specific patch adds support for selecting a
matching format to match a numeric value against (ie. decimal, hex lower
case letters or hex upper case letters).

This commit allows to select what format a numeric value should be
matched against. The following formats are supported: decimal value,
lower case hex value and upper case hex value. Matching formats impact
both the format of numeric value to be matched as well as the format of
accepted numbers in a definition with empty numeric expression
constraint.

Default for absence of format is decimal value unless the numeric
expression constraint is non null and use a variable in which case the
format is the one used to define that variable. Conclict of format in
case of several variable being used is diagnosed and forces the user to
select a matching format explicitely.

This commit also enables immediates in numeric expressions to be in any
radix known to StringRef's GetAsInteger method, except for legacy
numeric expressions (ie [[@LINE+<offset>]] which only support decimal
immediates.

Copyright:
    - Linaro (changes up to diff 183612 of revision D55940)
    - GraphCore (changes in later versions of revision D55940 and
                 in new revision created off D55940)

Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson

Reviewed By: jhenderson, arichardson

Subscribers: daltenty, MaskRay, hiraditya, llvm-commits, probinson, dblaikie, grimar, arichardson, kristina, hfinkel, rogfer01, JonChesterfield

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60389
2020-01-24 14:15:28 +00:00
..
bugpoint.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
dsymutil.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
FileCheck.rst FileCheck [9/12]: Add support for matching formats 2020-01-24 14:15:28 +00:00
index.rst Reland "[utils] Implement the llvm-locstats tool" 2019-10-02 07:00:01 +00:00
lit.rst [llvm] NFC: fix trivial typos in documents 2020-01-22 11:32:51 +08:00
llc.rst [Remarks] Remove references to ELF support 2019-10-28 12:50:46 -07:00
lli.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-addr2line.rst [llvm-symbolizer] Support reading options from environment 2019-12-20 12:47:27 -08:00
llvm-ar.rst [docs][llvm-ar] Update llvm-ar command guide 2019-10-21 13:13:31 +00:00
llvm-as.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-bcanalyzer.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-build.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-config.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-cov.rst Revert "[llvm-cov] Add option to whitelist filenames" 2019-10-29 22:38:38 -07:00
llvm-cxxfilt.rst [docs] Make --version text more correct 2019-09-17 11:43:42 +00:00
llvm-cxxmap.rst llvm-cxxmap: fix support for remapping non-mangled names. 2019-12-18 10:47:02 -08:00
llvm-diff.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-dis.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-dwarfdump.rst [docs][llvm-dwarfdump] Normalise some wording 2019-07-10 08:56:13 +00:00
llvm-exegesis-analysis.png
llvm-exegesis.rst [llvm-exegesis] Add options to SnippetGenerator. 2019-10-08 14:30:24 +00:00
llvm-extract.rst [docs] [tools] Fix see also links 2019-07-04 21:19:05 +00:00
llvm-lib.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-link.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-lipo.rst [llvm-lipo] Update llvm-lipo docs for -info -thin -create -replace -segalign flags 2019-08-07 23:25:12 +00:00
llvm-locstats.rst [llvm-locstats] Add the --compare option 2020-01-15 14:35:29 +01:00
llvm-mca.rst [MCA] Show aggregate over Average Wait times for the whole snippet (PR43219) 2019-10-10 14:46:21 +00:00
llvm-nm.rst [docs] Make --version text more correct 2019-09-17 11:43:42 +00:00
llvm-objcopy.rst [doc][llvm-objcopy] Remove redundant COFF-specific sub-heading 2020-01-24 10:25:39 +00:00
llvm-objdump.rst [docs] Make --version text more correct 2019-09-17 11:43:42 +00:00
llvm-pdbutil.rst [docs][tools] Add missing "program" tags to rst files 2019-06-27 13:24:46 +00:00
llvm-profdata.rst [llvm-profdata] Add mode to recover from profile read failures 2019-09-03 22:23:16 +00:00
llvm-ranlib.rst Fix some regressions caused by r369553 on old versions of Debian and Ubuntu 2019-08-22 12:16:08 +00:00
llvm-readelf.rst [llvm-readobj/llvm-readelf] Delete --arm-attributes (alias for --arch-specific) 2019-10-01 01:31:15 +00:00
llvm-readobj.rst [llvm-readobj] - Implement --dependent-libraries flag. 2019-12-06 14:28:29 +03:00
llvm-size.rst [docs][llvm-size] Fix typo 2019-09-24 13:14:22 +00:00
llvm-stress.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
llvm-strings.rst [docs][llvm-strings] Clarify "printable character" wording 2019-09-25 13:09:17 +00:00
llvm-strip.rst [llvm-objcopy] Preserve .ARM.attributes section when stripping files 2019-10-31 11:57:19 +00:00
llvm-symbolizer.rst [llvm-symbolizer] Support reading options from environment 2019-12-20 12:47:27 -08:00
locstats-compare.png [llvm-locstats] Add the --compare option 2020-01-15 14:35:29 +01:00
locstats-draw-plot.png [llvm-locstats] Fix the docs 2020-01-15 12:32:01 +01:00
opt.rst [docs] [NFC] Removed excess spacing 2019-07-04 04:41:06 +00:00
tblgen.rst [llvm] NFC: fix trivial typos in documents 2020-01-22 11:32:51 +08:00