aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* Minor code simplification.Dan Gohman2010-04-091-9/+5
* Add variants of ult, ule, etc. which take a uint64_t RHS, for convenience.Dan Gohman2010-04-081-1/+1
* Say bitcast instead of bitconvert.Dan Gohman2010-04-071-1/+1
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-041-11/+21
* Revert r100191 since it breaks objc in clang Mon P Wang2010-04-021-21/+11
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-021-11/+21
* Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots.Bob Wilson2010-03-301-21/+11
* Added support for address spaces and added a isVolatile field to memcpy, memm...Mon P Wang2010-03-301-11/+21
* Fix an incorrect logic causing instcombine to miss some _chk -> non-chk trans...Evan Cheng2010-03-231-1/+1
* Add a setCalledFunction member to InvokeInst (like in CallInst)Gabor Greif2010-03-201-1/+1
* Factor checked library call optimization into a common helper class and use itBenjamin Kramer2010-03-121-104/+28
* stpcpy is so similar to strcpy, it doesn't deserve a complete copy of the __s...Benjamin Kramer2010-03-111-22/+5
* Lower stpcpy_chk when possible.Eric Christopher2010-03-111-0/+13
* Add strncpy libcall creator. Use it when it should be used.Eric Christopher2010-03-111-1/+2
* Re-commit 97860 with fix. getMallocAllocatedType may return null.Evan Cheng2010-03-081-0/+10
* Let the fallthrough handle whether or not we've changed anythingEric Christopher2010-03-061-1/+3
* Migrate _chk call lowering from SimplifyLibCalls to InstCombine. StubEric Christopher2010-03-062-2/+128
* Temporarily revert:Eric Christopher2010-03-061-10/+0
* Transform @llvm.objectsize to integer if the argument is a result of malloc o...Evan Cheng2010-03-061-0/+10
* Instcombine should turn llvm.objectsize of a alloca with static size to an in...Evan Cheng2010-03-051-9/+22
* fix PR6512, a case where instcombine would incorrectly merge loadsChris Lattner2010-03-051-0/+2
* Fix PR6503. This turned into a much more interesting and nasty bug. Various Chris Lattner2010-03-053-139/+107
* simplify some functions and make them work with vectorChris Lattner2010-03-051-62/+25
* Add missing break for Intrinsic::objectsize case. It was falling through to t...Evan Cheng2010-03-051-0/+1
* This test case:Bill Wendling2010-03-031-2/+4
* Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,Dan Gohman2010-03-022-4/+4
* Fix indentation.Dan Gohman2010-02-241-10/+10
* Don't do (X != Y) ? X : Y -> X for floating-point values; it doesn'tDan Gohman2010-02-231-5/+23
* Instcombine constant folding can normalize gep with negative index to index w...Evan Cheng2010-02-221-4/+9
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-1610-46/+46
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-1510-34/+34
* Fix a problem where we had bitcasted operands that gave usEric Christopher2010-02-131-5/+9
* Make sure that ConstantExpr offsets also aren't off of externEric Christopher2010-02-111-2/+8
* Rename ValueRequiresCast to ShouldOptimizeCast, to better reflectChris Lattner2010-02-113-55/+97
* Add ConstantExpr handling to Intrinsic::objectsize lowering.Eric Christopher2010-02-111-1/+26
* Fix "the the" and similar typos.Dan Gohman2010-02-101-2/+2
* Move Intrinsic::objectsize lowering back to InstCombineCalls andEric Christopher2010-02-091-1/+19
* simplify this code, duh.Chris Lattner2010-02-091-8/+4
* fix PR6193, only considering sign extensions *from i1* for thisChris Lattner2010-02-091-5/+10
* fix some problems handling large vectors reported in PR6230Chris Lattner2010-02-082-9/+14
* fix logical-select to invoke filecheck right, and fix hte instcombineChris Lattner2010-02-051-1/+6
* Remove this code for now. I have a better idea and will rewrite withEric Christopher2010-02-051-41/+0
* Temporarily revert this since it appears to have caused a buildEric Christopher2010-02-041-49/+23
* Rework constant expr and array handling for objectsize instcombining.Eric Christopher2010-02-041-23/+49
* If we're dealing with a zero-length array, don't lower to anyEric Christopher2010-02-031-4/+9
* Recommit this, looks like it wasn't the cause.Eric Christopher2010-02-031-68/+93
* Hopefully temporarily revert this.Eric Christopher2010-02-021-93/+68
* Reformat my last patch slightly.Eric Christopher2010-02-021-4/+4
* Re-add strcmp and known size object size checking optimization.Eric Christopher2010-02-021-10/+34
* don't turn (A & (C0?-1:0)) | (B & ~(C0?-1:0)) -> C0 ? A : BChris Lattner2010-02-021-9/+13