aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
AgeCommit message (Expand)AuthorFilesLines
2012-11-20Make the AttrListPtr object a part of the LLVMContext.Bill Wendling1-13/+30
2012-11-01Revert the series of commits starting with r166578 which introduced theChandler Carruth1-32/+30
2012-10-24Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow1-30/+32
2012-10-15Add an enum for the return and function indexes into the AttrListPtr object. ...Bill Wendling1-13/+20
2012-10-15Attributes RewriteBill Wendling1-27/+33
2012-10-10Pass into the AttributeWithIndex::get method an ArrayRef of attributeBill Wendling1-31/+33
2012-10-08Move TargetData to DataLayout.Micah Villmow1-17/+17
2012-08-01remove tabs from my previous commit.Nuno Lopes1-2/+2
2012-08-01(hopefuly) fix the remaining cases where null wasnt expected (PR13497).Nuno Lopes1-0/+4
2012-07-25add EmitStrNLen()Nuno Lopes1-0/+27
2012-07-25make all Emit*() functions consult the TargetLibraryInfo information before c...Nuno Lopes1-21/+74
2012-06-29Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth1-5/+5
2012-05-28switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients.Chris Lattner1-12/+12
2011-11-17Add support for custom names for library functions in TargetLibraryInfo. Add...Eli Friedman1-6/+12
2011-11-15StringRefize and simplify.Benjamin Kramer1-11/+9
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