summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove all remaining uses of Value::getNameStr().Benjamin Kramer2011-11-151-2/+2
| | | | llvm-svn: 144648
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-2/+2
| | | | llvm-svn: 135375
* Remove unused STL header includes.Jay Foad2011-04-231-1/+0
| | | | llvm-svn: 130068
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-111-0/+1
| | | | llvm-svn: 129271
* Fix typos. Adjust some whitespace for style. No functionality change.Nick Lewycky2011-04-051-13/+13
| | | | llvm-svn: 128924
* Implementation of path profiling.Andrew Trick2011-01-291-4/+4
| | | | | | | | | | Modified patch by Adam Preuss. This builds on the existing framework for block tracing, edge profiling and optimal edge profiling. See -help-hidden for new flags. For documentation, see the technical report "Implementation of Path Profiling..." in llvm.org/pubs. llvm-svn: 124515
* Get rid of static constructors for pass registration. Instead, every pass ↵Owen Anderson2010-10-191-1/+3
| | | | | | | | | | | | | | | | | exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. llvm-svn: 116820
* Begin adding static dependence information to passes, which will allow us toOwen Anderson2010-10-121-1/+6
| | | | | | | | | perform initialization without static constructors AND without explicit initialization by the client. For the moment, passes are required to initialize both their (potential) dependencies and any passes they preserve. I hope to be able to relax the latter requirement in the future. llvm-svn: 116334
* Now with fewer extraneous semicolons!Owen Anderson2010-10-071-1/+1
| | | | llvm-svn: 115996
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-1/+1
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-1/+1
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-051-1/+1
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson2010-07-211-3/+3
| | | | llvm-svn: 109045
* Use pre-increment instead of post-increment when the result is not used.Dan Gohman2010-06-221-4/+4
| | | | llvm-svn: 106542
* simplify this code.Chris Lattner2010-01-201-1/+1
| | | | llvm-svn: 94048
* Change errs() to dbgs().David Greene2010-01-051-2/+2
| | | | llvm-svn: 92607
* Remove includes of Support/Compiler.h that are no longer needed after theNick Lewycky2009-10-251-1/+0
| | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043
* Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky2009-10-251-1/+1
| | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
* Reapplied r81355 with the problems fixed.Andreas Neustifter2009-09-161-8/+9
| | | | | | | (See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086737.html and http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086746.html) llvm-svn: 82039
* revert r81335, which breaks the build.Chris Lattner2009-09-091-9/+8
| | | | llvm-svn: 81347
* Updated ProfileInfo to have clean seperation between different sentinels.Andreas Neustifter2009-09-091-8/+9
| | | | llvm-svn: 81335
* Converted MaximumSpanningTree algorithm to a generic template, this could goAndreas Neustifter2009-09-041-1/+3
| | | | | | into llvm/ADT. llvm-svn: 81001
* Code Cleanup.Andreas Neustifter2009-09-031-8/+10
| | | | | | | Removed inverted flag form MaximumSpanningTree, also do not handle so much information to MaximumSpanningTree. llvm-svn: 80911
* Changed set of BlocksToInstrument to set of InsertedBlocks that do not have toAndreas Neustifter2009-09-021-9/+9
| | | | | | be instrumented. llvm-svn: 80788
* Code cleanups and added comments.Andreas Neustifter2009-09-021-17/+45
| | | | llvm-svn: 80781
* OptimalEdgeProfiling: Creation of profiles.Andreas Neustifter2009-09-011-0/+186
This adds the instrumentation and runtime part of OptimalEdgeProfiling. llvm-svn: 80712
OpenPOWER on IntegriCloud