11e43291540db9d885b736cbd652558faab80955 |
|
01-Feb-2012 |
Andrew Trick <atrick@apple.com> |
Add pass printer passes in the right place. The pass pointer should never be referenced after sending it to schedulePass(), which may delete the pass. To fix this bug I had to clean up the design leading to more goodness. You may notice now that any non-analysis pass is printed. So things like loop-simplify and lcssa show up, while target lib, target data, alias analysis do not show up. Normally, analysis don't mutate the IR, but you can now check this by using both -print-after and -print-before. The effects of analysis will now show up in between the two. The llc path is still in bad shape. But I'll be improving it in my next checkin. Meanwhile, print-machineinstrs still works the same way. With print-before/after, many llc passes that were not printed before now are, some of these should be converted to analysis. A few very important passes, isel and scheduler, are not properly initialized, so not printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149480 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
19c51a9b3e544fc3bd34488f0c9c0c8a3df73a58 |
|
01-Feb-2012 |
Andrew Trick <atrick@apple.com> |
whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149479 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
0e122d1c2422285c872f68fc0ae1f7e5d2739572 |
|
29-Aug-2011 |
Andrew Trick <atrick@apple.com> |
Reapply r138695. Fix PassManager stack depths. Patch by Xiaoyi Guo! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
8592a0cda4cf4ae76c5a29230fb330d0e952bb62 |
|
27-Aug-2011 |
Andrew Trick <atrick@apple.com> |
Reverting r138695 to see if it fixes clang self host. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
b84619223051fd965cc64e70c8f6b70f7ae6ae85 |
|
27-Aug-2011 |
Andrew Trick <atrick@apple.com> |
Fix PassManager stack depths. Patch by Xiaoyi Guo! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
65513605353c7e3ee8be6fc92892f257ad399d92 |
|
20-Oct-2010 |
Tobias Grosser <grosser@fim.uni-passau.de> |
Add RegionPass support. A RegionPass is executed like a LoopPass but on the regions detected by the RegionInfo pass instead of the loops detected by the LoopInfo pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
568a63db96ea59b988c916a7777db7e3e39352b1 |
|
12-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Constify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
ebb1834e86d8da5fe7c63986bf8f350574a40a6c |
|
12-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Use SmallVectorImpl in a bunch of places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116276 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
8a757aeac436ecd27e28a39b10032fd6fda33780 |
|
19-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Revert r111199; it breaks -debug-pass=Structure output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
65bffec2c2dc87a5974930ec17931721bc485f9a |
|
17-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Make dumpPassStructure be a PMDataManager abstraction, rather than a Pass abstraction, since that's the level it's actually used at. Rename Pass' dumpPassStructure to dumpPass. This eliminates an awkward use of getAsPass() to convert a PMDataManager* into a Pass* just to permit a dumpPassStructure call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111199 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
9fb7d04cfcfd3e206001f0eea17c69afcdcc0080 |
|
17-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Make some of PMTopLevelManager's members non-public. In particular, make its constructor protected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
7578ea887de6a7cb22c324b629101683a0afb3c5 |
|
16-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Eliminate the TopLevelManagerType enum; instead, just make PMTopLevelManager's constructor take a PMDataManager *, which already provides the needed abstraction support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
4afefdec65f198fad803fa8f9f994663488dd608 |
|
07-Aug-2010 |
Dan Gohman <gohman@apple.com> |
More #include cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
4bdeede8c7ea307b3f6192ec4f425debda948998 |
|
07-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Tidy up PMStack. Add a bunch of consts, use std::vector instead of std::deque, since this is a stack and only supports push/pop on one end, and remove an unimplemented declaration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
90c579de5a383cee278acc3f7e7b9d0a656e6a35 |
|
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Reapply r110396, with fixes to appease the Linux buildbot gods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110460 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
1f74590e9d1b9cf0f1f81a156efea73f76546e05 |
|
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Revert r110396 to fix buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
9ccaf53ada99c63737547c0235baeb8454b04e80 |
|
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
8be3291f5942e3ae4a5d66c480e7aabe2f771031 |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Speculatively revert r108813, in an attempt to get the self-host buildbots working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
9e081004dad1c3cae7de82ad412c3f19a1a48d48 |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Reapply r108794, a fix for the failing test from last time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
e8a469cdb400249ec263c79d1021f953f42f2760 |
|
20-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
Revert r108794, "Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is breaking teh everything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
8ba15cb7099d9eadcb345328228d77ffa5afa42d |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
e407c1d1583cfc788fa7d00fee5f612c3f224983 |
|
21-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Move several non-performance-critical member functinos out of line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106444 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
a782e75d487006cafffdc256b3c623307fee4dcf |
|
30-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
reapply my timer rewrite with a change for PassManager to store timers by pointer instead of by-value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99871 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
0d2725ad696afb60c86076469031783669809739 |
|
30-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
revert r99862 which is causing FNT failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
9fa0eff30a0d4fcbc84ac3ada4c47620b5449043 |
|
30-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
fairly major rewrite of various timing related stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
f451cb870efcf9e0302d25ed05f4cac6bb494e42 |
|
10-Feb-2010 |
Dan Gohman <gohman@apple.com> |
Fix "the the" and similar typos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
3660ecabbb85b31308f38938ce3f56f0a330a84b |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
eliminate a bunch of dynamic_cast's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
2928c83b010f7cfdb0f819199d806f6942a7d995 |
|
06-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Pass StringRef by value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
076124ef26ff67f88663bd11f3b4d6b3d3bb3a9d |
|
01-Nov-2009 |
Douglas Gregor <dgregor@apple.com> |
Reverting 85714, 85715, 85716, which are breaking the build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
b2fae7560dcac617d40a83c73c976d4045bfb97f |
|
01-Nov-2009 |
Dan Gohman <gohman@apple.com> |
Remove the #include of Pass.h from PassManager.h. This breaks a significant #include dependency, as frontends commonly pull in PassManager.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85714 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
9450b0e1a6154192ca597ad27f8eb6e6e807f7a4 |
|
28-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Move the dominator verification code out of special code embedded within the PassManager code into a regular verifyAnalysis method. Also, reorganize loop verification. Make the LoopPass infrastructure call verifyLoop as needed instead of having LoopInfo::verifyAnalysis check every loop in the function after each looop pass. Add a new command-line argument, -verify-loop-info, to enable the expensive full checking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82952 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
5c12adaa8b92800d835ddd5c97723c6eb5628b5b |
|
28-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Extend the StartPassTimer and StopPassTimer functions so that the code that stops the timer doesn't have to search to find the timer object before it stops the timer. This avoids a lock acquisition and a few other things done with the timer running. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82949 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
27a8fb8a546ec5d39b057bfe2ee5c36a8e454f09 |
|
28-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Extract the code for releasing a pass into a separate function, and tidy it up a little. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82944 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
9554c613282c28fbe94bc8b0a5ba736f046643b8 |
|
15-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
make -debug-pass=Executions show information about what call graph nodes are in the SCC for each execution of a CGSCC pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
7db949df789383acce98ef072f08794fdd5bd04e |
|
07-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Fix a bunch of namespace pollution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
d87dc0fdabf8549fadb5cba0b20f36310614f101 |
|
05-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Add an explicit keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78208 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
93b67e40de356569493c285b86b138a3f11b5035 |
|
26-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Eliminate some uses of DOUT, cerr, and getNameStart(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
9dfa1671fc5ba478530ba88877dd508dac20bac4 |
|
02-Apr-2009 |
Devang Patel <dpatel@apple.com> |
Clean up pass manager cache after each run. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68254 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
40a07a4121530040ed83a508c9c638be1c526292 |
|
12-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
Fully initialize all ivars, fixing PR3790, patch by Edwin Torok! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
312e23485b4dcaf9b7c4956961bda4423bf6d73e |
|
06-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
some nits noticed by Duncan git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
d6f16587ab292b20857933b3ba13d3d1c62a8d62 |
|
06-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
Sprinkle some PrettyStackEntry magic into the passmanager. With this, we now get nice and happy stack traces when we crash in an optimizer or codegen. For example, an abort put in UnswitchLoops now looks like this: Stack dump: 0. Program arguments: clang pr3399.c -S -O3 1. <eof> parser at end of file 2. per-module optimization passes 3. Running pass 'CallGraph Pass Manager' on module 'pr3399.c'. 4. Running pass 'Loop Pass Manager' on function '@foo' 5. Running pass 'Unswitch loops' on basic block '%for.inc' Abort git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66260 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
865f006bb45a609e1cb6acb653af3fe5442ee4dc |
|
18-Feb-2009 |
Dan Gohman <gohman@apple.com> |
Eliminate several more unnecessary intptr_t casts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
d68a07650cdb2e18f18f362ba533459aa10e01b6 |
|
05-Jan-2009 |
Dan Gohman <gohman@apple.com> |
Tidy up #includes, deleting a bunch of unnecessary #includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
f522068412218cd14b2c2df74a3437717d255381 |
|
16-Oct-2008 |
Dan Gohman <gohman@apple.com> |
Trim #includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57649 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
78766ff67cb9222a2dd5e2cda2e1488b5288a79d |
|
12-Aug-2008 |
Devang Patel <dpatel@apple.com> |
Use SmallVector instead of std::vector git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
721e59cfb29024ffad7204f05ad75b678ae7df63 |
|
12-Aug-2008 |
Devang Patel <dpatel@apple.com> |
Use DenseMap to keep track of last users. Use inversed map for faster queries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54662 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
3b8a90686adb3d0adaa4389e7b7900570a235e03 |
|
11-Aug-2008 |
Devang Patel <dpatel@apple.com> |
Keep track of analysis usage information for passes. Avoid invoking getAnalysisUsage() repeatedly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
0dabb7e8f3e371cf0d6a9747b5bd4b555cc32c95 |
|
08-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
Don't call getAnalysisUsage unless -debug-pass is enabled. This speeds up the passmgr by avoiding useless work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54528 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
fc65d38085e92fa3901104c762a725788f5c9de5 |
|
08-Aug-2008 |
Chris Lattner <sabre@nondot.org> |
Speed up the passmgr by avoiding heap thrashing on vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54515 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
e6acf36dca9864c6ead9113f0322f174469810cc |
|
12-Jul-2008 |
Dan Gohman <gohman@apple.com> |
Fix spelling of "hierarchy" in comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53489 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
5b57e720c875277131ed0d4f3b72a582979d1afe |
|
01-Jul-2008 |
Devang Patel <dpatel@apple.com> |
Add dom info verifier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52967 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
ee335e35acf20d1ed5b781546d647c19b608890e |
|
23-May-2008 |
Dan Gohman <gohman@apple.com> |
Add #includes to make some dependencies explicit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51496 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
5d9bac6d8d3eb44823009e6d2609e39256df7e44 |
|
14-May-2008 |
Dan Gohman <gohman@apple.com> |
Make getNumContainedManagers and getNumContainedPasses const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
34cd4a484e532cc463fd5a4bf59b88d13c5467c1 |
|
05-May-2008 |
Evan Cheng <evan.cheng@apple.com> |
Fix more -Wshorten-64-to-32 warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50659 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
c9235d2e855c56e9aa157969f8132a05f9ba89d8 |
|
22-Mar-2008 |
Dan Gohman <gohman@apple.com> |
Don't include <map> in Pass.h, which doesn't need it. This requires adding <map> to many files that actually do need it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48667 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
d7a3541a059d8b2b17b67ea4e8d2bfaada6d4bdb |
|
14-Mar-2008 |
Dan Gohman <gohman@apple.com> |
Move the PMStack class out of Pass.h and into PassManagers.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48367 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
0961ec1afe336a0a4f523455c25f5d5edc8d3ee1 |
|
13-Mar-2008 |
Dan Gohman <gohman@apple.com> |
Change PMTopLevelManager's PassManagers vector element type from Pass* to PMDataManager*. PMDataManager is more specific than Pass, so this more accurately describes the objects that are being stored. This eliminates the need for several dynamic_casts to PMDataManager*. It does introduce one dynamic_cast though, in dumpPasses(). Give this one a comment describing why a dynamic_cast is being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
26c22cfbcd432dfc83c64331077a7ec034e92f51 |
|
28-Feb-2008 |
Devang Patel <dpatel@apple.com> |
Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
4c71dfe356716e6bc1993ef5efdced08b68fe612 |
|
20-Feb-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Update gcc 4.3 warnings fix patch with recent head changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
7ed47a13356daed2a34cd2209a31f92552e3bdd8 |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Don't attribute in file headers anymore. See llvmdev for the discussion of this change. Boy are my fingers tired. ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
2bb7d0647e5b3f79ad9b6e7efd0dd99f24a0ca69 |
|
03-Oct-2007 |
Dan Gohman <gohman@apple.com> |
Fix a using namespace llvm; in a header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
276222a5ae189ed5c6a2afb248d4c8f0335585b4 |
|
12-Aug-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Change casts from old style to new style. This helps document the details better, gives the compiler a chance to validate the cast and reduces warnings if the user turns on -Wold-style-cast option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
6b4af744b844ba5cf319614b6a27d213548706ee |
|
10-Aug-2007 |
Devang Patel <dpatel@apple.com> |
Do not overuse std::string. Pass around char * directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
5ae563aaf9992038db63b69d16e768b9f2fcd30b |
|
10-Aug-2007 |
Devang Patel <dpatel@apple.com> |
Add #ifndef guard. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40991 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
417efc897b5cf984209aae66d5faa849fe2c5104 |
|
10-Aug-2007 |
Chris Lattner <sabre@nondot.org> |
avoid copying strings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40980 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
209ee187c92db27e7b38bef26a14f3b257bc2744 |
|
30-Jul-2007 |
Dan Gohman <gohman@apple.com> |
Fix pastos in comments for doFinalization functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
19fe8f907e4addad1a33b7590b3f05893c39b3a6 |
|
27-Jul-2007 |
Devang Patel <dpatel@apple.com> |
Add facility to dump pass manager structure to make it easier to understand failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
edbef3806777af3dfaba340801e609492e47f732 |
|
20-Jul-2007 |
Devang Patel <dpatel@apple.com> |
Use SmallVector instead of std::vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40109 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
58e0ef1e90c3f6dbae213612b44e56f7d6d65ea7 |
|
19-Jul-2007 |
Devang Patel <dpatel@apple.com> |
Verify loop info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
1997473cf72957d0e70322e2fe6fe2ab141c58a6 |
|
03-May-2007 |
Devang Patel <dpatel@apple.com> |
Drop 'const' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36662 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
3e15bf33e024b9df9e89351a165acfdb1dde51ed |
|
02-May-2007 |
Devang Patel <dpatel@apple.com> |
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
/external/llvm/include/llvm/PassManagers.h
|
794fd75c67a2cdc128d67342c6d88a504d186896 |
|
01-May-2007 |
Devang Patel <dpatel@apple.com> |
Do not use typeinfo to identify pass in pass manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36632 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
569a6fd9d59d67bc79f63f69ef14f91b0fda6c4a |
|
16-Apr-2007 |
Devang Patel <dpatel@apple.com> |
Give each pass manager chance to manage lower level analysis pass, which is pass required by one of pass managed by the manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
423c2260f95883f7c84ac962e58ac66c3a11efac |
|
23-Mar-2007 |
Dan Gohman <gohman@apple.com> |
Add the 'explicit' keyword to several constructors that accept one argument that don't appear intended as implicit-conversion operators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35280 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
7b65dd91c156590c03847152a202bf7aa9b0c556 |
|
06-Mar-2007 |
Devang Patel <dpatel@apple.com> |
Keep track of higher level analysis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34974 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
fe613905b371ef7160968cdaabf6074cfa10f4a0 |
|
06-Mar-2007 |
Devang Patel <dpatel@apple.com> |
Keep track of inherited analysis. For example, if a loop pass does not preserve dominator info then it should update parent FPPassManager's available analysis info to reflect this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
cf5fb2b614a7fea4565e405c81a3ae8037d78f7b |
|
05-Mar-2007 |
Devang Patel <dpatel@apple.com> |
Current pass manager, not the parent pass manager, assumes the role of last user when one of the managed pass uses info provided by parent pass manager. This was exposed by LPPassManager work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34936 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
7f99761143cdf1ad23729708e3dcaa055b189406 |
|
05-Mar-2007 |
Devang Patel <dpatel@apple.com> |
Avoid constructing std::strings unless pass debugging is ON. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34933 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
84da80d10b472332d079c58d21aa48b82e636274 |
|
27-Feb-2007 |
Devang Patel <dpatel@apple.com> |
Make getPassManagerType() const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34669 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
63925c831ae17a6f894744dbc153dbc9ed4c1902 |
|
18-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
temporarily revert Devang's most recent patch, which caused a large compile-time regression in LLC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34385 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
62b20023eb809b0f63de991ee49a824176c0a864 |
|
17-Feb-2007 |
Devang Patel <dpatel@apple.com> |
Use inverted map to speedup collectLastUses(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34364 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
305d2533f6ef36a056d5777bdfc74077507b20b4 |
|
01-Feb-2007 |
Devang Patel <dpatel@apple.com> |
Pretty print pass managers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
c874eb54ecf57f493c49934a327e0e4e49f0ff10 |
|
30-Jan-2007 |
Devang Patel <dpatel@apple.com> |
- Undo previous check-in (i.e. Do not export TimingInfo class through PassManagers.h). - Add StopPassTimer() and StartPassTimer() to expose TimingInfo to CallGraphPassManager - Use these two APIs in CalLgraphPassManager to measure timings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33638 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
b05ef6a8eb4e06a4c3addb74d7d30eb2150049ea |
|
29-Jan-2007 |
Devang Patel <dpatel@apple.com> |
Move TimingInfo into PassManagers.h so that other libs can use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
8f3f3d103a8b92bd0514ab5998865205e17ef550 |
|
16-Jan-2007 |
Devang Patel <dpatel@apple.com> |
Code refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
66eeb49d8fcfdfa4946c41fd92b8165c0086689d |
|
16-Jan-2007 |
Devang Patel <dpatel@apple.com> |
Remove extra white spaces. Fix comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33244 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
e24e0e1244dc273016e541948086a89ffce1f7e4 |
|
12-Jan-2007 |
Devang Patel <dpatel@apple.com> |
s/addPassToManager/add/g git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|
ab7752c1496c2913793305ba4b989a551c5617e1 |
|
12-Jan-2007 |
Devang Patel <dpatel@apple.com> |
Move PMTopLevelManager, PMDataManager and FPPassManger classes into new PassManagers.h header. This opens door for implementing CGPassManager in IPA library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/PassManagers.h
|