llvm-6502/lib/Transforms/Scalar
Dan Gohman f241174421 Revert the addition of hasNoPointerOverflow to GEPOperator.
Getelementptrs that are defined to wrap are virtually useless to
optimization, and getelementptrs that are undefined on any kind
of overflow are too restrictive -- it's difficult to ensure that
all intermediate addresses are within bounds. I'm going to take
a different approach.

Remove a few optimizations that depended on this flag.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76437 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-20 17:43:30 +00:00
..
ADCE.cpp Allow readonly functions to unwind exceptions. Teach 2009-05-06 06:49:50 +00:00
BasicBlockPlacement.cpp Tidy up several unbeseeming casts from pointer to intptr_t. 2008-09-04 17:05:41 +00:00
CMakeLists.txt Fix linking of llvm-ld and lli with CMake, from Xerxes Rånby 2009-06-26 15:37:00 +00:00
CodeGenPrepare.cpp This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? 2009-07-09 23:48:35 +00:00
CondPropagate.cpp Avoid making the transformation enabled by my last patch if the new destinations have phi nodes. 2009-04-15 00:43:54 +00:00
ConstantProp.cpp Thread LLVMContext through the constant folding APIs, which touches a lot of files. 2009-07-06 18:42:36 +00:00
DCE.cpp Eliminate several more unnecessary intptr_t casts. 2009-02-18 05:09:16 +00:00
DeadStoreElimination.cpp Rename PaddedSize to AllocSize, in the hope that this 2009-05-09 07:06:46 +00:00
GVN.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
GVNPRE.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
IndVarSimplify.cpp Switch invars away from using isTrapping when it really shouldn't be 2009-07-15 22:48:29 +00:00
InstructionCombining.cpp Revert the addition of hasNoPointerOverflow to GEPOperator. 2009-07-20 17:43:30 +00:00
JumpThreading.cpp Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst. 2009-07-15 23:53:25 +00:00
LICM.cpp Replace isTrapping with a new, similar method called 2009-07-17 04:28:42 +00:00
LoopDeletion.cpp Make makeLoopInvariant report whether it made any changes or not, 2009-07-15 01:25:43 +00:00
LoopIndexSplit.cpp This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? 2009-07-09 23:48:35 +00:00
LoopRotation.cpp This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? 2009-07-09 23:48:35 +00:00
LoopStrengthReduce.cpp Make Loop and MachineLoop be subclasses of LoopBase, rather than typedefs, 2009-07-13 21:51:15 +00:00
LoopUnroll.cpp Adjust loop size estimate for full unrolling; 2009-04-20 22:19:33 +00:00
LoopUnswitch.cpp Make makeLoopInvariant report whether it made any changes or not, 2009-07-15 01:25:43 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
MemCpyOptimizer.cpp Even more passes being LLVMContext'd. 2009-07-03 19:42:02 +00:00
PredicateSimplifier.cpp Replace intersectWith with maximalIntersectWith. The latter guarantees that 2009-07-18 06:34:42 +00:00
Reassociate.cpp These don't really need contexts either. 2009-07-13 22:18:28 +00:00
Reg2Mem.cpp Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst. 2009-07-15 23:53:25 +00:00
Scalar.cpp add a bunch more passes to the C bindings (PR3734), patch by 2009-03-06 16:52:18 +00:00
ScalarReplAggregates.cpp Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst. 2009-07-15 23:53:25 +00:00
SCCP.cpp Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a number of issues in 2009-07-16 18:04:31 +00:00
SimplifyCFGPass.cpp Revert 75571; I'm convinced this isn't the right thing to do. 2009-07-14 17:48:25 +00:00
SimplifyHalfPowrLibCalls.cpp eliminate warning when asserts disabled. 2008-12-14 21:36:23 +00:00
SimplifyLibCalls.cpp Fix simplifylibcalls memset recognition to work on 64-bit platforms 2009-07-18 08:34:51 +00:00
TailDuplication.cpp Replace isTrapping with a new, similar method called 2009-07-17 04:28:42 +00:00
TailRecursionElimination.cpp Improve tail call elim to move loads above readonly calls 2009-06-19 04:22:16 +00:00