llvm-6502/lib/Transforms/Scalar
Chris Lattner 7438106207 give instcombine a custom IRBuilder that adds new instructions to the
workslist and is set to insert new instructions before the current one.
Convert a bunch of stuff that used to call InsertNewInstBefore over to
use it, greatly simplifying code and making it more natural.

There is still a lot more to go, but this is a good start.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80492 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-30 07:44:24 +00:00
..
ADCE.cpp Allow readonly functions to unwind exceptions. Teach 2009-05-06 06:49:50 +00:00
BasicBlockPlacement.cpp More ProfileInfo improvements. 2009-08-08 17:43:09 +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 Eliminate the unused Context argument on one of the ICmpInst and FCmpInst 2009-08-25 23:17:54 +00:00
CondPropagate.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
ConstantProp.cpp Get rid of the Pass+Context magic. 2009-07-22 00:24:57 +00:00
DCE.cpp Eliminate several more unnecessary intptr_t casts. 2009-02-18 05:09:16 +00:00
DeadStoreElimination.cpp Fix this condition I accidentally inverted. 2009-07-24 18:31:07 +00:00
GVN.cpp Make this into a static method. 2009-08-26 22:55:11 +00:00
GVNPRE.cpp Remove unused variables. 2009-08-26 00:13:22 +00:00
IndVarSimplify.cpp Special-case static allocas in IndVarSimplify's loop invariant 2009-08-25 17:42:10 +00:00
InstructionCombining.cpp give instcombine a custom IRBuilder that adds new instructions to the 2009-08-30 07:44:24 +00:00
JumpThreading.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
LICM.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
LoopDeletion.cpp Make makeLoopInvariant report whether it made any changes or not, 2009-07-15 01:25:43 +00:00
LoopIndexSplit.cpp Fix PR3913, patch by Jakub Staszak! 2009-08-28 00:43:14 +00:00
LoopRotation.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
LoopStrengthReduce.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
LoopUnroll.cpp Simplify conditional. 2009-08-13 03:05:20 +00:00
LoopUnswitch.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
Makefile
MemCpyOptimizer.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
PredicateSimplifier.cpp eliminate uses of cerr() 2009-08-23 07:05:07 +00:00
Reassociate.cpp remove the std::ostream version of module and type printing. 2009-08-23 04:52:46 +00:00
Reg2Mem.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +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 eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
SCCP.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
SimplifyCFGPass.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
SimplifyHalfPowrLibCalls.cpp Remove Value::getName{Start,End}, the last of the old Name APIs. 2009-07-26 09:48:23 +00:00
SimplifyLibCalls.cpp Fix SimplifyLibcalls and ValueTracking to check mayBeOverridden 2009-08-19 00:11:12 +00:00
TailDuplication.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
TailRecursionElimination.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00