aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2012-12-31minor code simplificationNuno Lopes1-1/+1
2012-12-31add support for GlobalAlias to ObjectSizeOffsetVisitorNuno Lopes1-0/+9
2012-12-31add support for PHI nodes to ObjectSizeOffsetVisitorNuno Lopes1-3/+14
2012-12-30convert a bunch of callers from DataLayout::getIndexedOffset() to GEP::accumu...Nuno Lopes1-3/+2
2012-12-19Rename the 'Attributes' class to 'Attribute'. It's going to represent a singl...Bill Wendling1-1/+1
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-4/+4
2012-11-01Revert the series of commits starting with r166578 which introduced theChandler Carruth1-6/+4
2012-10-24Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow1-4/+6
2012-10-09Use the attribute enums to query if a function has an attribute.Bill Wendling1-1/+1
2012-10-09Remove more uses of the attribute enums by supplying appropriate query method...Bill Wendling1-1/+1
2012-10-08Move TargetData to DataLayout.Micah Villmow1-7/+7
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer1-56/+86
2012-08-17MemoryBuiltins: Properly guard ObjectSizeOffsetVisitor against cycles in the IR.Benjamin Kramer1-18/+14
2012-08-17Guard MemoryBuiltins against self-looping GEPs, which can occur in unreachabl...Benjamin Kramer1-0/+4
2012-07-27fix PR13390: do not loop forever with self-referencing self instructionsNuno Lopes1-0/+8
2012-07-25revert r160742: it's breaking CMake buildNuno Lopes1-18/+7
2012-07-25MemoryBuiltins: add support to determine the size of strdup'ed non-constant s...Nuno Lopes1-7/+18
2012-07-24teach objectsize about strdup() and strndup()Nuno Lopes1-3/+16