Commit Graph

79 Commits

Author SHA1 Message Date
Devang Patel
468857f22f Clarify limitations of a ModulePass requiring a FunctionPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78566 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-10 16:37:29 +00:00
Daniel Dunbar
b71725b468 Try to clarify a point about getting DominatorTree info from a module pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74668 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-01 23:38:44 +00:00
Dan Gohman
d87c9e35d1 Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73397 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-15 18:22:49 +00:00
Dan Gohman
865f006bb4 Eliminate several more unnecessary intptr_t casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64888 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-18 05:09:16 +00:00
Duncan Sands
1465d61bdd Rename getAnalysisToUpdate to getAnalysisIfAvailable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63198 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-28 13:14:17 +00:00
Misha Brukman
f00ddb04df Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img>
tags are not needed in HTML, only XML.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60885 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-11 18:23:24 +00:00
Misha Brukman
444087057a Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60880 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-11 17:34:48 +00:00
Devang Patel
00f1c4040c Clarify documentation. A module pass MP can require a function paqss FP only if FP does not require any module pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58813 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-06 19:47:49 +00:00
Torok Edwin
52790e5865 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58337 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-28 17:29:23 +00:00
Dan Gohman
364a39fc1c HTML syntax fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57503 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-14 17:00:38 +00:00
Devang Patel
c758209153 PassInfo keep tracks whether a pass is an analysis pass or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48554 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-19 21:56:59 +00:00
John Criswell
9795bb8677 Fix some wording.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44810 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-10 20:26:29 +00:00
John Criswell
8528e78f0d Fixed typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44542 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-03 19:34:25 +00:00
Chris Lattner
b763228695 fix a typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44187 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-16 05:32:05 +00:00
Devang Patel
26e5a309eb Fix example code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40493 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-25 21:05:39 +00:00
Gabor Greif
04367bfc20 first pass of nomenclature changes in .html files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37956 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-06 22:07:22 +00:00
Devang Patel
2397f8d0c6 Update AnalysisGroup documentation to document restriction that allows
only one ImmutablePass in a group.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37675 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-20 18:51:14 +00:00
Tanya Lattner
18aad23ce3 Correct typo. Should be "not allowed"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37490 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-07 16:44:52 +00:00
Chris Lattner
550211711a validation fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37206 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-18 05:38:44 +00:00
Chris Lattner
b5c87f6056 validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37205 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-18 05:36:14 +00:00
Devang Patel
1997473cf7 Drop 'const'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36662 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-03 01:11:54 +00:00
Devang Patel
3e15bf33e0 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36652 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-02 21:39:20 +00:00
Devang Patel
e50fb9ac17 Update doc to reflect changes I am about to install to fix PR 888.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36631 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-01 20:55:38 +00:00
Devang Patel
f23de11c29 Remove "ModulePasses requiring FunctionPasses" from the list of future
extensions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36186 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 00:17:11 +00:00
Devang Patel
3c1ca0b195 Document how, module pass can require function pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36171 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:28:14 +00:00
Devang Patel
2e8f27d0bd Document LoopPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35191 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-19 22:21:25 +00:00
Jim Laskey
c760a920d5 Change e-mail address.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35103 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-14 19:32:21 +00:00
Devang Patel
c20048d05c Fix cut-n-pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33469 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-23 22:56:28 +00:00
Bill Wendling
832171cb97 Removing even more <iostream> includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32320 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 20:04:42 +00:00
Reid Spencer
22a9e5bfd8 Provide a gdb usage fix provided by Zhongzing Xu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30645 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-28 16:53:47 +00:00
Chris Lattner
dc87725902 Update to match changes in RegisterAnalysisGroup usage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29933 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-28 00:45:38 +00:00
Chris Lattner
c8603c2444 update doc: analyze is gone and passes should just use RegisterPass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29928 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-27 23:18:52 +00:00
Chris Lattner
8f652ebe89 Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29605 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-11 16:37:02 +00:00
Reid Spencer
ebfe07fb18 Update the instructions for writing a pass as a loadable module per the
new definition in MakefileGuilde.html and Makefile.rules.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29563 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-08 01:48:17 +00:00
Jim Laskey
5fa8fff8d2 Added how to add machine passes to command line options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29528 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-04 18:10:12 +00:00
Reid Spencer
05fe4b0256 Changes docs for llvm.cs.uiuc.edu -> llvm.org
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26746 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 05:39:39 +00:00
Robert Bocchino
3cf817d381 Fixed a typo; "= 1" was missing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25134 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-06 22:49:23 +00:00
John Criswell
0b1010e7b8 Fixed a punctuation error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24502 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-28 23:25:41 +00:00
John Criswell
2382ff7fbe Fixed some punctuation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22443 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-15 19:25:12 +00:00
Chris Lattner
01d7139f93 Fix some broken links, taking care of PR554
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21387 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-21 04:53:58 +00:00
Chris Lattner
4c376eacf5 update to match build changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21386 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-21 04:52:37 +00:00
Reid Spencer
7fa6d52dda * Add the use of LOADABLE_MODULE=1 in the makefile example
* Change the names of the resulting module to Hello instead of libHello
* Change lib/Debug -> Debug/lib per new makefile implementation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19459 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-11 05:16:23 +00:00
Reid Spencer
1bc193464c Fix some minor spellos and grammaros.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18788 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-11 05:12:57 +00:00
Tanya Lattner
54dc8b2a44 Fixed broken links.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18647 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 18:13:51 +00:00
Tanya Lattner
05f8d5fed6 Fixed a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17972 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 01:26:37 +00:00
Tanya Lattner
d5383653a4 Added link to information on Statistic which is in the Programmers Manual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17971 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 01:25:14 +00:00
Chris Lattner
f627892e26 'Pass' should now not be derived from by clients. Instead, they should derive
from ModulePass.  Instead of implementing Pass::run, then should implement
ModulePass::runOnModule.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16430 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-20 04:36:29 +00:00
Chris Lattner
62b442d378 Misha implemented the ModuleProvider interface back in 9/18/2003.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16394 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-18 16:16:28 +00:00
Chris Lattner
8fdb246fb1 Provide initial docs for CallGraphSCCPass's, and fix several grammar-o's and
other problems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16393 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-18 06:39:35 +00:00
Jonathan Manton
65acb30178 Fixed the tutorial to indicate that we needed to use the llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14507 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-30 18:10:30 +00:00