aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APFloat.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-05-14[APFloat] Replace partsCount array with single variable (NFC) (#91910)Nikita Popov1-15/+10
2024-05-04[Support] Use StringRef::operator== instead of StringRef::equals (NFC) (#91042)Kazu Hirata1-2/+2
2024-05-01Revert "Constant Fold logf128 calls"Matt Devereau1-24/+0
2024-05-01Constant Fold logf128 callsMatt Devereau1-0/+24
2024-04-18Revert "Constant Fold Logf128 calls (#84501)"Matt Devereau1-24/+0
2024-04-18Constant Fold Logf128 calls (#84501)Matthew Devereau1-0/+24
2023-11-03[Support] Use StringRef::starts_with/ends_with instead of startswith/endswith...Simon Pilgrim1-1/+1
2023-08-23APFloat: Add getExactLog2AbsMatt Arsenault1-2/+7
2023-08-07APFloat: Add getExactLog2Matt Arsenault1-0/+34
2023-06-23[APFloat] Add APFloat semantic support for TF32Jeremy Furtek1-0/+20
2023-04-21ValueTracking: Implement computeKnownFPClass for fpextMatt Arsenault1-0/+14
2023-04-04[APFloat] Refactor common code for APFloat<->APInt conversionDavid Majnemer1-685/+358
2023-03-24[APFloat] Add E4M3B11FNUZDavid Majnemer1-2/+75
2023-03-03APFloat: Add classifyMatt Arsenault1-0/+13
2023-02-19Use APInt::count{l,r}_{zero,one} (NFC)Kazu Hirata1-1/+1
2023-02-14[NFC] Replace -1U{LL} expressions with appropriate *_MAX macros in Support li...Pavel Kopyl1-3/+3
2023-02-09[llvm][APFloat] Add NaN-in-negative-zero formats by AMD and GraphCoreKrzysztof Drewniak1-58/+295
2023-01-30[DAGCombine] fp_to_sint isSaturatingMinMaxSamuel Parker1-0/+10
2023-01-29[Support] Use std::clamp (NFC)Kazu Hirata1-1/+1
2023-01-27Revert "[DAGCombine] fp_to_sint isSaturatingMinMax"Samuel Parker1-10/+0
2023-01-26[DAGCombine] fp_to_sint isSaturatingMinMaxSamuel Parker1-0/+10
2023-01-05Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ partserge-sans-paille1-4/+4
2022-12-15APFloat: Add isSmallestNormalized predicate functionMatt Arsenault1-0/+29
2022-12-13Fix APFloat::toString on Float8E5M2 values.Reed1-0/+5
2022-12-02APFloat: Simplify makeSmallestNormalized implementationMatt Arsenault1-2/+1
2022-11-15Add FP8 E4M3 support to APFloat.Reed1-22/+201
2022-10-04Add APFloat and MLIR type support for fp8 (e5m2).Stella Laurenzo1-12/+74
2022-10-02Revert "Add APFloat and MLIR type support for fp8 (e5m2)."Vitaly Buka1-74/+12
2022-10-02Add APFloat and MLIR type support for fp8 (e5m2).Stella Laurenzo1-12/+74
2022-08-08[llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFCFangrui Song1-5/+5
2022-06-08[APFloat] Fix truncation of certain subnormal numbersDanila Malyutin1-1/+8
2021-10-09[APFloat] Set size of PPCDoubleDouble to 128Qiu Chaofan1-1/+1
2021-10-04[APFloat] Common up some assertions. NFC.Jay Foad1-7/+1
2021-10-04[APFloat] Remove BitWidth argument from getAllOnesValueJay Foad1-3/+2
2021-09-09[APInt] Normalize naming on keep constructors / predicate methods.Chris Lattner1-1/+1
2021-09-08[APInt.h] Reduce the APInt header file interface a bit. NFCChris Lattner1-3/+20
2021-05-21[APFloat] convertToDouble/Float can work on shorter typesSerge Pavlov1-0/+33
2021-02-01Revert rGce587529ad8b5 - "[APFloat] multiplySignificand - pass IEEEFloat as c...Simon Pilgrim1-1/+1
2021-02-01[APFloat] multiplySignificand - pass IEEEFloat as const reference. NFCI.Simon Pilgrim1-1/+1
2021-01-28[APFloat] scalbn - pass DoubleAPFloat arg as const-ref. NFCI.Simon Pilgrim1-1/+2
2021-01-28[Support] Add some missing namespace closure comments. NFCI.Simon Pilgrim1-2/+2
2020-11-03Cleanup namespace comment to fix clang-tidy warning. NFCI.Simon Pilgrim1-1/+1
2020-10-01[APFloat] convert SNaN to QNaN in convert() and raise Invalid signalSanjay Patel1-19/+8
2020-09-30[APFloat] Improve asserts in isSignificandAllOnes and isSignificandAllZeros s...Craig Topper1-3/+4
2020-09-30Patch IEEEFloat::isSignificandAllZeros and IEEEFloat::isSignificandAllOnes (b...Craig Topper1-2/+2
2020-09-24[APFloat] prevent NaN morphing into Inf on conversion (PR43907)Sanjay Patel1-0/+15
2020-09-22Revert rGf835779160ec303 "[APFloat] multiplySignificand - always pass IEEEFlo...Simon Pilgrim1-1/+1
2020-09-22[APFloat] multiplySignificand - always pass IEEEFloat as const reference. NFCI.Simon Pilgrim1-1/+1
2020-09-09[APFloat] Fix uninitialized variable in IEEEFloat constructorsSimon Pilgrim1-34/+34
2020-06-05Fix convertBFloatAPFloatToAPInt for NaN/Inf valuesDiego Caballero1-2/+2