aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/SimplifyLibCalls.cpp
AgeCommit message (Expand)Author
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson
2010-08-06Revert r110396 to fix buildbots.Owen Anderson
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson
2010-08-04Fix a comment.Dan Gohman
2010-07-22mass elimination of reliance on automatic iterator dereferencingGabor Greif
2010-07-22undo 80 column trespassing I causedGabor Greif
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson
2010-07-06Detabify this file.Nick Lewycky
2010-06-30use ArgOperand APIGabor Greif
2010-06-24use ArgOperand APIGabor Greif
2010-06-16Make sure that simplify libcalls does not replace a call with one callingRafael Espindola
2010-06-16simplify-libcalls: fold strncmp(x, y, 1) -> memcmp(x, y, 1)Benjamin Kramer
2010-06-15simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0Benjamin Kramer
2010-05-26Kill unneeded SExt.Benjamin Kramer
2010-05-25Properly promote operands when optimizing a single-character memcmp.Benjamin Kramer
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-04-04Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang
2010-04-02Revert r100191 since it breaks objc in clang Mon P Wang
2010-04-02Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang
2010-03-30Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots.Bob Wilson
2010-03-30Added support for address spaces and added a isVolatile field to memcpy, memm...Mon P Wang
2010-03-24Move OptChkCall off LibCallOptimization into StrCpyOpt.Evan Cheng
2010-03-23Teach simplify libcall to transform __strcpy_chk to __memcpy_chk to enable op...Evan Cheng
2010-03-16str[r]chr returns its pointer argument so we cannot mark it as nocapture. Tha...Benjamin Kramer
2010-03-16Mark str[r]chr readonly.Benjamin Kramer
2010-03-06Migrate _chk call lowering from SimplifyLibCalls to InstCombine. StubEric Christopher
2010-03-05Move SimplifyLibCalls's LibCall builders to a separate file so theyEric Christopher
2010-03-05Safely turn memset_chk etc. to non-chk variant if the known object size is >=...Evan Cheng
2010-03-05Move GetStringLength and helper from SimplifyLibCalls to ValueTracking.Eric Christopher
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands
2010-02-03Recommit this, looks like it wasn't the cause.Eric Christopher
2010-02-02Hopefully temporarily revert this.Eric Christopher
2010-02-02Re-add strcmp and known size object size checking optimization.Eric Christopher
2010-02-02Don't need to check the last argument since it'll always be bool. We alsoEric Christopher
2010-02-02More indentation/tabification fixes.Eric Christopher
2010-02-02Untabify previous commit.Eric Christopher
2010-02-01Formatting.Eric Christopher
2010-01-29Revert my last couple of patches. They appear to have broken bison.Eric Christopher
2010-01-29Make strcpy_chk lower to strcpy if we have a safe size.Eric Christopher
2010-01-23Reapply 94059 while fixing the calling convention setupEric Christopher
2010-01-22Revert 94059. It is breaking the MultiSource/Benchmarks/Prolangs-C/bisonBob Wilson
2010-01-21Add strcpy_chk -> strcpy support for "don't know" object sizeEric Christopher
2010-01-06Move the object size intrinsic optimization to inst-combine and makeEric Christopher
2010-01-06Formatting.Mikhail Glushenkov