llvm-6502/lib/Transforms/Instrumentation
Nick Lewycky 1790c9cbb6 Rename everything to follow LLVM style ... I think.
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130186 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-26 03:54:16 +00:00
..
CMakeLists.txt Fix cmake build. 2011-04-16 02:06:46 +00:00
EdgeProfiling.cpp Implementation of path profiling. 2011-01-29 01:09:53 +00:00
GCOVProfiling.cpp Rename everything to follow LLVM style ... I think. 2011-04-26 03:54:16 +00:00
Instrumentation.cpp Rename LineProfiling to GCOVProfiling to more accurately represent what it 2011-04-16 01:20:23 +00:00
Makefile
MaximumSpanningTree.h Fix typos. Adjust some whitespace for style. No functionality change. 2011-04-05 20:39:27 +00:00
OptimalEdgeProfiling.cpp Remove unused STL header includes. 2011-04-23 19:53:52 +00:00
PathProfiling.cpp Remove unused STL header includes. 2011-04-23 19:53:52 +00:00
ProfilingUtils.cpp Consider ConstantAggregateZero as well as ConstantArray/Struct. 2011-04-12 01:02:45 +00:00
ProfilingUtils.h Add a function for profiling to run at shutdown. Unlike the existing API, this 2011-04-08 22:19:52 +00:00