llvm-6502/lib/Transforms/Scalar
Jingyue Wu 09d6a9040c [SeparateConstOffsetFromGEP] inbounds zext => sext for better splitting
For each array index that is in the form of zext(a), convert it to sext(a)
if we can prove zext(a) <= max signed value of typeof(a). The conversion
helps to split zext(x + y) into sext(x) + sext(y).

Reviewed in http://reviews.llvm.org/D4060



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210444 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-08 23:49:34 +00:00
..
ADCE.cpp
CMakeLists.txt Add LoadCombine pass. 2014-05-29 01:55:07 +00:00
ConstantHoisting.cpp
ConstantProp.cpp
CorrelatedValuePropagation.cpp
DCE.cpp
DeadStoreElimination.cpp
EarlyCSE.cpp
FlattenCFGPass.cpp
GlobalMerge.cpp Revert "Implement global merge optimization for global variables." 2014-05-16 13:02:18 +00:00
GVN.cpp
IndVarSimplify.cpp
JumpThreading.cpp
LICM.cpp
LLVMBuild.txt
LoadCombine.cpp Add LoadCombine pass. 2014-05-29 01:55:07 +00:00
LoopDeletion.cpp
LoopIdiomRecognize.cpp
LoopInstSimplify.cpp
LoopRerollPass.cpp
LoopRotation.cpp Make the LoopRotate pass's maximum header size configurable both programmatically 2014-05-26 08:58:51 +00:00
LoopStrengthReduce.cpp [LSR] Canonicalize reg1 + ... + regN into reg1 + ... + 1*regN. 2014-05-20 19:25:04 +00:00
LoopUnrollPass.cpp
LoopUnswitch.cpp
LowerAtomic.cpp
Makefile
MemCpyOptimizer.cpp
PartiallyInlineLibCalls.cpp
Reassociate.cpp [Reassociate] Similar to "X + -X" -> "0", added code to handle "X + ~X" -> "-1". 2014-05-31 15:01:54 +00:00
Reg2Mem.cpp
SampleProfile.cpp
Scalar.cpp Add LoadCombine pass. 2014-05-29 01:55:07 +00:00
Scalarizer.cpp
ScalarReplAggregates.cpp
SCCP.cpp
SeparateConstOffsetFromGEP.cpp [SeparateConstOffsetFromGEP] inbounds zext => sext for better splitting 2014-06-08 23:49:34 +00:00
SimplifyCFGPass.cpp
Sink.cpp
SROA.cpp
StructurizeCFG.cpp Use range for 2014-05-19 17:52:48 +00:00
TailRecursionElimination.cpp Add support for missed and analysis optimization remarks. 2014-05-22 14:19:46 +00:00