aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-06-16[MemoryBuiltins] Support allocas in getInitialValueOfAllocation (NFC)Nikita Popov1-0/+3
2024-12-20[llvm] Bail out when meeting pointer with negative offset in approximated mod...serge-sans-paille1-3/+6
2024-12-10[llvm] Improve llvm.objectsize computation by computing GEP, alloca a… (#11...serge-sans-paille1-4/+100
2024-11-23[llvm] Fix ObjectSizeOffsetVisitor behavior in exact mode upon negati… (#11...serge-sans-paille1-7/+8
2024-11-20Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca a...Florian Mayer1-104/+4
2024-11-19[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...serge-sans-paille1-4/+104
2024-11-18[llvm] Fix behavior of llvm.objectsize in presence of negative / large offset...serge-sans-paille1-8/+45
2024-11-07Revert "[llvm] Use computeConstantRange to improve llvm.objectsize computatio...serge-sans-paille1-91/+4
2024-11-07[llvm] Use computeConstantRange to improve llvm.objectsize computation (#114673)serge-sans-paille1-4/+91
2024-11-05[Analysis] Remove unused includes (NFC) (#114936)Kazu Hirata1-1/+0
2024-11-02[llvm] Fix __builtin_object_size interaction between Negative Offset … (#11...serge-sans-paille1-65/+80
2024-10-17[APInt] Fix APInt constructions where value does not fit bitwidth (NFCI) (#80...Nikita Popov1-0/+2
2024-08-13[MemoryBuiltins] Use getAllOnesValue()Nikita Popov1-1/+2
2024-08-09[MemoryBuiltins] Simplify getCalledFunction() helper (NFC)Nikita Popov1-24/+12
2024-08-09[MemoryBuiltins] Handle allocator attributes on call-siteNikita Popov1-31/+28
2024-06-27[IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)Nikita Popov1-1/+1
2024-06-24Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"Stephen Tozer1-1/+1
2024-06-24[IR][NFC] Update IRBuilder to use InsertPosition (#96497)Stephen Tozer1-1/+1
2024-05-02[BoundsChecking] Handle vscale allocas (#90926)Vitaly Buka1-4/+4
2024-01-05[NFC][ObjectSizeOffset] Use classes instead of std::pair (#76882)Bill Wendling1-150/+158
2023-10-19[MemoryBuiltins] Simplify getAllocFnKind() implementation (NFC)Nikita Popov1-4/+1
2023-09-27[ObjectSizeOffsetVisitor] Bail after visiting 100 instructions (#67479)Arthur Eubanks1-9/+25
2023-09-22[NFC][ObjectSizeOffsetVisitor] Remove redundant equality checkArthur Eubanks1-1/+1
2023-09-15[MemoryBuiltins] Cache the result of ObjectOffsetSizeVisitor::visit. #64796 (...Bevin Hansson1-4/+8
2023-09-11[NFC][RemoveDIs] Use iterators over inst-pointers when using IRBuilderJeremy Morse1-3/+4
2023-07-03[InstSimplify] Fold all global variables with initializersAnshil Gandhi1-1/+3
2023-06-23[InstCombine] Track inserted instructions when lowering objectsizeNikita Popov1-5/+9
2023-06-14Revert "[InstSimplify] Fold all global variables with initializers"Alan Zhao1-3/+1
2023-06-13[InstSimplify] Fold all global variables with initializersAnshil Gandhi1-1/+3
2023-05-31[MemoryBuiltins] Handle phi nodes without operands (PR63013)Nikita Popov1-0/+2
2023-04-28[MemProf] Use updated version of hot/cold operator newTeresa Johnson1-8/+8
2023-04-19[MemProf] Optionally pass hot/cold hints to operator newTeresa Johnson1-0/+8
2023-03-28[llvm] Use pointer index type for more GEP offsets (pre-codegen)Krzysztof Drewniak1-4/+5
2023-01-11[NFC] Use TypeSize::getKnownMinValue() instead of TypeSize::getKnownMinSize()Guillaume Chatelet1-1/+1
2022-12-29Detemplate llvm::EmitGEPOffset and move it into a cpp file. NFC.Benjamin Kramer1-1/+1
2022-12-16std::optional::value => operator*/operator->Fangrui Song1-2/+2
2022-12-14Don't include Optional.hKazu Hirata1-1/+0
2022-12-14[Analysis] llvm::Optional => std::optionalFangrui Song1-1/+1
2022-12-11[Analysis] Use std::optional in MemoryBuiltins.cpp (NFC)Kazu Hirata1-17/+18
2022-12-09[MemoryBuiltins] Avoid comparing against Type::getInt8PtrTy(0)Alex Richardson1-2/+2
2022-12-09[MemoryBuiltins] Remove unused TLI parameters (NFC)Nikita Popov1-3/+2
2022-12-09[MemoryBuiltins] Remove CallocLike (NFC)Nikita Popov1-22/+5
2022-12-09[MemoryBuiltins] Remove AlignedAllocLike (NFC)Nikita Popov1-12/+5
2022-12-09[MemoryBuiltins] Drop ReallocLike type (NFC)Nikita Popov1-9/+3
2022-12-09[MemoryBuiltins] Remove some hardcoded builtinsNikita Popov1-5/+0
2022-12-06[ADT] Don't including None.h (NFC)Kazu Hirata1-1/+0
2022-12-02[Analysis] Use std::nullopt instead of None (NFC)Kazu Hirata1-20/+20
2022-12-02Attributes: convert Optional to std::optionalKrzysztof Parzyszek1-1/+2
2022-11-16MemoryBuiltins: Don't check for unsized allocasMatt Arsenault1-3/+0
2022-09-30[MemProf] Update metadata during inliningTeresa Johnson1-6/+0