llvm-6502/lib
Benjamin Kramer 98d6d2372f SimplifyCFG: If we have a PHI node that can evaluate to NULL and do a load or store to the address returned by the PHI node then we can consider this incoming value as dead and remove the edge pointing there, unless there are instructions that can affect control flow executed in between.
In theory this could be extended to other instructions, eg. division by zero, but it's likely that it will "miscompile" some code because people depend on div by zero not trapping. NULL pointer dereference usually leads to a crash so we should be on the safe side.

This shrinks the size of a Release clang by 16k on x86_64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138618 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-26 01:22:29 +00:00
..
Analysis Skip the landingpad instruction when determining the insertion point. 2011-08-24 21:06:46 +00:00
Archive Rewrite the CMake build to use explicit dependencies between libraries, 2011-07-29 00:14:25 +00:00
AsmParser Remove unused variable. 2011-08-18 08:13:18 +00:00
Bitcode Initial commit of the 'landingpad' instruction. 2011-08-12 20:24:12 +00:00
CodeGen Look at only the terminators of the basic block. Also, if we're using the new EH 2011-08-25 23:48:11 +00:00
CompilerDriver Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
ExecutionEngine Move TargetRegistry and TargetSelect from Target to Support where they belong. 2011-08-24 18:08:43 +00:00
Linker switch to the new struct api. 2011-08-12 18:07:26 +00:00
MC Initialize member variable. 2011-08-25 04:04:18 +00:00
Object Rewrite the CMake build to use explicit dependencies between libraries, 2011-07-29 00:14:25 +00:00
Support Intel family 6 model 44 is Gulftown/Westmere-EP and doesn't have AVX. 2011-08-25 18:05:56 +00:00
Target Do the same as r138461. Mark VZEROALL as clobbering all YMM registers 2011-08-25 22:23:58 +00:00
Transforms SimplifyCFG: If we have a PHI node that can evaluate to NULL and do a load or store to the address returned by the PHI node then we can consider this incoming value as dead and remove the edge pointing there, unless there are instructions that can affect control flow executed in between. 2011-08-26 01:22:29 +00:00
VMCore Initial check in that will auto-upgrade the old EH scheme to the new EH scheme. 2011-08-25 23:22:40 +00:00
CMakeLists.txt Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
Makefile