aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2015-11-28[SimplifyLibCalls] Fix inverted condition that lead to an uninitialized memor...Benjamin Kramer1-2/+2
2015-11-27[SimplifyLibCalls] Use range-based loop. NFC.Davide Italiano1-4/+2
2015-11-26[SimplifyLibCalls] Don't depend on a called function having a name, it might ...Benjamin Kramer1-11/+8
2015-11-24[Utils] Put includes in correct order. NFC.Weiming Zhao1-1/+1
2015-11-21[SimplifyLibCalls] Removed some TODOs which are already implemented. NFC.Weiming Zhao1-4/+0
2015-11-19Revert "Change memcpy/memset/memmove to have dest and source alignments."Pete Cooper1-11/+10
2015-11-18[SimplifyLibCalls] New trick: pow(x, 0.5) -> sqrt(x) under -ffast-math.Davide Italiano1-2/+9
2015-11-18Change memcpy/memset/memmove to have dest and source alignments.Pete Cooper1-10/+11
2015-11-16[SimplifyLibCalls] Generalize a comment. This doesn't apply only to sqrt.Davide Italiano1-2/+2
2015-11-12[SimplifyLibCalls] Make a function shorter. NFC.Davide Italiano1-10/+2
2015-11-06[SimplifyLibCalls] Don't hardcode the function name.Davide Italiano1-1/+2
2015-11-05[SimplifyLibCalls] Use hasFloatVersion(). NFCI.Davide Italiano1-15/+13
2015-11-04[SimplifyLibCalls] New transformation: tan(atan(x)) -> xDavide Italiano1-1/+38
2015-11-03[SimplifyLibCalls] Add a new transformation: pow(exp(x), y) -> exp(x*y)Davide Italiano1-0/+26
2015-11-02[SimplifyLibCalls] Remove variables that are not used. NFC.Davide Italiano1-7/+2
2015-11-02[SimplifyLibCalls] Merge two if statements. NFC.Davide Italiano1-4/+1
2015-11-01Simplify a check. NFC.Davide Italiano1-2/+2
2015-10-31[SimplifyLibCalls] Factor out other common code.Davide Italiano1-21/+10
2015-10-31[SimplifyLibCalls] Remove dead code.Davide Italiano1-6/+0
2015-10-29[SimplifyLibCalls] Factor out common unsafe-math checks.Davide Italiano1-29/+23
2015-10-27[SimplifyLibCalls] Use range-based loop. No functional change.Davide Italiano1-4/+2
2015-10-13TransformUtils: Remove implicit ilist iterator conversions, NFCDuncan P. N. Exon Smith1-2/+1
2015-10-01[SimplifyLibCalls] Fix instruction misplacement in string/memory libcall opti...Bruno Cardoso Lopes1-2/+6
2015-09-07Prune utf8 chars in comments.NAKAMURA Takumi1-1/+1
2015-08-28Optimize memcmp(x,y,n)==0 for small n and suitably aligned x/y.Chad Rosier1-0/+22
2015-08-26[SimplifyLibCalls] Fix a typoDavid Majnemer1-1/+1
2015-08-16[SimplifyLibCalls] Drop default template args. No functional change.Benjamin Kramer1-4/+2
2015-08-16transform fmin/fmax calls when possible (PR24314)Sanjay Patel1-2/+61
2015-08-13[SimplifyLibCalls] Correctly set the is_zero_undef flag for llvm.cttzDavide Italiano1-1/+1
2015-08-12fix typo; NFCSanjay Patel1-1/+1
2015-05-20Change Function::getIntrinsicID() to return an Intrinsic::ID. NFC.Pete Cooper1-1/+1
2015-05-18Simplify IRBuilder::CreateCall* by using ArrayRef+initializer_list/braced ini...David Blaikie1-2/+2
2015-04-03[opaque pointer type] More GEP IRBuilder API migrations...David Blaikie1-2/+2
2015-04-03Use early returns to reduce indentation.David Blaikie1-18/+18
2015-04-01[SimplifyLibCalls] Ignore nobuiltin/unavailable fortified libcalls.Ahmed Bougacha1-3/+13
2015-03-30[opaque pointer type] More IRBuilder::createGEP (non-inbounds) migrations: Co...David Blaikie1-9/+9
2015-03-21[SimplifyLibCalls] Fix negative shifts being produced by the memchr -> bitfie...Benjamin Kramer1-1/+3
2015-03-21[SimplifyLibCalls] Turn memchr(const, C, const) into a bitfield check.Benjamin Kramer1-4/+50
2015-03-21SimplifyLibCalls: Add basic optimization of memchr calls.Benjamin Kramer1-0/+40
2015-03-10DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini1-118/+58
2015-01-27[SimplifyLibCalls] Don't confuse strcpy_chk for stpcpy_chk.Ahmed Bougacha1-10/+14
2015-01-21[PM] Replace an abuse of inheritance to override a single function withChandler Carruth1-7/+11
2015-01-15[PM] Move TargetLibraryInfo into the Analysis library.Chandler Carruth1-1/+1
2015-01-14[SimplifyLibCalls] Don't try to simplify indirect calls.Ahmed Bougacha1-1/+2
2015-01-12[SimplifyLibCalls] Factor out fortified libcall handling.Ahmed Bougacha1-217/+191