aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2015-01-15[PM] Move TargetLibraryInfo into the Analysis library.Chandler Carruth1-1/+1
2015-01-15For PR21145: recognise a builtin call to a known deallocation function even ifRichard Smith1-1/+1
2014-11-19Update SetVector to rely on the underlying set's insert to return a pair<iter...David Blaikie1-2/+2
2014-10-03PR21145: Teach LLVM about C++14 sized deallocation functions.Richard Smith1-1/+5
2014-04-22[Modules] Fix potential ODR violations by sinking the DEBUG_TYPEChandler Carruth1-1/+2
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-27/+27
2014-03-09[C++11] Add range based accessors for the Use-Def chain of a Value.Chandler Carruth1-2/+2
2014-01-28Update optimization passes to handle inalloca argumentsReid Kleckner1-1/+1
2013-12-14Teach MemoryBuiltins about address spacesMatt Arsenault1-5/+11
2013-10-24fix PR17635: false positive with packed structuresNuno Lopes1-3/+5
2013-10-03Rename DataLayout variables TD -> DLMatt Arsenault1-26/+25
2013-09-29ObjectSizeOffsetEvaluator: Don't run into infinite recursion if we have a cyc...Benjamin Kramer1-5/+7
2013-09-24MemoryBuiltins: Remove posix_memalign from the list and replace it with a TODO.Benjamin Kramer1-1/+1
2013-09-24MemoryBuiltins: Reinstate optimizing (uninitialized) loads from operator new.Benjamin Kramer1-7/+7
2013-09-24MemoryBuiltins: Fix operator new bits.Benjamin Kramer1-3/+3
2013-09-24Teach MemoryBuiltins and InstructionSimplify that operator new never returns ...Benjamin Kramer1-4/+12
2013-07-21Treat nothrow forms of ::operator delete and ::operator delete[] asRichard Smith1-4/+10
2013-06-27Added support for the Builtin attribute.Michael Gottesman1-1/+1
2013-05-16Respect the 'nobuiltin' attribute when determining if a call is to a memory b...Richard Smith1-0/+3
2013-04-09Revert r176408 and r176407 to address PR15540.Nadav Rotem1-49/+12
2013-04-09Revert 179071 because it is not the right way to support non standard new/new...Nadav Rotem1-0/+8
2013-04-08c++ new operators are not malloc-like functions because they do not return un...Nadav Rotem1-8/+0
2013-03-08Early exit from getAllocationData() and isFreeCall() for intrinsics.Michael Ilseman1-1/+5
2013-03-08Remove trailing whitespaceMichael Ilseman1-5/+5
2013-03-07Simplify code. No functionality change.Jakub Staszak1-3/+3
2013-03-07Change NULL to 0.Jakub Staszak1-8/+8
2013-03-02recommit r172363 & r171325 (reverted in r172756)Nuno Lopes1-12/+29
2013-03-02add getUnderlyingObjectSize()Nuno Lopes1-0/+20
2013-01-17Reverting r171325 & r172363. This was causing a mis-compile on the self-hoste...Bill Wendling1-29/+12
2013-01-13fix compile-time regression report by Joerg Sonnenberger:Nuno Lopes1-9/+11
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-6/+6
2012-12-31recommit r171298 (add support for PHI nodes to ObjectSizeOffsetVisitor). Hope...Nuno Lopes1-11/+26
2012-12-31Revert "add support for PHI nodes to ObjectSizeOffsetVisitor"Benjamin Kramer1-14/+3
2012-12-31revert r171306, since we cannot compare APInts with different bitwidthsNuno Lopes1-1/+1