llvm-6502/lib
Nick Lewycky 6977e79526 Support pointer comparisons against constants, when looking at the inline-cost
savings from a pointer argument becoming an alloca. Sometimes callees will even
compare a pointer to null and then branch to an otherwise unreachable block!
Detect these cases and compute the number of saved instructions, instead of
bailing out and reporting no savings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148941 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-25 08:27:40 +00:00
..
Analysis Support pointer comparisons against constants, when looking at the inline-cost 2012-01-25 08:27:40 +00:00
Archive Avoid using an invalidated iterator. 2012-01-23 05:07:16 +00:00
AsmParser More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
Bitcode Extend Attributes to 64 bits 2012-01-20 17:56:17 +00:00
CodeGen use ConstantVector::getSplat in a few places. 2012-01-25 06:02:56 +00:00
DebugInfo More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
ExecutionEngine add more support for ConstantDataSequential 2012-01-24 13:41:11 +00:00
Linker use Constant::getAggregateElement to simplify a bunch of code. 2012-01-25 06:48:06 +00:00
MC ARM Darwin symbol ref differences w/o subsection-via-symbols. 2012-01-24 21:45:25 +00:00
Object Sink assert-only variables into the asserts 2012-01-24 19:43:30 +00:00
Support Remove dead default. 2012-01-23 22:37:11 +00:00
TableGen More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
Target Custom lower PSIGN and PSHUFB intrinsics to their corresponding target specific nodes so we can remove the isel patterns. 2012-01-25 06:43:11 +00:00
Transforms use Constant::getAggregateElement to simplify a bunch of code. 2012-01-25 06:48:06 +00:00
VMCore constify some methods and add a new Constant::getAggregateElement 2012-01-25 06:16:32 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile