aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-09-13Enable simplify libcalls for ARM PCSSam Parker1-3/+35
2016-08-11Use range algorithms instead of unpacking begin/endDavid Majnemer1-1/+1
2016-08-10[SimplifyLibCalls] Restore the old behaviour, emit a libcall.Davide Italiano1-3/+5
2016-08-08[SimplifyLibCalls] Emit sqrt intrinsic instead of a libcall.Davide Italiano1-2/+3
2016-08-07[SLC] Emit an intrinsic instead of a libcall for pow.Davide Italiano1-9/+13
2016-07-07Addressing post-commit comments for not rewriting fputs:Sjoerd Meijer1-2/+5
2016-07-07Code size optimisation: don't rewrite fputs to fwrite when optimising for sizeSjoerd Meijer1-0/+2
2016-05-09Optimize a printf with a double procent to putchar.Joerg Sonnenberger1-2/+2
2016-04-27[TLI] Unify LibFunc signature checking. NFCI.Ahmed Bougacha1-362/+17
2016-04-26Revert "[SimplifyLibCalls] sprintf doesn't copy null bytes"David Majnemer1-4/+3
2016-04-26[SimplifyLibCalls] sprintf doesn't copy null bytesDavid Majnemer1-3/+4
2016-04-18[NFC] Header cleanupMehdi Amini1-1/+0
2016-04-13Simplify strlen to a subtraction for certain cases.David L Kreitzer1-0/+51
2016-04-03[SimplifyLibCalls] Garbage collect dead code.Davide Italiano1-28/+7
2016-03-28[SimplifyLibCalls] Transform printf("%s", "a") -> putchar('a').Davide Italiano1-0/+18
2016-03-19[SimplifyLibCalls] Only consider sinpi/cospi functions within the same functionDavid Majnemer1-7/+11
2016-01-26[LibCallSimplifier] fold memset(malloc(x), 0, x) --> calloc(1, x)Sanjay Patel1-0/+81
2016-01-21move function definitions so we don't need separate declarations ; NFCISanjay Patel1-67/+63
2016-01-21[LibCallSimplifier] refactor FP function signature checks ; NFCISanjay Patel1-60/+24
2016-01-21avoid variable shadowing; NFCSanjay Patel1-2/+2
2016-01-21remove unnecessary variable; NFCSanjay Patel1-2/+1
2016-01-21[LibCallSimplifier] don't get fooled by a fake fmin()Sanjay Patel1-9/+25
2016-01-21make helper functions static; NFCISanjay Patel1-7/+5
2016-01-20[LibCallSimplifier] don't get fooled by a fake sqrt()Sanjay Patel1-1/+10
2016-01-19function names start with a lowercase letter; NFCSanjay Patel1-42/+42
2016-01-19[LibCallSimplifier] use instruction-level fast-math-flags to shrink callsSanjay Patel1-19/+2
2016-01-19[LibCallSimplifier] use instruction-level fast-math-flags to transform pow(x,...Sanjay Patel1-4/+3
2016-01-12[LibCallSimplifier] use instruction-level fast-math-flags to transform pow(x,...Sanjay Patel1-1/+4
2016-01-12function names start with a lower case letter ; NFCSanjay Patel1-6/+6
2016-01-12[LibCallSimplifier] use instruction-level fast-math-flags to transform pow(ex...Sanjay Patel1-17/+14
2016-01-11[LibCallSimplifier] use instruction-level fast-math-flags to transform log callsSanjay Patel1-2/+4
2016-01-11[LibCallSimplifier] don't allow sqrt transform unless all ops are unsafeSanjay Patel1-2/+2
2016-01-11more space; NFCSanjay Patel1-0/+1
2016-01-11[LibCallSimplifier] use instruction-level fast-math-flags to transform sqrt c...Sanjay Patel1-4/+4
2016-01-06[LibCallSimplifier] less indenting; NFCISanjay Patel1-52/+51
2016-01-06[LibCallSimplifier] use instruction-level fast-math-flags for tan/atan transformSanjay Patel1-2/+5
2016-01-06[SimplifyLibCalls] Teach SimplifyLibCalls about operand bundlesDavid Majnemer1-2/+8
2016-01-06A (B + C) = A B + A C ; NFCISanjay Patel1-5/+2
2016-01-05[LibCallSimplfier] use instruction-level fast-math-flags for fmin/fmax transf...Sanjay Patel1-4/+2
2015-12-31[LibCallSimplifier] propagate FMF when shrinking binary callsSanjay Patel1-0/+4
2015-12-31[LibCallSimplifier] propagate FMF when shrinking unary callsSanjay Patel1-0/+4
2015-12-31Variable names start with an upper case letter; NFCSanjay Patel1-4/+4
2015-12-31fix formatting; NFCSanjay Patel1-17/+22
2015-12-14getParent() ^ 3 == getModule() ; NFCISanjay Patel1-1/+1
2015-12-04[SimplifyLibCalls] Optimization for pow(x, n) where n is some constantWeiming Zhao1-0/+51
2015-11-30[SimplifyLibCalls] Transform log(exp2(y)) to y*log(2) under fast-math.Davide Italiano1-1/+9
2015-11-29[SimplifyLibCalls] Don't crash if the function doesn't have a name.Davide Italiano1-3/+2
2015-11-29[SimplifyLibCalls] Cross out implemented transformations.Davide Italiano1-2/+0
2015-11-29[SimplifyLibCalls] Tranform log(pow(x, y)) -> y*log(x).Davide Italiano1-5/+50
2015-11-28[SimplifyLibCalls] Use any_of(). Suggested by David Blaikie!Davide Italiano1-4/+3