aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner1-5/+5
2011-05-27One more debug line number miss in instcombine (although the code in question...Eli Friedman1-5/+1
2010-12-27BuildLibCalls: Nuke EmitMemCpy, EmitMemMove and EmitMemSet. They are dead and...Benjamin Kramer1-49/+5
2010-07-22undo 80 column trespassing I causedGabor Greif1-5/+6
2010-07-16eliminate CallInst::ArgOffsetGabor Greif1-5/+5
2010-06-28use ArgOperand API and CallInst::ArgOffsetGabor Greif1-17/+17
2010-06-25use ArgOperand API (one more hunk I could split)Gabor Greif1-2/+2
2010-06-15simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0Benjamin Kramer1-0/+25
2010-05-31The memcpy intrinsic only takes i8* for %src and %dst, so cast them to thatNick Lewycky1-2/+2
2010-04-16Revert 101465, it broke internal OpenGL testing.Eric Christopher1-19/+19
2010-04-16reapply r101434Gabor Greif1-19/+19
2010-04-16back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif1-19/+19
2010-04-15reapply r101364, which has been backed out in r101368Gabor Greif1-19/+19
2010-04-15back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif1-19/+19
2010-04-15rotate CallInst operands, i.e. move callee to the backGabor Greif1-19/+19
2010-04-13Actually... return after the check for invalid input.Eric Christopher1-0/+1
2010-04-12Verify function prototypes before trying to optimize functions. We alsoEric Christopher1-2/+48
2010-04-07Add support for stpncpy_chk.Eric Christopher1-6/+6
2010-04-04Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang1-20/+23
2010-04-02Revert r100191 since it breaks objc in clang Mon P Wang1-23/+20
2010-04-02Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang1-20/+23
2010-03-30Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots.Bob Wilson1-23/+20
2010-03-30Added support for address spaces and added a isVolatile field to memcpy, memm...Mon P Wang1-20/+23
2010-03-23Teach simplify libcall to transform __strcpy_chk to __memcpy_chk to enable op...Evan Cheng1-1/+25
2010-03-22Fix 80 col violation.Evan Cheng1-1/+1
2010-03-12Add a virtual destructor and give vtable a home.Benjamin Kramer1-0/+2
2010-03-12Factor checked library call optimization into a common helper class and use itBenjamin Kramer1-0/+81
2010-03-11stpcpy is so similar to strcpy, it doesn't deserve a complete copy of the __s...Benjamin Kramer1-21/+3
2010-03-11Lower stpcpy_chk when possible.Eric Christopher1-0/+18
2010-03-11Fix typo.Eric Christopher1-1/+1
2010-03-11Add strncpy libcall creator. Use it when it should be used.Eric Christopher1-0/+20
2010-03-05Move SimplifyLibCalls's LibCall builders to a separate file so theyEric Christopher1-0/+324