Commit Graph

92 Commits

Author SHA1 Message Date
Owen Anderson ac4a1ede17 Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with RegisterAnalysisGroup<> for pass registration.
llvm-svn: 109058
2010-07-21 23:07:00 +00:00
Owen Anderson 7ca8fb4795 First stab at updating the documentation for INITIALIZE_PASS().
llvm-svn: 109055
2010-07-21 22:58:07 +00:00
Duncan Sands 1567f0fa7e Tweak some docs now that the default build is called Debug+Asserts.
llvm-svn: 107862
2010-07-08 08:27:18 +00:00
Chris Lattner 58f3c1f863 This makes example Makefile a lot more like actual
lib/Transforms/Hello/Makefile, and prevents a lot of errors like "Assertion
`Inserted && "Pass registered multiple times!"' failed"

Patch by Gregory Petrosyan!

llvm-svn: 106471
2010-06-21 20:36:09 +00:00
mike-m f375e9a092 Revert r103213. It broke several sections of live website.
llvm-svn: 103219
2010-05-07 00:28:04 +00:00
mike-m e08af303a6 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
Chris Lattner 434c053439 update docs for api change.
llvm-svn: 101566
2010-04-16 23:07:44 +00:00
Dan Gohman 16c678c8de Clarify the documentation for MachineFunctionPasses.
llvm-svn: 98119
2010-03-10 01:29:39 +00:00
Duncan Sands 3d928db087 Uniformize the way these options are printed. Requested by
Russell Wallace.

llvm-svn: 96580
2010-02-18 14:37:52 +00:00
Duncan Sands 142b9edaf1 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
Benjamin Kramer 0f4203861f Documentation: Perform automated correction of common typos.
llvm-svn: 83849
2009-10-12 14:46:08 +00:00
Torok Edwin 7630f105a1 Fix typo, patch from Timo Juhani Lindfors.
llvm-svn: 83848
2009-10-12 13:37:29 +00:00
Chris Lattner 633ad4ee17 update this to use raw_ostream
llvm-svn: 81188
2009-09-08 05:14:44 +00:00
Devang Patel 714612b1eb Clarify limitations of a ModulePass requiring a FunctionPass.
llvm-svn: 78566
2009-08-10 16:37:29 +00:00
Daniel Dunbar 84190f9a4d Try to clarify a point about getting DominatorTree info from a module pass.
llvm-svn: 74668
2009-07-01 23:38:44 +00:00
Dan Gohman 5b2f62059b Fix a typo.
llvm-svn: 73397
2009-06-15 18:22:49 +00:00
Dan Gohman 38a9631d5f Eliminate several more unnecessary intptr_t casts.
llvm-svn: 64888
2009-02-18 05:09:16 +00:00
Duncan Sands 5a913d61e3 Rename getAnalysisToUpdate to getAnalysisIfAvailable.
llvm-svn: 63198
2009-01-28 13:14:17 +00:00
Misha Brukman 21a6370323 Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img>
tags are not needed in HTML, only XML.

llvm-svn: 60885
2008-12-11 18:23:24 +00:00
Misha Brukman 86242e1990 Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
llvm-svn: 60880
2008-12-11 17:34:48 +00:00
Devang Patel ef21de946b Clarify documentation. A module pass MP can require a function paqss FP only if FP does not require any module pass.
llvm-svn: 58813
2008-11-06 19:47:49 +00:00
Torok Edwin df851ff94f fix prototype of print, it is (llvm/Pass.h):
virtual void print(std::ostream &O, const Module *M) const;
instead of
  virtual void print(llvm::OStream &O, const Module *M) const;
as the docs say

llvm-svn: 58337
2008-10-28 17:29:23 +00:00
Dan Gohman 2ed2753007 HTML syntax fixes.
llvm-svn: 57503
2008-10-14 17:00:38 +00:00
Devang Patel 718da668ab PassInfo keep tracks whether a pass is an analysis pass or not.
llvm-svn: 48554
2008-03-19 21:56:59 +00:00
John Criswell fa06f0203b Fix some wording.
llvm-svn: 44810
2007-12-10 20:26:29 +00:00
John Criswell 9c9405f4ef Fixed typo.
llvm-svn: 44542
2007-12-03 19:34:25 +00:00
Chris Lattner 1b3f58a816 fix a typo
llvm-svn: 44187
2007-11-16 05:32:05 +00:00
Devang Patel b9f5c0c5be Fix example code.
llvm-svn: 40493
2007-07-25 21:05:39 +00:00
Gabor Greif a54634adef first pass of nomenclature changes in .html files
llvm-svn: 37956
2007-07-06 22:07:22 +00:00
Devang Patel eeff910244 Update AnalysisGroup documentation to document restriction that allows
only one ImmutablePass in a group.

llvm-svn: 37675
2007-06-20 18:51:14 +00:00
Tanya Lattner a1d8eeb7da Correct typo. Should be "not allowed"
llvm-svn: 37490
2007-06-07 16:44:52 +00:00
Chris Lattner 6d84cdcfee validation fix
llvm-svn: 37206
2007-05-18 05:38:44 +00:00
Chris Lattner 5538349a7c validation fixes
llvm-svn: 37205
2007-05-18 05:36:14 +00:00
Devang Patel 8c78a0bff0 Drop 'const'
llvm-svn: 36662
2007-05-03 01:11:54 +00:00
Devang Patel e95c6ad802 Use 'static const char' instead of 'static const int'.
Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.

llvm-svn: 36652
2007-05-02 21:39:20 +00:00
Devang Patel a612049dd8 Update doc to reflect changes I am about to install to fix PR 888.
llvm-svn: 36631
2007-05-01 20:55:38 +00:00
Devang Patel f96c3625c2 Remove "ModulePasses requiring FunctionPasses" from the list of future
extensions.

llvm-svn: 36186
2007-04-17 00:17:11 +00:00
Devang Patel 9b5e8e5c32 Document how, module pass can require function pass.
llvm-svn: 36171
2007-04-16 21:28:14 +00:00
Devang Patel 1d3bb03aa1 Document LoopPass.
llvm-svn: 35191
2007-03-19 22:21:25 +00:00
Jim Laskey 6e8a2f4738 Change e-mail address.
llvm-svn: 35103
2007-03-14 19:32:21 +00:00
Devang Patel 40ec08095b Fix cut-n-pasto.
llvm-svn: 33469
2007-01-23 22:56:28 +00:00
Bill Wendling 22e978a736 Removing even more <iostream> includes.
llvm-svn: 32320
2006-12-07 20:04:42 +00:00
Reid Spencer 48cf6a6f21 Provide a gdb usage fix provided by Zhongzing Xu.
llvm-svn: 30645
2006-09-28 16:53:47 +00:00
Chris Lattner ea3c2b29e5 Update to match changes in RegisterAnalysisGroup usage
llvm-svn: 29933
2006-08-28 00:45:38 +00:00
Chris Lattner b693cb0e73 update doc: analyze is gone and passes should just use RegisterPass
llvm-svn: 29928
2006-08-27 23:18:52 +00:00
Chris Lattner 4bde9fb182 Minor cleanups
llvm-svn: 29605
2006-08-11 16:37:02 +00:00
Reid Spencer 197d7bf9a2 Update the instructions for writing a pass as a loadable module per the
new definition in MakefileGuilde.html and Makefile.rules.

llvm-svn: 29563
2006-08-08 01:48:17 +00:00
Jim Laskey 575df8b844 Added how to add machine passes to command line options.
llvm-svn: 29528
2006-08-04 18:10:12 +00:00
Reid Spencer ca05854a71 Changes docs for llvm.cs.uiuc.edu -> llvm.org
llvm-svn: 26746
2006-03-14 05:39:39 +00:00
Robert Bocchino 19cbea15d4 Fixed a typo; "= 1" was missing.
llvm-svn: 25134
2006-01-06 22:49:23 +00:00