Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add cmakefiles to build profile_rt.so! | Nick Lewycky | 2011-04-26 | 1 | -0/+9 | |
| | | | | llvm-svn: 130191 | |||||
* | Rename everything to follow LLVM style ... I think. | Nick Lewycky | 2011-04-26 | 2 | -5/+29 | |
| | | | | | | | | | | | | | | Add support for switch and indirectbr edges. This works by densely numbering all blocks which have such terminators, and then separately numbering the possible successors. The predecessors write down a number, the successor knows its own number (as a ConstantInt) and sends that and the pointer to the number the predecessor wrote down to the runtime, who looks up the counter in a per-function table. Coverage data should now be functional, but I haven't tested it on anything other than my 2-file synthetic test program for coverage. llvm-svn: 130186 | |||||
* | Write out uint64_t as i{0..32},i{33..64} instead of i{0..32},0. | Benjamin Kramer | 2011-04-16 | 1 | -3/+2 | |
| | | | | llvm-svn: 129638 | |||||
* | Don't use C++ comments in C code. | Nick Lewycky | 2011-04-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 129637 | |||||
* | Rename LineProfiling to GCOVProfiling to more accurately represent what it | Nick Lewycky | 2011-04-16 | 3 | -43/+108 | |
| | | | | | | | does. Also mostly implement it. Still a work-in-progress, but generates legal output on crafted test cases. llvm-svn: 129630 | |||||
* | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 2 | -2/+2 | |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | |||||
* | Fix format string warning. | Benjamin Kramer | 2011-04-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 129467 | |||||
* | Use %ull here. | Nick Lewycky | 2011-04-13 | 1 | -1/+2 | |
| | | | | llvm-svn: 129423 | |||||
* | Print our uint64_t with the more portable (C99 and C++0x) %PRIu64 format | Nick Lewycky | 2011-04-12 | 1 | -1/+3 | |
| | | | | | | specifier. llvm-svn: 129384 | |||||
* | The counters are unsigned. | Nick Lewycky | 2011-04-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 129380 | |||||
* | Add support for line profiling. Very work-in-progress. | Nick Lewycky | 2011-04-12 | 2 | -0/+40 | |
| | | | | | | | | | | Use debug info in the IR to find the directory/file:line:col. Each time that location changes, bump a counter. Unlike the existing profiling system, we don't try to look at argv[], and thusly don't require main() to be present in the IR. This matches GCC's technique where you specify the profiling flag when producing each .o file. The runtime library is minimal, currently just calling printf at program shutdown time. The API is designed to make it possible to emit GCOV data later on. llvm-svn: 129340 | |||||
* | Implementation of path profiling. | Andrew Trick | 2011-01-29 | 4 | -23/+310 | |
| | | | | | | | | | | 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 | |||||
* | Rename 'libprofile/exported_symbols.lst' to 'libprofile/libprofile.exports'. | Mikhail Glushenkov | 2010-09-03 | 2 | -4/+4 | |
| | | | | | | | Makefile.rules assumes that all EXPORTED_SYMBOL_FILEs have the .exports extension. llvm-svn: 112964 | |||||
* | Delete a blank line. | Dan Gohman | 2010-04-16 | 1 | -1/+0 | |
| | | | | llvm-svn: 101459 | |||||
* | Make the export files absolute paths, and change Makefile.rules | Dan Gohman | 2010-04-15 | 1 | -1/+1 | |
| | | | | | | to expect them this way, to fix srcdir!=objdir builds. llvm-svn: 101414 | |||||
* | Don't use absolute path for EXPORTED_SYMBOL_FILE, this breaks under the new | Daniel Dunbar | 2010-04-15 | 1 | -1/+1 | |
| | | | | | | system. llvm-svn: 101404 | |||||
* | Switch .bc/.ll Makefile rules to use LLVM{CC,CXX} instead of LLVMG{CC,XX} | Daniel Dunbar | 2010-02-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 96936 | |||||
* | remove the random sampling framework, which is not maintained anymore. | Chris Lattner | 2010-01-02 | 3 | -89/+0 | |
| | | | | | | If there is interest, it can be resurrected from SVN. PR4912. llvm-svn: 92422 | |||||
* | OptimalEdgeProfiling: Creation of profiles. | Andreas Neustifter | 2009-09-01 | 2 | -0/+46 | |
| | | | | | | This adds the instrumentation and runtime part of OptimalEdgeProfiling. llvm-svn: 80712 | |||||
* | Read Makefile.config before using LLVMGCC. | Andreas Neustifter | 2009-08-28 | 1 | -0/+2 | |
| | | | | | | See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085828.html llvm-svn: 80372 | |||||
* | Add llvm_start_edge_profiling to exported symbols for libprofile_rt. | Andreas Neustifter | 2009-08-24 | 1 | -0/+1 | |
| | | | | llvm-svn: 79944 | |||||
* | Don't try to build .bc version of libprofile if LLVMGCC isn't available. | Daniel Dunbar | 2009-08-20 | 1 | -0/+2 | |
| | | | | llvm-svn: 79514 | |||||
* | Remove cruft for installing runtime/ libraries directly into the LLVMGCCDIR; | Daniel Dunbar | 2009-08-20 | 1 | -1/+0 | |
| | | | | | | that is totally bogus. llvm-svn: 79512 | |||||
* | remove attribution from a variety of miscellaneous files. | Chris Lattner | 2007-12-29 | 6 | -12/+12 | |
| | | | | llvm-svn: 45425 | |||||
* | remove attributions from the rest of the llvm makefiles. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45416 | |||||
* | Undo removal of the runtime libraries. While this may have been a bit | Reid Spencer | 2006-11-17 | 8 | -0/+371 | |
| | | | | | | | premature, these libraries will be going away for the 2.0 release. Other arrangements for profiling, gc, etc. should be made in the next few months. llvm-svn: 31807 | |||||
* | In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support will | Reid Spencer | 2006-11-16 | 8 | -371/+0 | |
| | | | | | | be dropped. This patch pertains to removing the runtime directory from LLVM. llvm-svn: 31793 | |||||
* | Remove unused variable. | Reid Spencer | 2006-11-03 | 1 | -1/+0 | |
| | | | | llvm-svn: 31404 | |||||
* | This was never updated for the project makefile changes | Chris Lattner | 2005-10-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 23790 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -2/+2 | |
| | | | | llvm-svn: 21427 | |||||
* | Turn on LOADABLE_MODULE so that profile.so can be loaded dynamically by | Reid Spencer | 2005-01-13 | 1 | -0/+1 | |
| | | | | | | the JIT. llvm-svn: 19524 | |||||
* | For PR432: | Reid Spencer | 2004-12-22 | 1 | -1/+1 | |
| | | | | | | * Variable name change: cferuntime_libdir -> CFERuntimeLibDir llvm-svn: 19096 | |||||
* | Use the new BYTECODE_DESTINATION to override the default bytecode install | Reid Spencer | 2004-12-13 | 1 | -0/+1 | |
| | | | | | | | | | destination for this library so that it goes to $(cferuntime_libdir) rather than just $(libdir). Normal bytecode libraries should be installed in the $(libdir), but these ones are "special" because they're part of the the C/C++ front end. llvm-svn: 18882 | |||||
* | Standardize the makefiles with space around = to match the rest of LLVM. | Reid Spencer | 2004-12-02 | 1 | -3/+3 | |
| | | | | llvm-svn: 18429 | |||||
* | Standardize the format of the runtime libraries makefiles. | Reid Spencer | 2004-12-02 | 1 | -2/+1 | |
| | | | | | | | | * Don't have lines longer than 80 cols * Blank line after the header * Reduce spaces in var definitions. llvm-svn: 18427 | |||||
* | Remove this left-over crud from the automake experiment. | Reid Spencer | 2004-12-02 | 1 | -665/+0 | |
| | | | | llvm-svn: 18424 | |||||
* | Add EXTRA_DIST for additional files to be distributed. | Reid Spencer | 2004-10-26 | 1 | -1/+2 | |
| | | | | llvm-svn: 17233 | |||||
* | We won't use automake | Reid Spencer | 2004-10-22 | 1 | -16/+0 | |
| | | | | llvm-svn: 17155 | |||||
* | Initial automake generated Makefile template | Reid Spencer | 2004-10-18 | 1 | -0/+665 | |
| | | | | llvm-svn: 17136 | |||||
* | Initial Makefile.am for building with automake | Reid Spencer | 2004-10-17 | 1 | -0/+16 | |
| | | | | llvm-svn: 17073 | |||||
* | Share the profile info type enum with the C++ analysis libraries. | Brian Gaeke | 2004-05-04 | 1 | -9/+5 | |
| | | | | | | Add a documentation comment for write_profiling_data(). llvm-svn: 13345 | |||||
* | Constants for profile info type changed names to match the C++ ones. | Brian Gaeke | 2004-05-04 | 3 | -3/+3 | |
| | | | | llvm-svn: 13344 | |||||
* | Constants for profile info type changed names to match the C++ ones. | Brian Gaeke | 2004-05-04 | 2 | -11/+12 | |
| | | | | | | Edited comments. llvm-svn: 13343 | |||||
* | Add initial implementation of basic block tracing runtime | Brian Gaeke | 2004-05-03 | 1 | -0/+67 | |
| | | | | llvm-svn: 13339 | |||||
* | Add basic block tracing functions as exported symbols. | Brian Gaeke | 2004-05-03 | 1 | -0/+2 | |
| | | | | llvm-svn: 13338 | |||||
* | Add basic block tracing information as a type of "profiling" information. | Brian Gaeke | 2004-05-03 | 1 | -1/+2 | |
| | | | | llvm-svn: 13337 | |||||
* | Add edge profiling support to the runtime library | Chris Lattner | 2004-03-08 | 1 | -0/+45 | |
| | | | | llvm-svn: 12227 | |||||
* | Make sure to copy the null terminator at the end of the argv list. Some | Chris Lattner | 2004-02-10 | 1 | -2/+2 | |
| | | | | | | programs use it instead of argc. llvm-svn: 11270 | |||||
* | Allow the program to take a '-llvmprof-output filename' option to specify | Chris Lattner | 2004-02-10 | 1 | -2/+30 | |
| | | | | | | where to output the profiling data, if llvmprof.out is not good enough. llvm-svn: 11264 | |||||
* | Make the initialization calls return argc. | Chris Lattner | 2004-02-10 | 4 | -9/+13 | |
| | | | | llvm-svn: 11261 |