summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit message (Expand)AuthorAgeFilesLines
* Optimize a printf with a double procent to putchar.Joerg Sonnenberger2016-05-091-2/+2
* [TLI] Unify LibFunc signature checking. NFCI.Ahmed Bougacha2016-04-271-362/+17
* Revert "[SimplifyLibCalls] sprintf doesn't copy null bytes"David Majnemer2016-04-261-4/+3
* [SimplifyLibCalls] sprintf doesn't copy null bytesDavid Majnemer2016-04-261-3/+4
* [NFC] Header cleanupMehdi Amini2016-04-181-1/+0
* Simplify strlen to a subtraction for certain cases.David L Kreitzer2016-04-131-0/+51
* [SimplifyLibCalls] Garbage collect dead code.Davide Italiano2016-04-031-28/+7
* [SimplifyLibCalls] Transform printf("%s", "a") -> putchar('a').Davide Italiano2016-03-281-0/+18
* [SimplifyLibCalls] Only consider sinpi/cospi functions within the same functionDavid Majnemer2016-03-191-7/+11
* [LibCallSimplifier] fold memset(malloc(x), 0, x) --> calloc(1, x)Sanjay Patel2016-01-261-0/+81
* move function definitions so we don't need separate declarations ; NFCISanjay Patel2016-01-211-67/+63
* [LibCallSimplifier] refactor FP function signature checks ; NFCISanjay Patel2016-01-211-60/+24
* avoid variable shadowing; NFCSanjay Patel2016-01-211-2/+2
* remove unnecessary variable; NFCSanjay Patel2016-01-211-2/+1
* [LibCallSimplifier] don't get fooled by a fake fmin()Sanjay Patel2016-01-211-9/+25
* make helper functions static; NFCISanjay Patel2016-01-211-7/+5
* [LibCallSimplifier] don't get fooled by a fake sqrt()Sanjay Patel2016-01-201-1/+10
* function names start with a lowercase letter; NFCSanjay Patel2016-01-191-42/+42
* [LibCallSimplifier] use instruction-level fast-math-flags to shrink callsSanjay Patel2016-01-191-19/+2
* [LibCallSimplifier] use instruction-level fast-math-flags to transform pow(x,...Sanjay Patel2016-01-191-4/+3
* [LibCallSimplifier] use instruction-level fast-math-flags to transform pow(x,...Sanjay Patel2016-01-121-1/+4
* function names start with a lower case letter ; NFCSanjay Patel2016-01-121-6/+6
* [LibCallSimplifier] use instruction-level fast-math-flags to transform pow(ex...Sanjay Patel2016-01-121-17/+14
* [LibCallSimplifier] use instruction-level fast-math-flags to transform log callsSanjay Patel2016-01-111-2/+4
* [LibCallSimplifier] don't allow sqrt transform unless all ops are unsafeSanjay Patel2016-01-111-2/+2
* more space; NFCSanjay Patel2016-01-111-0/+1
* [LibCallSimplifier] use instruction-level fast-math-flags to transform sqrt c...Sanjay Patel2016-01-111-4/+4
* [LibCallSimplifier] less indenting; NFCISanjay Patel2016-01-061-52/+51
* [LibCallSimplifier] use instruction-level fast-math-flags for tan/atan transformSanjay Patel2016-01-061-2/+5
* [SimplifyLibCalls] Teach SimplifyLibCalls about operand bundlesDavid Majnemer2016-01-061-2/+8
* A (B + C) = A B + A C ; NFCISanjay Patel2016-01-061-5/+2
* [LibCallSimplfier] use instruction-level fast-math-flags for fmin/fmax transf...Sanjay Patel2016-01-051-4/+2
* [LibCallSimplifier] propagate FMF when shrinking binary callsSanjay Patel2015-12-311-0/+4
* [LibCallSimplifier] propagate FMF when shrinking unary callsSanjay Patel2015-12-311-0/+4
* Variable names start with an upper case letter; NFCSanjay Patel2015-12-311-4/+4
* fix formatting; NFCSanjay Patel2015-12-311-17/+22
* getParent() ^ 3 == getModule() ; NFCISanjay Patel2015-12-141-1/+1
* [SimplifyLibCalls] Optimization for pow(x, n) where n is some constantWeiming Zhao2015-12-041-0/+51
* [SimplifyLibCalls] Transform log(exp2(y)) to y*log(2) under fast-math.Davide Italiano2015-11-301-1/+9
* [SimplifyLibCalls] Don't crash if the function doesn't have a name.Davide Italiano2015-11-291-3/+2
* [SimplifyLibCalls] Cross out implemented transformations.Davide Italiano2015-11-291-2/+0
* [SimplifyLibCalls] Tranform log(pow(x, y)) -> y*log(x).Davide Italiano2015-11-291-5/+50
* [SimplifyLibCalls] Use any_of(). Suggested by David Blaikie!Davide Italiano2015-11-281-4/+3
* [SimplifyLibCalls] Fix inverted condition that lead to an uninitialized memor...Benjamin Kramer2015-11-281-2/+2
* [SimplifyLibCalls] Use range-based loop. NFC.Davide Italiano2015-11-271-4/+2
* [SimplifyLibCalls] Don't depend on a called function having a name, it might ...Benjamin Kramer2015-11-261-11/+8
* [Utils] Put includes in correct order. NFC.Weiming Zhao2015-11-241-1/+1
* [SimplifyLibCalls] Removed some TODOs which are already implemented. NFC.Weiming Zhao2015-11-211-4/+0
* Revert "Change memcpy/memset/memmove to have dest and source alignments."Pete Cooper2015-11-191-11/+10
* [SimplifyLibCalls] New trick: pow(x, 0.5) -> sqrt(x) under -ffast-math.Davide Italiano2015-11-181-2/+9
OpenPOWER on IntegriCloud