aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemoryBuiltins.cpp
AgeCommit message (Expand)Author
2013-03-08Early exit from getAllocationData() and isFreeCall() for intrinsics.Michael Ilseman
2013-03-08Remove trailing whitespaceMichael Ilseman
2013-03-07Simplify code. No functionality change.Jakub Staszak
2013-03-07Change NULL to 0.Jakub Staszak
2013-03-02recommit r172363 & r171325 (reverted in r172756)Nuno Lopes
2013-03-02add getUnderlyingObjectSize()Nuno Lopes
2013-01-17Reverting r171325 & r172363. This was causing a mis-compile on the self-hoste...Bill Wendling
2013-01-13fix compile-time regression report by Joerg Sonnenberger:Nuno Lopes
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-31recommit r171298 (add support for PHI nodes to ObjectSizeOffsetVisitor). Hope...Nuno Lopes
2012-12-31Revert "add support for PHI nodes to ObjectSizeOffsetVisitor"Benjamin Kramer
2012-12-31revert r171306, since we cannot compare APInts with different bitwidthsNuno Lopes
2012-12-31minor code simplificationNuno Lopes
2012-12-31add support for GlobalAlias to ObjectSizeOffsetVisitorNuno Lopes
2012-12-31add support for PHI nodes to ObjectSizeOffsetVisitorNuno Lopes
2012-12-30convert a bunch of callers from DataLayout::getIndexedOffset() to GEP::accumu...Nuno Lopes
2012-12-19Rename the 'Attributes' class to 'Attribute'. It's going to represent a singl...Bill Wendling
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-11-01Revert the series of commits starting with r166578 which introduced theChandler Carruth
2012-10-24Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow
2012-10-09Use the attribute enums to query if a function has an attribute.Bill Wendling
2012-10-09Remove more uses of the attribute enums by supplying appropriate query method...Bill Wendling
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer
2012-08-17MemoryBuiltins: Properly guard ObjectSizeOffsetVisitor against cycles in the IR.Benjamin Kramer
2012-08-17Guard MemoryBuiltins against self-looping GEPs, which can occur in unreachabl...Benjamin Kramer
2012-07-27fix PR13390: do not loop forever with self-referencing self instructionsNuno Lopes
2012-07-25revert r160742: it's breaking CMake buildNuno Lopes
2012-07-25MemoryBuiltins: add support to determine the size of strdup'ed non-constant s...Nuno Lopes
2012-07-24teach objectsize about strdup() and strndup()Nuno Lopes
2012-07-20baby steps toward fixing some problems with inbound GEPs that overflow, as di...Nuno Lopes
2012-07-03fold PHI nodes in SizeOffsetEvaluator whenever possible.Nuno Lopes
2012-06-28MemoryBuiltins:Nuno Lopes
2012-06-25check for the NoAlias attribute through CallSiteNuno Lopes
2012-06-22simplify code from previous commits (Thanks Duncan)Nuno Lopes
2012-06-22remove extractMallocCallFromBitCast, since it was tailor maded for its sole u...Nuno Lopes
2012-06-21Add support for invoke to the MemoryBuiltin analysid.Nuno Lopes
2012-06-21fix build in C++11 mode.Nuno Lopes
2012-06-21hopefully fix the buildbots: some tests have wrong definitions of malloc and...Nuno Lopes
2012-06-21refactor the MemoryBuiltin analysis:Nuno Lopes
2012-05-03remove calls to calloc if the allocated memory is not used (it was already be...Nuno Lopes
2012-05-03add support for calloc to objectsize loweringNuno Lopes
2011-11-23Validate the return type when checking if a function is malloc.Benjamin Kramer
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-06-18simplify some code.Chris Lattner
2011-03-17Add comments for the demanglings. Correct mangled form of operator delete!Nick Lewycky
2011-03-15Add C++ global operator {new,new[],delete,delete[]}(unsigned {int,long}) to theNick Lewycky
2010-06-23minor enhancement to llvm::isFreeCall API: return CallInst; no functional changeGabor Greif
2010-06-23use ArgOperand gettersGabor Greif
2010-04-16Revert 101465, it broke internal OpenGL testing.Eric Christopher