aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* Move Attribute::typeIncompatible inside of the Attributes class.Bill Wendling2012-09-251-3/+3
* Add missing check for presence of target data.Richard Osborne2012-09-241-20/+22
* InstCombine: Make sure we use the pre-zext type when creating a constant of a...Benjamin Kramer2012-09-211-1/+2
* Fix instcombine to obey requested alignment when merging allocas.Richard Osborne2012-09-181-3/+7
* Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.Craig Topper2012-09-151-2/+2
* Handle the new !tbaa.struct metadata tags when converting a memcpy into scalarDan Gohman2012-09-131-0/+17
* Extract code for reducing a type to a single value type into a helper function.Dan Gohman2012-09-131-15/+21
* InstCombine: Fix comment to reflect the code.Benjamin Kramer2012-08-301-1/+1
* It is illegal to transform (sdiv (ashr X c1) c2) -> (sdiv x (2^c1 * c2)),Nadav Rotem2012-08-301-10/+0
* Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer2012-08-292-10/+11
* InstCombine: Defensively avoid undefined shifts by limiting the amount to the...Benjamin Kramer2012-08-281-2/+2
* InstCombine: Guard the transform introduced in r162743 against large ints and...Benjamin Kramer2012-08-281-10/+10
* Make sure that we don't call getZExtValue on values > 64 bits.Nadav Rotem2012-08-281-8/+8
* Teach InstCombine to canonicalize [SU]div+[AL]shl patterns.Nadav Rotem2012-08-281-0/+20
* Port the global copy optimization from the SROA pass to InstCombine.Chandler Carruth2012-08-211-1/+171
* InstCombine: Fix a crasher when encountering a function pointer.Benjamin Kramer2012-08-181-1/+1
* Remove overly conservative hasOneUse check, this always expands into a single...Benjamin Kramer2012-08-181-1/+1
* InstCombine: Add a couple of fabs identities for comparing with 0.0.Benjamin Kramer2012-08-181-0/+39
* fix infinite loop in instcombine with more than 4GB memcpyMichael Liao2012-08-151-6/+4
* Fix a serious typo in InstCombine's optimization of comparisons.Bob Wilson2012-08-071-1/+1
* fix infinite loop in instcombine in the presence of a (malformed) self-refere...Nuno Lopes2012-07-271-0/+4
* Simplify demanded bits of select sources where the condition is a constant ve...Pete Cooper2012-07-262-0/+34
* Teach SimplifyDemandedBits how to look through fpext and fptrunc to simplify ...Pete Cooper2012-07-261-0/+6
* make all Emit*() functions consult the TargetLibraryInfo information before c...Nuno Lopes2012-07-251-1/+1
* Remove tabs.Bill Wendling2012-07-191-1/+1
* Back out r160101 and instead implement a dag combine to recover from instcomb...Evan Cheng2012-07-171-7/+0
* Instcombine was transforming:Evan Cheng2012-07-121-0/+7
* instcombine: merge the functions that remove dead allocas and dead mallocs/ca...Nuno Lopes2012-07-094-122/+73
* teach instcombine to remove allocated buffers even if there are stores, memcp...Nuno Lopes2012-07-061-2/+25
* Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth2012-06-291-1/+1
* make instcombine produce calls to llvm.donothing instead of a random intrinsicNuno Lopes2012-06-281-7/+4
* Remove a instcombine transform that (no longer?) makes sense:Evan Cheng2012-06-261-5/+0
* Replacing zero-sized alloca's with a null pointer is too aggressive, insteadDuncan Sands2012-06-261-8/+40
* improve optimization of invoke instructions:Nuno Lopes2012-06-251-1/+8
* llvm/lib: [CMake] Add explicit dependency to intrinsics_gen.NAKAMURA Takumi2012-06-241-0/+2
* Revert remaining part of r93200: "Disable folding sext(trunc(x)) -> x"Jakob Stoklund Olesen2012-06-221-9/+4
* instcombine: disable optimization of 'invoke null/undef'. I'll move this fun...Nuno Lopes2012-06-211-11/+11
* Look pass zext to strength reduce an udiv. Patch by David Majnemer. rdar://11...Evan Cheng2012-06-211-1/+4
* Add support for invoke to the MemoryBuiltin analysid.Nuno Lopes2012-06-212-2/+7
* refactor the MemoryBuiltin analysis:Nuno Lopes2012-06-212-81/+7
* replace usage of EmitGEPOffset() with TargetData::getIndexedOffset() when the...Nuno Lopes2012-06-202-8/+6
* InstCombine: fix a bug when combining (fcmp cc0 x, y) && (fcmp cc1 x, y).Manman Ren2012-06-141-2/+4
* InstCombine: factor code better.Benjamin Kramer2012-06-111-14/+7
* InstCombine: Turn (zext A) == (B & (1<<X)-1) into A == (trunc B), narrowing t...Benjamin Kramer2012-06-101-1/+23
* canonicalize:Nuno Lopes2012-06-081-4/+5
* Fix a bug in FoldSelectOpOp. Bitcast ops may change the number of vector elem...Nadav Rotem2012-06-071-0/+6
* Fix combine of uno && ord -> false so that the ordering of the fcmps doesn'tChad Rosier2012-06-061-1/+3
* Fix suspicous hasOneUse() check, found by PVS Studio (PR12357).Benjamin Kramer2012-05-281-1/+1
* InstCombine: Fix infinite loop when encountering switch on trivial icmp.Benjamin Kramer2012-05-281-1/+1
* switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients.Chris Lattner2012-05-281-4/+2