aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)AuthorFilesLines
3 days[WebAssembly] Constant fold SIMD intrinsics: any/alltrue (#148074)jjasmine1-1/+18
13 days[Analysis] Drop const from a return type (NFC) (#147098)Kazu Hirata1-1/+1
13 days[ConstantFolding] Consolidate poison propagation for intrinsics (#146878)Nikita Popov1-34/+5
2025-06-25 [ConstantFold] Special case atan +/-0.0 (#143962)Lei Huang1-0/+6
2025-06-17[ConstantFolding] Handle reading from type padding (#144330)Nikita Popov1-0/+4
2025-06-13[ConstantFolding] Fold deinterleave2 of any splat vector not just zeroinitial...Craig Topper1-22/+21
2025-06-13[llvm] Compare std::optional<T> to values directly (NFC) (#143913)Kazu Hirata1-2/+2
2025-06-11[ConstantFolding] Add folding for [de]interleave2, insert and extract (#141301)Nikolay Panchenko1-0/+97
2025-06-11[ConstantFolding] Fold sqrt poison -> poison (#141821)Luke Lau1-1/+6
2025-06-09[ConstantFolding] Add support for llvm.atan in constant folding. (#143416)Craig Topper1-0/+3
2025-05-30[ConstantFolding] Add flag to disable call folding (#140270)Lewis Crawford1-3/+23
2025-05-29[Constant] Make Constant::getSplatValue return poison on poison (#141870)Luke Lau1-5/+0
2025-05-28[ConstantFolding] Fold intrinsics of scalable vectors with splatted operands ...Luke Lau1-1/+29
2025-05-08[ConstantFolding] Fold maximumnum and minimumnum (#138700)Lewis Crawford1-0/+8
2025-05-01[ConstantFolding] Constify ConstantFoldInstOperands and ConstantFoldInstructi...Luke Lau1-3/+4
2025-04-03[ConstantFolding] Add support for `sinh` and `cosh` intrinsics in constant fo...Iris1-0/+6
2025-03-11[ConstantFolding] Fix handling of index width != pointer width (#130608)Nikita Popov1-3/+6
2025-01-30[Value] Look through inttoptr (add ..) in accumulateConstantOffsets (#124981)Florian Hahn1-4/+9
2025-01-20[ConstantFolding] Add ilogb in isMathLibCallNoop (#122582)Kshitij Paranjape1-0/+3
2025-01-16[NVPTX] Constant fold NVVM fmin and fmax (#121966)Lewis Crawford1-3/+136
2025-01-15[CMake] Remove some always-true HAVE_XXX_HFangrui Song1-2/+2
2025-01-07[NVPTX] Constant-folding for f2i, d2ui, f2ll etc. (#118965)Lewis Crawford1-0/+139
2024-12-19[NFC][TargetTransformInfo][VectorUtils] Consolidate `isVectorIntrinsic...` ap...Finn Plummer1-1/+1
2024-12-10[LLVM][IR] Add support for vector ConstantInt/FP to ConstandFolding:FoldBitCa...Paul Walker1-5/+10
2024-12-09[ConstantFolding] Infer getelementptr nuw flag (#119214)Nikita Popov1-1/+4
2024-12-09Reland "[InstSimplify] Add basic constant folding for `llvm.sincos`" (#119192)Benjamin Maxwell1-0/+35
2024-12-08Revert "[InstSimplify] Add basic constant folding for `llvm.sincos`" (#119149)Benjamin Maxwell1-35/+0
2024-12-08[InstSimplify] Add basic constant folding for `llvm.sincos` (#114527)Benjamin Maxwell1-0/+35
2024-12-04[InstSimplify] Refine `abs(min/undef, true)` to `poison` (#118669)Pedro Lobo1-2/+2
2024-12-04[LLVM][IR] When evaluating GEP offsets don't assume ConstantInt is a scalar. ...Paul Walker1-1/+1
2024-11-13ConstantFolding: Do not fold fcmp of denormal without known mode (#115407)Matt Arsenault1-40/+105
2024-11-02[ConstantFold] Special case log1p +/-0.0 (#114635)Hubert Tong1-0/+3
2024-11-01Revert "[ConstantFold] Fold `tgamma` and `tgammaf` when the input parameter i...c8ef1-16/+3
2024-11-01[ConstantFold] Fold `tgamma` and `tgammaf` when the input parameter is a cons...c8ef1-3/+16
2024-10-22[ConstantFold] Fold `erf` and `erff` when the input parameter is a constant v...c8ef1-3/+7
2024-10-21[ConstantFolding] Set signed/implicitTrunc when handling GEP offsetsNikita Popov1-1/+2
2024-10-20[ConstantFold] Fold `ilogb` and `ilogbf` when the input parameter is a consta...c8ef1-1/+9
2024-10-18[llvm] prefer isa_and_nonnull over v && isa (#112541)Mohammed Keyvanzadeh1-2/+2
2024-10-17[APInt] Fix APInt constructions where value does not fit bitwidth (NFCI) (#80...Nikita Popov1-1/+2
2024-10-16[ConstantFold] Fold `log1p` and `log1pf` when the input parameter is a consta...c8ef1-3/+9
2024-10-10[ConstantFold] Fold `logb` and `logbf` when the input parameter is a constant...c8ef1-3/+8
2024-10-08[LLVM][ConstFolds] Verify a scalar src before attempting scalar->vector bitca...Paul Walker1-1/+2
2024-08-25Revert "Enable logf128 constant folding for hosts with 128bit long double (#1...NAKAMURA Takumi1-24/+6
2024-08-24[ConstantFolding] Ensure TLI is valid when simplifying fp128 intrinsics.David Green1-1/+1
2024-08-22Enable logf128 constant folding for hosts with 128bit long double (#104929)Matthew Devereau1-6/+24
2024-08-14Revert "Reland logf128 constant folding (#103217)"Nikita Popov1-2/+2
2024-08-14Reland logf128 constant folding (#103217)Matthew Devereau1-2/+2
2024-08-12[ConstantFolding] Use getSigned()Nikita Popov1-2/+3
2024-08-09Revert "Enable logf128 constant folding for hosts with 128bit floats (#96287)"Nikita Popov1-2/+2
2024-08-09Enable logf128 constant folding for hosts with 128bit floats (#96287)Matthew Devereau1-2/+2