aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineCalls.cpp
AgeCommit message (Expand)Author
2010-08-09PR7853: fix a silly mistake introduced in r101899, and add a test to make sureEli Friedman
2010-08-03Use unary + instead of a separate local variable for workingDan Gohman
2010-07-30Move MaximumAlignment to be a member of the Value class.Dan Gohman
2010-07-28Define a maximum supported alignment value for load, store, andDan Gohman
2010-07-28When user code intentionally dereferences null, the alignment of theDan Gohman
2010-07-22undo 80 column trespassing I causedGabor Greif
2010-07-16eliminate CallInst::ArgOffsetGabor Greif
2010-06-30use getArgOperand (corrected by CallInst::ArgOffset) instead of getOperandGabor Greif
2010-06-28use ArgOperand APIGabor Greif
2010-06-25use ArgOperand API (some hunks I could split)Gabor Greif
2010-06-24use (even more, still) ArgOperand APIGabor Greif
2010-06-24use (even more) ArgOperand APIGabor Greif
2010-06-24use ArgOperand APIGabor Greif
2010-06-24use ArgOperand APIGabor Greif
2010-05-27Teach instCombine to remove malloc+free if malloc's only uses are comparisonsDuncan Sands
2010-04-28further clarify alignment of globals, fix instcombineChris Lattner
2010-04-20use abstract accessors to CallInstGabor 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-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-23Fix an incorrect logic causing instcombine to miss some _chk -> non-chk trans...Evan Cheng
2010-03-20Add a setCalledFunction member to InvokeInst (like in CallInst)Gabor Greif
2010-03-12Factor checked library call optimization into a common helper class and use itBenjamin Kramer
2010-03-11stpcpy is so similar to strcpy, it doesn't deserve a complete copy of the __s...Benjamin Kramer
2010-03-11Lower stpcpy_chk when possible.Eric Christopher
2010-03-11Add strncpy libcall creator. Use it when it should be used.Eric Christopher
2010-03-08Re-commit 97860 with fix. getMallocAllocatedType may return null.Evan Cheng
2010-03-06Let the fallthrough handle whether or not we've changed anythingEric Christopher
2010-03-06Migrate _chk call lowering from SimplifyLibCalls to InstCombine. StubEric Christopher
2010-03-06Temporarily revert:Eric Christopher
2010-03-06Transform @llvm.objectsize to integer if the argument is a result of malloc o...Evan Cheng
2010-03-05Instcombine should turn llvm.objectsize of a alloca with static size to an in...Evan Cheng
2010-03-05Add missing break for Intrinsic::objectsize case. It was falling through to t...Evan Cheng
2010-02-22Instcombine constant folding can normalize gep with negative index to index w...Evan Cheng
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-13Fix a problem where we had bitcasted operands that gave usEric Christopher
2010-02-11Make sure that ConstantExpr offsets also aren't off of externEric Christopher
2010-02-11Add ConstantExpr handling to Intrinsic::objectsize lowering.Eric Christopher
2010-02-09Move Intrinsic::objectsize lowering back to InstCombineCalls andEric Christopher
2010-02-05Remove this code for now. I have a better idea and will rewrite withEric Christopher
2010-02-04Temporarily revert this since it appears to have caused a buildEric Christopher