summaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)Author
2017-10-01Revert "Fix typo [NFC]"Xin Tong
2017-10-01Fix typo [NFC]Xin Tong
2017-08-14Add strictfp attribute to prevent unwanted optimizations of libm callsAndrew Kaylor
2017-06-09[InstSimplify] Don't constant fold or DCE calls that are marked nobuiltinAndrew Kaylor
2017-06-06Sort the remaining #include lines in include/... and lib/....Chandler Carruth
2017-06-04[ConstantFolding] Combine an if statement into an earlier one that checked th...Craig Topper
2017-06-04[ConstantFolding][X86] Replace an LLVM_FALLTHROUGH with a break because it re...Craig Topper
2017-06-04[ConstantFolding] Properly support constant folding of vector powi intrinsic....Craig Topper
2017-06-03[ConstantFolding] Fix constant folding for vector cttz and ctlz intrinsics to...Craig Topper
2017-06-02[InstSimplify][ConstantFolding] Teach constant folding how to handle icmp nul...Craig Topper
2017-05-31Added missing break; added LLVM_FALLTHROUGH to address warning: this statemen...Galina Kistanova
2017-05-24[ValueTracking] Convert most of the calls to computeKnownBits to use the vers...Craig Topper
2017-05-12[ConstantFolding] Add folding for various math '__<func>_finite' routines gen...Andrew Kaylor
2017-05-03[KnownBits] Add methods for determining if KnownBits is a constant valueCraig Topper
2017-04-26[ValueTracking] Introduce a KnownBits struct to wrap the two APInts for compu...Craig Topper
2017-04-07[ConstantFolding] Use Intrinsic::not_intrinsic instead of 0 for readability. ...Craig Topper
2017-03-21[ConstantFolding] Fix to prevent constant folding having to repeatedly scan o...David Green
2017-03-20Use MutableArrayRef for APFloat::convertToIntegerSimon Pilgrim
2017-03-19[Analysis] bitreverse(undef) returns undefBrian Gesiak
2017-01-23[Analysis] Add LibFunc_ prefix to enums in TargetLibraryInfo. (NFC)David L. Jones
2017-01-21[ConstantFolding] Constant-fold llvm.sqrt(x) like other intrinsics.Justin Lebar
2016-12-26[InstCombiner] Simplify lib calls to `round{,f}`Bryant Wong
2016-12-21[ConstantFolding] Fix vector GEPs harderMichael Kuperstein
2016-12-14Replace APFloatBase static fltSemantics data members with getter functionsStephan Bergmann
2016-12-08ConstantFolding: Don't crash when encountering vector GEPKeno Fischer
2016-12-07InstCombine: Fold bitcast of vector to FP scalarMatt Arsenault
2016-12-02ConstantFolding: Factor code into helper functionMatt Arsenault
2016-11-22Analysis: gep inbounds (gep inbounds (...)) is inbounds.Peter Collingbourne
2016-11-10IR: Introduce inrange attribute on getelementptr indices.Peter Collingbourne
2016-11-02DCE math library calls with a constant operand.Eli Friedman
2016-09-13[ConstantFold] Improve the bitcast folding logic for constant vectors.Andrea Di Biagio
2016-08-25Fix some Clang-tidy modernize-use-using and Include What You Use warnings; ot...Eugene Zelenko
2016-08-05[ConstantFolding] Don't create illegal (non-integral) inttoptrsSanjoy Das
2016-07-29[ConstantFolding] Handle bitcasts of undef fp vector elementsDavid Majnemer
2016-07-29[ConstantFolding] Fold bitcasts of vectors w/ undef elementsDavid Majnemer
2016-07-29[ConstantFolding] Remove an unused ConstantFoldInstOperands overloadDavid Majnemer
2016-07-29[ConstantFolding] Use ConstantExpr::getWithOperandsDavid Majnemer
2016-07-29[ConstnatFolding] Teach the folder how to fold ConstantVectorDavid Majnemer
2016-07-28[ConstantFolding] Don't bail on folding if ConstantFoldConstantExpression failsDavid Majnemer
2016-07-27[ConstantFolding] Correctly handle failures in ConstantFoldConstantExpression...David Majnemer
2016-07-19[X86][SSE] Reimplement SSE fp2si conversion intrinsics instead of using gener...Simon Pilgrim
2016-07-14Simplify llvm.masked.load w/ undef masksDavid Majnemer
2016-07-14[ConstantFolding] Fold masked loadsDavid Majnemer
2016-07-13[ConstantFolding] Extend FoldReinterpretLoadFromConstPtr to handle negative o...David Majnemer
2016-07-13[ConstantFolding] Use sdiv_ovDavid Majnemer
2016-07-13[ConstantFolding] Don't treat negative GEP offsets as positiveDavid Majnemer
2016-07-13[ConstantFolding] CleanupsDavid Majnemer
2016-07-13[IR] Make getIndexedOffsetInType return a signed resultDavid Majnemer
2016-06-27[ConstantFolding] Fix bitcast vector of i1.Igor Breger
2016-06-21Replace silly uses of 'signed' with 'int'David Majnemer