summaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
AgeCommit message (Expand)Author
2024-01-05[NFC][ObjectSizeOffset] Use classes instead of std::pair (#76882)Bill Wendling
2023-10-19[MemoryBuiltins] Simplify getAllocFnKind() implementation (NFC)Nikita Popov
2023-09-27[ObjectSizeOffsetVisitor] Bail after visiting 100 instructions (#67479)Arthur Eubanks
2023-09-22[NFC][ObjectSizeOffsetVisitor] Remove redundant equality checkArthur Eubanks
2023-09-15[MemoryBuiltins] Cache the result of ObjectOffsetSizeVisitor::visit. #64796 (...Bevin Hansson
2023-09-11[NFC][RemoveDIs] Use iterators over inst-pointers when using IRBuilderJeremy Morse
2023-07-03[InstSimplify] Fold all global variables with initializersAnshil Gandhi
2023-06-23[InstCombine] Track inserted instructions when lowering objectsizeNikita Popov
2023-06-14Revert "[InstSimplify] Fold all global variables with initializers"Alan Zhao
2023-06-13[InstSimplify] Fold all global variables with initializersAnshil Gandhi
2023-05-31[MemoryBuiltins] Handle phi nodes without operands (PR63013)Nikita Popov
2023-04-28[MemProf] Use updated version of hot/cold operator newTeresa Johnson
2023-04-19[MemProf] Optionally pass hot/cold hints to operator newTeresa Johnson
2023-03-28[llvm] Use pointer index type for more GEP offsets (pre-codegen)Krzysztof Drewniak
2023-01-11[NFC] Use TypeSize::getKnownMinValue() instead of TypeSize::getKnownMinSize()Guillaume Chatelet
2022-12-29Detemplate llvm::EmitGEPOffset and move it into a cpp file. NFC.Benjamin Kramer
2022-12-16std::optional::value => operator*/operator->Fangrui Song
2022-12-14Don't include Optional.hKazu Hirata
2022-12-14[Analysis] llvm::Optional => std::optionalFangrui Song
2022-12-11[Analysis] Use std::optional in MemoryBuiltins.cpp (NFC)Kazu Hirata
2022-12-09[MemoryBuiltins] Avoid comparing against Type::getInt8PtrTy(0)Alex Richardson
2022-12-09[MemoryBuiltins] Remove unused TLI parameters (NFC)Nikita Popov
2022-12-09[MemoryBuiltins] Remove CallocLike (NFC)Nikita Popov
2022-12-09[MemoryBuiltins] Remove AlignedAllocLike (NFC)Nikita Popov
2022-12-09[MemoryBuiltins] Drop ReallocLike type (NFC)Nikita Popov
2022-12-09[MemoryBuiltins] Remove some hardcoded builtinsNikita Popov
2022-12-06[ADT] Don't including None.h (NFC)Kazu Hirata
2022-12-02[Analysis] Use std::nullopt instead of None (NFC)Kazu Hirata
2022-12-02Attributes: convert Optional to std::optionalKrzysztof Parzyszek
2022-11-16MemoryBuiltins: Don't check for unsized allocasMatt Arsenault
2022-09-30[MemProf] Update metadata during inliningTeresa Johnson
2022-09-30Profile matching and IR annotation for memprof profiles.Teresa Johnson
2022-09-23Restore "[MemProf] Memprof profile matching and annotation"Teresa Johnson
2022-09-22Revert "[MemProf] Memprof profile matching and annotation"Teresa Johnson
2022-09-22[MemProf] Fix buildbot error due to hasValue deprecation warningTeresa Johnson
2022-09-22[MemProf] Memprof profile matching and annotationTeresa Johnson
2022-08-03[BoundsChecking] Fix merging of sizesArthur Eubanks
2022-07-25MemoryBuiltins: remove malloc-family funcs from listAugie Fackler
2022-07-21MemoryBuiltins: accept non-TLI funcs with attribs as allocator funcsAugie Fackler
2022-07-21MemoryBuiltins: start using properties of functionsAugie Fackler
2022-07-21[MemoryBuiltins] Add getReallocatedOperand() function (NFC)Nikita Popov
2022-07-21[MemoryBuiltins] Remove isFreeCall() function (NFC)Nikita Popov
2022-07-21[MemoryBuiltins] Add getFreedOperand() function (NFCI)Nikita Popov
2022-07-21[MemoryBuiltins] Default to trivial mapper in getAllocSize() (NFC)Nikita Popov
2022-07-21[MemoryBuiltins] Don't query TLI for non-pointer functions (NFC)Nikita Popov
2022-07-21[MemoryBuiltins] Avoid isAllocationFn() call before checking removable allocNikita Popov
2022-07-13[llvm] Use value instead of getValue (NFC)Kazu Hirata
2022-07-03[NFC] Switch a few uses of undef to poison as placeholders for unreachble codeNuno Lopes
2022-06-26[llvm] Use Optional::has_value instead of Optional::hasValue (NFC)Kazu Hirata
2022-06-25[llvm] Don't use Optional::hasValue (NFC)Kazu Hirata