llvm-project/llvm/lib/Transforms/InstCombine
Meador Inge 76fc1a479a Add method for replacing instructions to LibCallSimplifier
In some cases the library call simplifier may need to replace instructions
other than the library call being simplified.  In those cases it may be
necessary for clients of the simplifier to override how the replacements
are actually done.  As such, a new overrideable method for replacing
instructions was added to LibCallSimplifier.

A new subclass of LibCallSimplifier is also defined which overrides
the instruction replacement method.  This is because the instruction
combiner defines its own replacement method which updates the worklist
when instructions are replaced.

llvm-svn: 167681
2012-11-11 03:51:43 +00:00
..
CMakeLists.txt llvm/lib: [CMake] Add explicit dependency to intrinsics_gen. 2012-06-24 13:32:01 +00:00
InstCombine.h Revert the series of commits starting with r166578 which introduced the 2012-11-01 08:07:29 +00:00
InstCombineAddSub.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineAndOrXor.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
InstCombineCalls.cpp Revert the series of commits starting with r166578 which introduced the 2012-11-01 08:07:29 +00:00
InstCombineCasts.cpp Revert the majority of the next patch in the address space series: 2012-11-01 09:14:31 +00:00
InstCombineCompares.cpp Revert the majority of the next patch in the address space series: 2012-11-01 09:14:31 +00:00
InstCombineLoadStoreAlloca.cpp Revert the series of commits starting with r166578 which introduced the 2012-11-01 08:07:29 +00:00
InstCombineMulDivRem.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombinePHI.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineSelect.cpp InstCombine: Fix an edge case where constant icmps could sneak into ConstantFoldInstOperands and crash. 2012-10-20 08:43:52 +00:00
InstCombineShifts.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineSimplifyDemanded.cpp Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
InstCombineVectorOps.cpp [InstCombine] Teach InstCombine how to handle an obfuscated splat. 2012-10-16 21:29:38 +00:00
InstCombineWorklist.h Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments. 2012-09-15 17:09:36 +00:00
InstructionCombining.cpp Add method for replacing instructions to LibCallSimplifier 2012-11-11 03:51:43 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00