aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-08-16[InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y)Evandro Menezes1-22/+32
2019-08-14[SLC] Dereferenceable annonation - handle valid null pointersDavid Bolvansky1-4/+11
2019-08-14[BuildLibCalls] Noalias annotationDavid Bolvansky1-9/+0
2019-08-13[SimplifyLibCalls] Add noalias from known callsitesDavid Bolvansky1-0/+9
2019-08-13[SLC] Improve dereferenceable bytes annotationDavid Bolvansky1-1/+5
2019-08-13[SimplifyLibCalls] Add dereferenceable bytes from known callsitesDavid Bolvansky1-13/+58
2019-08-09[InstCombine] Refactor optimizeExp2() (NFC)Evandro Menezes1-31/+19
2019-08-09[Transforms] Rename hasUnaryFloatFn() and getUnaryFloatFn() (NFC)Evandro Menezes1-12/+9
2019-07-24[InstCombine] Swap order of checks to improve compile time (NFC)Evandro Menezes1-3/+3
2019-07-12[InstCombine] Reorder pow() transformations (NFC)Evandro Menezes1-23/+19
2019-07-11[InstCombine] Reorder recently added/improved pow transformationsDavid Bolvansky1-3/+3
2019-07-10[InstCombine] pow(C,x) -> exp2(log2(C)*x)David Bolvansky1-1/+24
2019-07-02[NFC] Strenghten isInteger condition for rL364940David Bolvansky1-2/+3
2019-07-02[SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n)David Bolvansky1-12/+47
2019-06-29[InstCombine] canonicalize fmin/fmax to LLVM intrinsics minnum/maxnumSanjay Patel1-24/+14
2019-05-31[SimplifyLibCalls] Fold more fortified functions into non-fortified variantsErik Pilkington1-15/+132
2019-05-31NFC: Pull out a function to reduce some duplicationErik Pilkington1-9/+13
2019-05-06Pull out repeated CI->getCalledFunction() calls. NFCI.Simon Pilgrim1-2/+2
2019-05-06[SimplifyLibCalls] Simplify bcmp too.Clement Courbet1-1/+19
2019-04-30[SimplifyLibCalls] Clean up code (NFC)Evandro Menezes1-6/+8
2019-04-15[PGO] Profile guided code size optimization.Hiroshi Yamauchi1-2/+8
2019-04-04[IR] Refactor attribute methods in Function class (NFC)Evandro Menezes1-1/+1
2019-04-03[WebAssembly] Add Emscripten OS definition + small_printfAlon Zakai1-0/+48
2019-03-12[SimplifyLibCalls] Simplify optimizePutsFangrui Song1-10/+6
2019-03-12[SimplifyLibCalls] Fix comments about fputs, memchr, and s[n]printf. NFCFangrui Song1-5/+7
2019-03-08[SelectionDAG] Allow the user to specify a memeq function.Clement Courbet1-14/+27
2019-02-01[opaque pointer types] Pass value type to GetElementPtr creation.James Y Knight1-1/+2
2019-02-01[opaque pointer types] Pass value type to LoadInst creation.James Y Knight1-14/+20
2019-02-01[opaque pointer types] Pass function types to CallInst creation.James Y Knight1-6/+6
2019-02-01[opaque pointer types] Add a FunctionCallee wrapper type, and use it.James Y Knight1-8/+7
2019-01-31Revert "[opaque pointer types] Add a FunctionCallee wrapper type, and use it."James Y Knight1-7/+8
2019-01-31[opaque pointer types] Add a FunctionCallee wrapper type, and use it.James Y Knight1-8/+7
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2019-01-09[SimplifyLibCalls] Fix memchr expansion for constant strings.Eli Friedman1-1/+4
2018-10-19[NFC][InstCombine] Undo stray changeEvandro Menezes1-2/+2
2018-10-18Add a emitUnaryFloatFnCall version that fetches the function name from TLIMikael Holmen1-6/+20
2018-10-16[InstCombine] Cleanup libfunc attribute inferringDavid Bolvansky1-1/+1
2018-10-13[InstCombine] Fixed crash with aliased functionsDavid Bolvansky1-1/+1
2018-10-11[InstCombine] Fix SimplifyLibCalls erasing an instruction while IC still had ...Amara Emerson1-10/+14
2018-09-19[InstCombine] Disable strcmp->memcmp transform for MSan.Matt Morehouse1-1/+4
2018-09-03[SLC] Support expanding pow(x, n+0.5) to x * x * ... * sqrt(x)Florian Hahn1-14/+52
2018-08-30[InstCombine] Expand the simplification of pow() into exp2()Evandro Menezes1-5/+27
2018-08-29Revert r340947 "[InstCombine] Expand the simplification of pow() into exp2()"Reid Kleckner1-25/+5
2018-08-29[InstCombine] Expand the simplification of pow() with nested exp{,2}()Evandro Menezes1-4/+21
2018-08-29[InstCombine] Expand the simplification of pow() into exp2()Evandro Menezes1-5/+25
2018-08-27[PATCH] [InstCombine] Fix issue in the simplification of pow() with nested ex...Evandro Menezes1-6/+22
2018-08-22[NFC] Refactor simplification of pow()Evandro Menezes1-1/+1
2018-08-17[InstCombine] Refactor the simplification of pow() (NFC)Evandro Menezes1-32/+51
2018-08-16[InstCombine] add reflection fold for tan(-x)Sanjay Patel1-2/+5
2018-08-16[InstCombine] Expand the simplification of pow(x, 0.5) to sqrt(x)Evandro Menezes1-31/+20