aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)AuthorFilesLines
2021-08-17[NFC] More get/removeAttribute() cleanupArthur Eubanks1-1/+1
2021-08-06Introduce intrinsic llvm.isnanSerge Pavlov1-1/+5
2021-08-04Revert "Introduce intrinsic llvm.isnan"Serge Pavlov1-5/+1
2021-08-04Introduce intrinsic llvm.isnanSerge Pavlov1-1/+5
2021-07-23[ConstantFolding] Fold constrained arithmetic intrinsicsSerge Pavlov1-2/+109
2021-07-20[ConstantFolding] avoid crashing on a fake math library callSanjay Patel1-2/+13
2021-06-22[ConstantFold] Delay fetching pointer element typeNikita Popov1-8/+6
2021-06-22[ConstantFolding] Separate conditions in GEP evaluation (NFC)Nikita Popov1-20/+17
2021-06-10[ConstantFolding] Enable folding of min/max/copysign for all floatsSerge Pavlov1-3/+11
2021-06-01[OpaquePtr] Create API to make a copy of a PointerType with some address spaceArthur Eubanks1-2/+3
2021-05-28[ConstantFolding] Fix -Wunused-variable warning (NFC)Yang Fan1-1/+1
2021-05-27[ConstFold] Simplify a load's GEP operand through local aliasesArthur Eubanks1-5/+47
2021-05-24[ConstProp] propagate poison from vector reduction element(s) to resultSanjay Patel1-1/+1
2021-05-22[ConstantFolding] Use APFloat for constant folding. NFCSerge Pavlov1-103/+80
2021-05-21[APFloat] convertToDouble/Float can work on shorter typesSerge Pavlov1-4/+1
2021-05-14[LowerConstantIntrinsics] reuse isManifestLogic from ConstantFoldingNick Desaulniers1-14/+1
2021-05-10[AMDGPU] Constant fold Intrinsic::amdgcn_permStanislav Mekhanoshin1-0/+44
2021-04-29[ConstantFolding] propagate poison through vector reduction intrinsicsSanjay Patel1-1/+5
2021-04-29[ConstantFolding] refactor helper for vector reductions; NFCSanjay Patel1-33/+31
2021-04-27[ConstFold] Use const-folded operands in more placesArthur Eubanks1-22/+9
2021-04-20[AArch64] Constant fold sve_convert_from_svbool(zero) to zeroJoe Ellis1-17/+33
2021-04-20Explicitly pass type to cast load constant folding resultArthur Eubanks1-13/+9
2021-04-16[WebAssembly] Remove saturating fp-to-int target intrinsicsThomas Lively1-20/+4
2021-03-31[ConstantFolding] Fixing addo/subo with undefGeorge Mitenkov1-5/+8
2021-03-21Reapply [ConstantFold] Handle vectors in ConstantFoldLoadThroughBitcast()Nikita Popov1-1/+1
2021-03-16Revert "[ConstantFold] Handle vectors in ConstantFoldLoadThroughBitcast()"Zequan Wu1-0/+5
2021-03-12[ConstantFold] Handle undef/poison when constant folding smul_fix/smul_fix_satBjorn Pettersson1-35/+36
2021-03-06[ConstantFold] Handle vectors in ConstantFoldLoadThroughBitcast()Nikita Popov1-5/+0
2021-01-10[ConstantFold] Fold fptoi.sat intrinsicsNikita Popov1-1/+16
2021-01-08[ConstProp] Constant propagation for get.active.lane.mask instrinsicsDavid Green1-0/+20
2020-12-30[X86] Add x86_amx type for intel AMX.Luo, Yuanke1-6/+9
2020-11-19[llvm][IR] Add dso_local_equivalent ConstantLeonard Chan1-3/+18
2020-10-16[AMDGPU] Add new llvm.amdgcn.fma.legacy intrinsicJay Foad1-2/+16
2020-10-07[llvm][mlir] Promote the experimental reduction intrinsics to be first class ...Amara Emerson1-36/+36
2020-09-19[ConstantFolding] add undef handling for fmin/fmax intrinsicsSanjay Patel1-0/+19
2020-08-10[WebAssembly][ConstantFolding] Fold fp-to-int truncation intrinsicsThomas Lively1-1/+42
2020-07-31[ConstantFolding] fold abs intrinsicSanjay Patel1-0/+13
2020-07-31[NFC] Remove unused GetUnderlyingObject paramenterVitaly Buka1-1/+1
2020-07-30[NFC] GetUnderlyingObject -> getUnderlyingObjectVitaly Buka1-1/+1
2020-07-29[ConstantFolding] fold integer min/max intrinsicsSanjay Patel1-0/+33
2020-07-26[ConstantFolding] Fold freeze if it is never undef or poisonJuneyoung Lee1-0/+2
2020-07-22[SVE] Remove calls to VectorType::getNumElements from AnalysisChristopher Tetreault1-5/+5
2020-07-21[ARM] Constant fold VCTP intrinsicsDavid Green1-1/+34
2020-07-19[ConstantFolding] check applicability of AllOnes constant creation firstJameson Nash1-2/+6
2020-07-13[GVN] teach ConstantFolding correct handling of non-integral addrspace castsJameson Nash1-1/+11
2020-07-13[GVN] add early exit to ConstantFoldLoadThroughBitcast [NFC]Jameson Nash1-1/+6
2020-07-09ConstantFoldScalarCall3 - use const APInt& returned by getValue()Simon Pilgrim1-2/+2
2020-06-16[NFC] Bail out for scalable vectors before calling getNumElementsChristopher Tetreault1-8/+10
2020-06-03[AMDGPU] Fold llvm.amdgcn.cos and llvm.amdgcn.sin intrinsics (fix)Jay Foad1-1/+4
2020-06-03[AMDGPU] Fold llvm.amdgcn.cos and llvm.amdgcn.sin intrinsicsJay Foad1-1/+20