summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit message (Expand)AuthorAgeFilesLines
* [SimplifyLibCalls] Generalize a comment. This doesn't apply only to sqrt.Davide Italiano2015-11-161-2/+2
* [SimplifyLibCalls] Make a function shorter. NFC.Davide Italiano2015-11-121-10/+2
* [SimplifyLibCalls] Don't hardcode the function name.Davide Italiano2015-11-061-1/+2
* [SimplifyLibCalls] Use hasFloatVersion(). NFCI.Davide Italiano2015-11-051-15/+13
* [SimplifyLibCalls] New transformation: tan(atan(x)) -> xDavide Italiano2015-11-041-1/+38
* [SimplifyLibCalls] Add a new transformation: pow(exp(x), y) -> exp(x*y)Davide Italiano2015-11-031-0/+26
* [SimplifyLibCalls] Remove variables that are not used. NFC.Davide Italiano2015-11-021-7/+2
* [SimplifyLibCalls] Merge two if statements. NFC.Davide Italiano2015-11-021-4/+1
* Simplify a check. NFC.Davide Italiano2015-11-011-2/+2
* [SimplifyLibCalls] Factor out other common code.Davide Italiano2015-10-311-21/+10
* [SimplifyLibCalls] Remove dead code.Davide Italiano2015-10-311-6/+0
* [SimplifyLibCalls] Factor out common unsafe-math checks.Davide Italiano2015-10-291-29/+23
* [SimplifyLibCalls] Use range-based loop. No functional change.Davide Italiano2015-10-271-4/+2
* TransformUtils: Remove implicit ilist iterator conversions, NFCDuncan P. N. Exon Smith2015-10-131-2/+1
* [SimplifyLibCalls] Fix instruction misplacement in string/memory libcall opti...Bruno Cardoso Lopes2015-10-011-2/+6
* Prune utf8 chars in comments.NAKAMURA Takumi2015-09-071-1/+1
* Optimize memcmp(x,y,n)==0 for small n and suitably aligned x/y.Chad Rosier2015-08-281-0/+22
* [SimplifyLibCalls] Fix a typoDavid Majnemer2015-08-261-1/+1
* [SimplifyLibCalls] Drop default template args. No functional change.Benjamin Kramer2015-08-161-4/+2
* transform fmin/fmax calls when possible (PR24314)Sanjay Patel2015-08-161-2/+61
* [SimplifyLibCalls] Correctly set the is_zero_undef flag for llvm.cttzDavide Italiano2015-08-131-1/+1
* fix typo; NFCSanjay Patel2015-08-121-1/+1
* Change Function::getIntrinsicID() to return an Intrinsic::ID. NFC.Pete Cooper2015-05-201-1/+1
* Simplify IRBuilder::CreateCall* by using ArrayRef+initializer_list/braced ini...David Blaikie2015-05-181-2/+2
* [opaque pointer type] More GEP IRBuilder API migrations...David Blaikie2015-04-031-2/+2
* Use early returns to reduce indentation.David Blaikie2015-04-031-18/+18
* [SimplifyLibCalls] Ignore nobuiltin/unavailable fortified libcalls.Ahmed Bougacha2015-04-011-3/+13
* [opaque pointer type] More IRBuilder::createGEP (non-inbounds) migrations: Co...David Blaikie2015-03-301-9/+9
* [SimplifyLibCalls] Fix negative shifts being produced by the memchr -> bitfie...Benjamin Kramer2015-03-211-1/+3
* [SimplifyLibCalls] Turn memchr(const, C, const) into a bitfield check.Benjamin Kramer2015-03-211-4/+50
* SimplifyLibCalls: Add basic optimization of memchr calls.Benjamin Kramer2015-03-211-0/+40
* DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini2015-03-101-118/+58
* [SimplifyLibCalls] Don't confuse strcpy_chk for stpcpy_chk.Ahmed Bougacha2015-01-271-10/+14
* [PM] Replace an abuse of inheritance to override a single function withChandler Carruth2015-01-211-7/+11
* [PM] Move TargetLibraryInfo into the Analysis library.Chandler Carruth2015-01-151-1/+1
* [SimplifyLibCalls] Don't try to simplify indirect calls.Ahmed Bougacha2015-01-141-1/+2
* [SimplifyLibCalls] Factor out fortified libcall handling.Ahmed Bougacha2015-01-121-217/+191
* [SimplifyLibCalls] Factor out str/mem libcall optimizations.Ahmed Bougacha2015-01-121-42/+64
* [SimplifyLibCalls] Factor out signature checks for fortifiable libcalls.Ahmed Bougacha2015-01-121-27/+73
* correct spelling, NFCMatthias Braun2014-12-031-3/+3
* [SimplifyLibCalls] Improve double->float shrinking to consider constantsMatthias Braun2014-12-031-14/+33
* [SimplifyLibCalls] Enable double to float shrinking for copysignMatthias Braun2014-12-031-0/+1
* Use nullptr instead of NULL for variadic sentinelsReid Kleckner2014-11-131-6/+6
* Add fortified (__*_chk) library functions to TLI (NFC)Ahmed Bougacha2014-11-121-17/+9
* Handle sqrt() shrinking in SimplifyLibCalls like any other callSanjay Patel2014-10-231-5/+14
* Shrinkify libcalls: use float versions of double libm functions with fast-mat...Sanjay Patel2014-10-221-3/+23
* fold: sqrt(x * x * y) -> fabs(x) * sqrt(y)Sanjay Patel2014-10-161-1/+87
* Optimize away fabs() calls when input is squared (known positive).Sanjay Patel2014-10-141-1/+30
* Fixing a build error.Chris Bieneman2014-09-171-1/+1
* Refactoring SimplifyLibCalls to remove static initializers and generally clea...Chris Bieneman2014-09-171-1878/+1643
OpenPOWER on IntegriCloud