aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-08-28Annotate return values of allocation functions with dereferenceable_or_nullDavid Bolvansky1-0/+7
2019-08-21[LLVM][Alignment] Introduce Alignment In MachineFrameInfoGuillaume Chatelet1-1/+1
2019-07-11OpaquePtr: switch to GlobalValue::getValueType in a few places. NFC.Tim Northover1-1/+1
2019-07-08Add, and infer, a nofree function attributeBrian Homerding1-18/+37
2019-04-10Fix a hang when lowering __builtin_dynamic_object_sizeErik Pilkington1-4/+18
2019-01-30Add a 'dynamic' parameter to the objectsize intrinsicErik Pilkington1-16/+35
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-08-30Reverting r340807.Andrew Kaylor1-1/+1
2018-08-28Fix in getAllocationDataForFunctionDavid Chisnall1-1/+1
2018-07-09Make llvm.objectsize more conservative with nullGeorge Burgess IV1-1/+8
2018-05-22[InstCombine] Remove calloc transformationsDavid Bolvansky1-1/+1
2018-05-22[InstCombine] Calloc-ed strings optimizationsDavid Bolvansky1-1/+1
2018-05-14Rename DEBUG macro to LLVM_DEBUG.Nicola Zaghen1-6/+9
2018-05-01Remove \brief commands from doxygen comments.Adrian Prantl1-7/+7
2018-04-04[Analysis] Support aligned new/delete functions.Eric Fiselier1-0/+17
2018-04-04Revert "[Analysis] Support aligned new/delete functions."Eric Fiselier1-17/+0
2018-04-04[Analysis] Support aligned new/delete functions.Eric Fiselier1-0/+17
2018-03-21Fix a couple of layering violations in TransformsDavid Blaikie1-1/+1
2018-03-02Fix more spelling mistakes in comments of LLVM Analysis passesVedant Kumar1-1/+1
2018-02-20[MemoryBuiltins] Check nobuiltin status when identifying calls to free.Benjamin Kramer1-10/+8
2017-08-16[Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; ...Eugene Zelenko1-10/+23
2017-07-12[MemoryBuiltins] Allow truncation in visitAllocaInst()Mikael Holmen1-17/+24
2017-07-01fix trivial typos, NFCHiroshi Inoue1-2/+2
2017-04-18[MemoryBuiltins] Add isMallocOrCallocLikeFn so BasicAA can check for both at ...Craig Topper1-0/+9
2017-04-18[MemoryBuiltins] Use ImmutableCallSite instead of CallSite to remove a const_...Craig Topper1-4/+4
2017-04-14[IR] Make paramHasAttr to use arg indices instead of attr indicesReid Kleckner1-1/+1
2017-03-21Let llvm.objectsize be conservative with null pointersGeorge Burgess IV1-16/+22
2017-03-21Rename AttributeSet to AttributeListReid Kleckner1-1/+1
2017-01-23[Analysis] Add LibFunc_ prefix to enums in TargetLibraryInfo. (NFC)David L. Jones1-48/+48
2016-12-27[Analysis] Ignore `nobuiltin` on `allocsize` function calls.George Burgess IV1-10/+15
2016-12-27[Analysis] Refactor as promised in r290397.George Burgess IV1-16/+22
2016-12-23Don't consider allocsize functions to be allocation functions.George Burgess IV1-23/+28
2016-12-20[Analysis] Centralize objectsize lowering logic.George Burgess IV1-0/+30
2016-12-20Replace std::find_if with llvm::find_if. NFC.George Burgess IV1-5/+4
2016-08-25Make some LLVM_CONSTEXPR variables const. NFC.George Burgess IV1-1/+1
2016-07-07fix formatting; NFCSanjay Patel1-16/+15
2016-06-26Apply clang-tidy's modernize-loop-convert to lib/Analysis.Benjamin Kramer1-2/+2
2016-04-13Calculate __builtin_object_size when pointer depends on a conditionPetar Jovanovic1-14/+35
2016-04-12Add the allocsize attribute to LLVM.George Burgess IV1-55/+101
2016-04-08Don't IPO over functions that can be de-refinedSanjoy Das1-1/+1
2016-02-09[MemoryBuiltins] Fix an issue with hasNoAliasAttrSanjoy Das1-1/+1
2016-01-14Update to use new name alignTo().Rui Ueyama1-1/+1
2016-01-04[MemoryBuiltins] Remove isOperatorNewLike by consolidating non-null inference...Philip Reames1-7/+0
2015-12-29[MemoryBuiltins] Delete dead code [NFC]Philip Reames1-7/+0
2015-12-03[Analysis] Become aware of MSVC's new/delete functionsDavid Majnemer1-2/+22
2015-11-17Specify explicit storage type for AllocType. NFC.George Burgess IV1-1/+1
2015-10-24Use find_if to simplify control flow. NFC.Benjamin Kramer1-10/+5
2015-10-10Analysis: Remove implicit ilist iterator conversionsDuncan P. N. Exon Smith1-5/+2
2015-03-10DataLayout is mandatory, update the API to reflect it with references.Mehdi Amini1-25/+21
2015-03-09DCE: isArrayMalloc() is not used neither in LLVM nor ClangMehdi Amini1-17/+0