Commit Graph

381 Commits

Author SHA1 Message Date
Rafael Espindola
d25e9dbc11 Add a opt-args option that can be used to pass arguments to every opt
invocation. Fixes PR7793:

bugpoint -debug test.ll --opt-args -unroll-count=4

llvm-svn: 110555
2010-08-08 22:14:20 +00:00
Daniel Dunbar
2b45036b3b Test commit.
llvm-svn: 103479
2010-05-11 17:22:45 +00:00
Tanya Lattner
0b1b95f2c1 Test commit.
llvm-svn: 103478
2010-05-11 16:47:42 +00:00
Tanya Lattner
2cc9bc56c9 Test commit.
llvm-svn: 103477
2010-05-11 16:46:45 +00:00
mike-m
3baf2ffb17 Revert r103213. It broke several sections of live website.
llvm-svn: 103219
2010-05-07 00:28:04 +00:00
mike-m
6b8861e9f6 Overhauled llvm/clang docs builds. Closes PR6613.
NOTE: 2nd part changeset for cfe trunk to follow.

*** PRE-PATCH ISSUES ADDRESSED

- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
  assumptions and make use of absolute root in static html files;
  namely CommandGuide tools hard codes a website destination
  for cross references and some html cross references assume
  website root paths

*** IMPROVEMENTS

- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
  if any target (or any variable is evaluated) which attempts
  to remove any dirs which match a hard-coded 'safelist', a verbose
  error will be printed and make will error-stop.

llvm-svn: 103213
2010-05-06 23:45:43 +00:00
Duncan Sands
153ad3b903 Remove the -enable-sjlj-eh option, which doesn't do anything.
Remove the -enable-eh option which is only used by the JIT,
and replace it with -jit-enable-eh.

llvm-svn: 102865
2010-05-02 15:36:26 +00:00
Erick Tryzelaar
4e7593750d Rewrite makefiles to explicitly reference DESTDIR to fix bug 3153.
We need this so can not bake DESTDIR into the O'Caml symlinks.

llvm-svn: 97743
2010-03-04 20:56:19 +00:00
Duncan Sands
b7bb8ab12e Uniformize the way these options are printed. Requested by
Russell Wallace.

llvm-svn: 96580
2010-02-18 14:37:52 +00:00
Duncan Sands
ca05b607b7 Refer to -help instead of --help since this is what tools themselves say.
Also, have tools output -help-hidden rather than refer to --help-hidden,
for consistency, and likewise adjust documentation.  This doesn't change
every mention of --help, only those which seemed clearly safe.

llvm-svn: 96578
2010-02-18 14:08:13 +00:00
Dan Gohman
c69b856563 llvm-db was removed.
llvm-svn: 95904
2010-02-11 19:35:26 +00:00
Dan Gohman
8c140d394f Add support to llvm-extract for extracting multiple functions and/or
multiple global variables at a time.

llvm-svn: 95825
2010-02-10 23:58:53 +00:00
Duncan Sands
70a24159d2 Fix some typos.
llvm-svn: 95542
2010-02-08 11:03:31 +00:00
Mikhail Glushenkov
f30281e08a Support -[weak_]framework and -F in llvmc.
llvm-svn: 90210
2009-12-01 05:59:55 +00:00
Daniel Dunbar
1b60708ac9 Allow '_' in FileCheck variable names, it is nice to have at least one
separate character.
 - Chris, OK?

llvm-svn: 89626
2009-11-22 22:07:50 +00:00
Daniel Dunbar
a812eb66b3 lit: Add --repeat=N option, for running each test N times.
- Currently just useful for timing, although it could be extended as one (bad) way to deal with flaky tests.

llvm-svn: 88827
2009-11-15 01:02:09 +00:00
Daniel Dunbar
9b762e5350 lit: Start documentation testing architecture.
llvm-svn: 86655
2009-11-10 02:41:27 +00:00
Daniel Dunbar
47718a1f47 lit: Add --param NAME=VALUE option, for test suite specific use (to communicate
arbitrary command line arguments to the test suite).

llvm-svn: 86137
2009-11-05 16:27:33 +00:00
Daniel Dunbar
499815e9f9 lit: Add --config-prefix option, to override default config file names.
llvm-svn: 85035
2009-10-25 03:30:55 +00:00
Daniel Dunbar
bf3dab83fa Add link to 'lit' from CommandGuide.
llvm-svn: 84461
2009-10-19 03:54:13 +00:00
Chris Lattner
fa8927e20c check in a bunch of content from TestingGuide. Part of PR5216
llvm-svn: 84309
2009-10-17 04:47:42 +00:00
Daniel Dunbar
d383d40999 Put back non-obsolete -f sections for 'opt'.
llvm-svn: 81954
2009-09-15 23:40:07 +00:00
Daniel Dunbar
ee9eb09812 Remove references to obsolete -f option.
llvm-svn: 81911
2009-09-15 20:31:35 +00:00
Daniel Dunbar
cdf090d89f Update llc/opt PODs to clarify they support .ll input.
llvm-svn: 81910
2009-09-15 20:31:28 +00:00
Dan Gohman
98752b1ba2 Give llvm-link a -S option.
llvm-svn: 81859
2009-09-15 15:35:07 +00:00
Dan Gohman
149ac38d37 Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't
working. To support this, add an is_displayed() function to raw_ostream,
and generalize Process::StandardOutIsDisplayed and friends in order to
support it.

Also, call RemoveFileOnSignal before creating a file instead of after, so
that the file isn't left behind if the program is interrupted between when
the file is created and RemoveFileOnSignal is called.

While here, add a -S to llvm-extract and port it to IRReader so that it
supports assembly input.

llvm-svn: 81568
2009-09-11 20:46:33 +00:00
Daniel Dunbar
640436d7af Add 'lit' testing tool.
- make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more
   information.

llvm-svn: 81190
2009-09-08 05:31:18 +00:00
Daniel Dunbar
076b234d1e Document opt -S argument.
llvm-svn: 81140
2009-09-07 04:03:44 +00:00
Dan Gohman
44d265ff91 Update documentation for the -f change.
llvm-svn: 79996
2009-08-25 15:54:01 +00:00
Douglas Gregor
3b7e904fff Don't install the man page for FileCheck
llvm-svn: 79826
2009-08-23 05:24:49 +00:00
Chris Lattner
23980ad923 fix pasto noticed by Jakub
llvm-svn: 79109
2009-08-15 16:18:56 +00:00
Chris Lattner
2c1ede52d0 add a simple FileCheck man page.
llvm-svn: 79105
2009-08-15 15:38:11 +00:00
Sanjiv Gupta
061f9abed9 Added -b option to override the default bitcode output file name.
llvm-svn: 76768
2009-07-22 18:41:45 +00:00
Mikhail Glushenkov
e779ca7370 Update documentation.
llvm-svn: 75375
2009-07-11 19:27:40 +00:00
Mikhail Glushenkov
b067c19529 Documentation update.
llvm-svn: 75166
2009-07-09 19:39:16 +00:00
Mikhail Glushenkov
c40a28803f Update documentation.
llvm-svn: 74191
2009-06-25 18:20:44 +00:00
Bill Wendling
7546bed590 Second attempt:
Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimizations are run at different -O levels.

Most of this work was pretty mechanical. The majority of the fixes came from
verifying that a "fast" variable wasn't used anymore. The JIT still uses a
"Fast" flag. I'll change the JIT with a follow-up patch.

llvm-svn: 70343
2009-04-29 00:15:41 +00:00
Mikhail Glushenkov
d1d0033738 Documentation update.
Expand a bit on various '--*-graph' options.

llvm-svn: 67836
2009-03-27 12:58:29 +00:00
Bill Wendling
1063de1ee0 Document the -gcc-tool-args bugpoint option.
llvm-svn: 65897
2009-03-02 23:15:59 +00:00
Bill Wendling
a054357656 Fix typo. Found by William Moss.
llvm-svn: 65693
2009-02-28 12:26:34 +00:00
Mikhail Glushenkov
898af4fdfa Mimic gcc behaviour with regard to response files.
llvm-svn: 62688
2009-01-21 13:14:02 +00:00
Chris Lattner
e53b562bee remove some dead options.
llvm-svn: 62095
2009-01-12 19:02:50 +00:00
Mikhail Glushenkov
6761ea2676 Add a --check-graph option to llvmc.
llvm-svn: 61989
2009-01-09 16:16:27 +00:00
Mikhail Glushenkov
645ac8a052 Man page update.
llvm-svn: 60918
2008-12-12 02:34:56 +00:00
Misha Brukman
5cb753f05b * Fixed formatting of command descriptions to be consistent:
- descriptions on new line
  - no terminating period
* Changed the W3C logos from yellow to blue to not stand out

llvm-svn: 60879
2008-12-11 17:12:52 +00:00
Mikhail Glushenkov
18f6dc1f16 Man page typo fix.
llvm-svn: 60765
2008-12-09 14:41:00 +00:00
Dan Gohman
df0e24acce Generalize bugpoint's concept of a "safe" backend, and add options
to allow the "safe" backend to be run with a different path, and/or
with different command-line options.

This enables the following use cases:
 - bugpoint llc against an llc command from a different build
 - bugpoint llc against the same llc with different command-line options
 - and more...

Also, document the existing "custom" interpreter options.

llvm-svn: 60681
2008-12-08 04:02:47 +00:00
Mikhail Glushenkov
63bd106f2c Man page update.
llvm-svn: 60669
2008-12-07 16:48:07 +00:00
Mikhail Glushenkov
1381c387d4 Describe some more options in the man page.
llvm-svn: 60105
2008-11-26 13:40:08 +00:00
Mikhail Glushenkov
f9b34b48d8 Add a man page for llvmc. Really basic for now, will be updated later.
llvm-svn: 60049
2008-11-25 21:38:38 +00:00
Chris Lattner
5e1737662b llvm-ld doesn't have a -march option. This fixes PR2961
llvm-svn: 58345
2008-10-28 20:05:06 +00:00
Nick Lewycky
6288e2288d Remove -check-exit-code from bugpoint. This is subsumed by -append-exit-code.
Note that -check-exit-code was on by default while -append-exit-code is not.

llvm-svn: 58221
2008-10-26 23:59:36 +00:00
Chris Lattner
fba89ee08e stacker is really gone.
llvm-svn: 54400
2008-08-06 05:57:58 +00:00
Chris Lattner
127375e0ed remove stacker
llvm-svn: 54398
2008-08-06 05:56:52 +00:00
Chris Lattner
0e8a5a0004 remove a bunch of dead options that never did anything.
llvm-svn: 52727
2008-06-25 16:44:52 +00:00
Dale Johannesen
1d33a78de9 Improve description of -emit-llvm.
llvm-svn: 52238
2008-06-12 17:04:09 +00:00
Tanya Lattner
6319e64984 Create dirs as needed.
llvm-svn: 52131
2008-06-09 07:14:31 +00:00
Anton Korobeynikov
14d085975f Remove entries from here also
llvm-svn: 50616
2008-05-04 06:23:44 +00:00
Anton Korobeynikov
67c3a24fc6 Drop llvmc also, it will be replaced by shiny new llvmc2
llvm-svn: 50615
2008-05-04 06:19:55 +00:00
Anton Korobeynikov
7a74dc55b7 Drop llvm2cpp, it's now a llc target
llvm-svn: 50614
2008-05-04 06:16:50 +00:00
Tanya Lattner
185ece0559 Added note to getting started guide to use llvm-gcc4.2.
Removed llvm-upgrade from documentations.

llvm-svn: 49346
2008-04-07 18:32:25 +00:00
Erick Tryzelaar
1bca06f4c6 Tweak build system to allow for installing the tutorial and uninstalling the docs.
llvm-svn: 48968
2008-03-30 20:32:18 +00:00
Chris Lattner
22172fbf15 heavily refactor this to have less duplication between BUILD_FOR_WEBSITE mode and not.
llvm-svn: 46991
2008-02-12 06:07:47 +00:00
Chris Lattner
6aece93d5c remove attributions from the rest of the llvm makefiles.
llvm-svn: 45416
2007-12-29 20:11:13 +00:00
Reid Spencer
935996673b Who thought up this crazy formatting scheme?
llvm-svn: 40905
2007-08-07 17:57:36 +00:00
Reid Spencer
e4969b8dd8 Okay, over/back tags don't next.
llvm-svn: 40904
2007-08-07 17:48:56 +00:00
Reid Spencer
e0c4eabdb4 Try an indent level for better formatting.
Add the -version option.

llvm-svn: 40902
2007-08-07 17:43:48 +00:00
Reid Spencer
a24e48a333 Add the code generation options.
llvm-svn: 40900
2007-08-07 17:12:43 +00:00
Reid Spencer
90d744fa3c Rearrange options into sections and add the last floating point related option.
llvm-svn: 40895
2007-08-07 16:29:57 +00:00
Reid Spencer
5782b7cd9b Add the -disable-excess-fp-precision option.
llvm-svn: 40894
2007-08-07 16:23:42 +00:00
Reid Spencer
7c05e078c6 Add another missing option.
llvm-svn: 40893
2007-08-07 16:21:52 +00:00
Reid Spencer
24f5859477 Add some more missing options.
llvm-svn: 40892
2007-08-07 16:11:57 +00:00
Reid Spencer
840ae20dd9 Remove the -f option which is no longer supported, but add the -fake-argv0
option which is similar.

llvm-svn: 40891
2007-08-07 15:48:16 +00:00
Reid Spencer
345f5f8e68 Update links to the command guide generated documentation.
llvm-svn: 40855
2007-08-05 23:43:44 +00:00
Nick Lewycky
36644b4452 Alphabetize. Document -mlimit parameter.
llvm-svn: 39990
2007-07-18 04:24:20 +00:00
Gabor Greif
5a0d9f3667 eliminated all references to 'bytecode' from .pod files
llvm-svn: 38452
2007-07-09 11:24:05 +00:00
Reid Spencer
9f434c9cc2 Bytecode -> Bitcode
llvm-svn: 38438
2007-07-09 06:45:18 +00:00
Reid Spencer
0563f22a8d Minor language change upgrader -> upgrade tool
llvm-svn: 38437
2007-07-09 06:42:22 +00:00
Reid Spencer
75d98805d7 This dir does not appear under /docs anymore but under /cmds so use an
absolute path to the llvm.css file.

llvm-svn: 38436
2007-07-09 06:32:55 +00:00
Reid Spencer
6f4f964955 Fix some minor typos.
llvm-svn: 38434
2007-07-09 06:14:11 +00:00
Reid Spencer
23bd3fe3f2 Fix some typos.
llvm-svn: 38433
2007-07-09 06:06:45 +00:00
Reid Spencer
23408fd350 Fix a typo.
llvm-svn: 38432
2007-07-09 06:01:20 +00:00
Reid Spencer
371d39bce1 Fix a typo.
llvm-svn: 38431
2007-07-09 05:58:08 +00:00
Reid Spencer
087f4f5691 Fix some minor typos, again to test the auto-update of the web site.
llvm-svn: 38430
2007-07-09 05:52:49 +00:00
Reid Spencer
c1faa26daf Remove an unneeded space, mostly to verify that auto-update of the
documentation is working.

llvm-svn: 38429
2007-07-09 05:33:45 +00:00
Reid Spencer
850148a2d1 Add a note about llvm2cpp's dubious future.
llvm-svn: 37906
2007-07-05 10:12:19 +00:00
John Criswell
57e5ed4b5a Convert .cvsignore files
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
Chris Lattner
3f30a9a30e remove dead option
llvm-svn: 36898
2007-05-06 23:24:42 +00:00
Reid Spencer
5818878cb8 Remove broken links to gccas and gccld.
llvm-svn: 34393
2007-02-18 20:37:44 +00:00
Reid Spencer
054956e035 Remove references to the now deprecated gccas and gccld.
llvm-svn: 34192
2007-02-12 05:03:33 +00:00
Reid Spencer
6a8bf30953 Update for llvm-gcc v4.0 usage.
llvm-svn: 34191
2007-02-12 05:02:56 +00:00
Reid Spencer
f6635a4b26 Remove gccas.pod and references to gccas and gccld.
llvm-svn: 34097
2007-02-09 16:56:25 +00:00
Reid Spencer
bfa8128b0c gccld is gone.
llvm-svn: 34092
2007-02-09 15:33:12 +00:00
Reid Spencer
0bb10a766e Fix some formatting mistakes.
llvm-svn: 34080
2007-02-09 04:15:08 +00:00
Reid Spencer
0f6d2e8755 Merge gccld documentation in here. gccld will go away soon.
llvm-svn: 34079
2007-02-09 04:12:51 +00:00
Reid Spencer
f71c710b17 For PR1152:
Update documentation to reflect that this isn't a full-blown executable
any more.

llvm-svn: 33807
2007-02-03 00:44:47 +00:00
Reid Spencer
2ce10e13f4 And even more correctly.
llvm-svn: 33805
2007-02-03 00:33:26 +00:00
Reid Spencer
77faddc637 Format the examples correctly.
llvm-svn: 33804
2007-02-03 00:32:23 +00:00
Reid Spencer
c2d5d57ce2 For PR1152:
Update documentation to reflect addition of gccas functionality into opt.

llvm-svn: 33803
2007-02-03 00:21:56 +00:00
Reid Spencer
98fb447ebe Document this tool as experimental and list its deficiencies.
llvm-svn: 32878
2007-01-04 17:55:11 +00:00