llvm-6502/include/llvm/Transforms/Utils
Meador Inge 2920a71663 instcombine: Migrate math library call simplifications
This patch migrates the math library call simplifications from the
simplify-libcalls pass into the instcombine library call simplifier.

I have typically migrated just one simplifier at a time, but the math
simplifiers are interdependent because:

   1. CosOpt, PowOpt, and Exp2Opt all depend on UnaryDoubleFPOpt.
   2. CosOpt, PowOpt, Exp2Opt, and UnaryDoubleFPOpt all depend on
      the option -enable-double-float-shrink.

These two factors made migrating each of these simplifiers individually
more of a pain than it would be worth.  So, I migrated them all together.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167815 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-13 04:16:17 +00:00
..
AddrModeMatcher.h Refactor the AddrMode class out of TLI to its own header file. 2012-10-08 23:06:34 +00:00
BasicBlockUtils.h Move SplitBlockAndInsertIfThen to BasicBlockUtils. 2012-10-19 10:48:31 +00:00
BuildLibCalls.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
BypassSlowDivision.h This patch corrects commit 165126 by using an integer bit width instead of 2012-10-04 21:33:40 +00:00
Cloning.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
CmpInstAnalysis.h Refactor code used in InstCombine::FoldAndOfICmps to new file. 2011-12-17 01:20:32 +00:00
CodeExtractor.h Remove excess semi-colons to quiet warnings. 2012-05-08 20:45:04 +00:00
IntegerDivision.h Expansions for u/srem, using the udiv expansion. More unit tests for udiv and u/srem. 2012-09-26 01:55:01 +00:00
Local.h Revert the majority of the next patch in the address space series: 2012-11-01 09:14:31 +00:00
ModuleUtils.h [asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. compiler part. 2011-12-15 21:59:03 +00:00
PromoteMemToReg.h Remove a stale forward declaration. 2012-05-14 18:03:19 +00:00
SimplifyIndVar.h Remove unused declaration 2012-09-11 00:39:12 +00:00
SimplifyLibCalls.h instcombine: Migrate math library call simplifications 2012-11-13 04:16:17 +00:00
SSAUpdater.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
SSAUpdaterImpl.h Fix SSAUpdaterImpl's RecordMatchingPHI to record exactly the 2012-02-03 01:07:01 +00:00
UnifyFunctionExitNodes.h Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
UnrollLoop.h Add -unroll-runtime for unrolling loops with run-time trip counts. 2011-12-09 06:19:40 +00:00
ValueMapper.h Rename virtual table anchors from Anchor() to anchor() for consistency with the rest of the tree. 2012-09-26 06:36:36 +00:00