1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 14:33:02 +02:00
llvm-mirror/lib/Transforms/Instrumentation
Andrew Kaylor fd49f275f8 Initial implementation of optimization bisect support.
This patch implements a optimization bisect feature, which will allow optimizations to be selectively disabled at compile time in order to track down test failures that are caused by incorrect optimizations.

The bisection is enabled using a new command line option (-opt-bisect-limit).  Individual passes that may be skipped call the OptBisect object (via an LLVMContext) to see if they should be skipped based on the bisect limit.  A finer level of control (disabling individual transformations) can be managed through an addition OptBisect method, but this is not yet used.

The skip checking in this implementation is based on (and replaces) the skipOptnoneFunction check.  Where that check was being called, a new call has been inserted in its place which checks the bisect limit and the optnone attribute.  A new function call has been added for module and SCC passes that behaves in a similar way.

Differential Revision: http://reviews.llvm.org/D19172

llvm-svn: 267022
2016-04-21 17:58:54 +00:00
..
AddressSanitizer.cpp Rename asan-check-lifetime into asan-stack-use-after-scope 2016-04-20 20:02:58 +00:00
BoundsChecking.cpp Remove PreserveNames template parameter from IRBuilder 2016-03-13 21:05:13 +00:00
CFGMST.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
CMakeLists.txt Move SafeStack to CodeGen. 2016-01-27 16:53:42 +00:00
DataFlowSanitizer.cpp [DFSan] Remove an overly aggressive assert reported in PR26068. 2016-03-07 14:05:09 +00:00
GCOVProfiling.cpp [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
IndirectCallSiteVisitor.h [PGO] Avoid instrumenting direct callee's at value sites. 2016-04-04 18:56:36 +00:00
InstrProfiling.cpp Port InstrProfiling pass to the new pass manager 2016-04-18 17:47:38 +00:00
Instrumentation.cpp Port InstrProfiling pass to the new pass manager 2016-04-18 17:47:38 +00:00
LLVMBuild.txt [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
MaximumSpanningTree.h
MemorySanitizer.cpp [Mips] [MSan] VarArgMIPS64Helper: Use target's endian, not host's. 2016-04-19 23:46:59 +00:00
PGOInstrumentation.cpp Initial implementation of optimization bisect support. 2016-04-21 17:58:54 +00:00
SanitizerCoverage.cpp [sancov] enabling coverage edge pruning by default. 2016-04-06 23:24:37 +00:00
ThreadSanitizer.cpp Make helper functions static. NFC. 2016-04-07 10:10:09 +00:00