aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemoryBuiltins.cpp
AgeCommit message (Expand)Author
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
2010-04-16reapply r101434Gabor Greif
2010-04-16back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif
2010-04-15reapply r101364, which has been backed out in r101368Gabor Greif
2010-04-15back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif
2010-04-15rotate CallInst operands, i.e. move callee to the backGabor Greif
2010-03-25rename use_const_iterator to const_use_iterator for consistency's sakeGabor Greif
2010-02-10Fix "the the" and similar typos.Dan Gohman
2009-11-18Simplify ComputeMultiple so that it doesn't depend on TargetData.Dan Gohman
2009-11-10Update computeArraySize() to use ComputeMultiple() to determine the array siz...Victor Hernandez
2009-11-07Re-commit r86077 now that r86290 fixes the 179.art and 175.vpr ARM regressions.Victor Hernandez
2009-11-06remove a bunch of extraneous LLVMContext argumentsChris Lattner
2009-11-06Revert r86077 because it caused crashes in 179.art and 175.vpr on ARMVictor Hernandez
2009-11-05Update CreateMalloc so that its callers specify the size to allocate:Victor Hernandez
2009-11-03Changes requested (avoid getFunction(), avoid Type creation via isVoidTy(), a...Victor Hernandez
2009-11-03Changes (* location in pointer variables, avoiding include, and using APInt::...Victor Hernandez
2009-11-02Set bit instead of calling pow() to compute 2 << nVictor Hernandez
2009-11-02Fix for warning seen on DF-BSD, Victor, please fix this to use a shift instea...Edward O'Callaghan
2009-10-29fix 80-col.Zhongxing Xu
2009-10-29Explicitly convert to double to suppress Visual C++ 2008 build error C2668 po...Zhongxing Xu