summaryrefslogtreecommitdiffstats
path: root/lib/Transforms
Commit message (Expand)AuthorAgeFilesLines
* 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
* Don't use for loops for code that is only intended to execute once. NoDan Gohman2012-08-271-6/+6
* [asan/tsan] rename FunctionBlackList* to BlackList* as this class is not limi...Kostya Serebryany2012-08-245-17/+17
* [asan/tsan] extend the functionality of FunctionBlackList to globals and modu...Kostya Serebryany2012-08-242-55/+89
* GVN: Fix quadratic runtime on the number of switch cases.Benjamin Kramer2012-08-241-2/+10
* SimplifyLibCalls: Give all safely-shrinkable libcalls the same treatment.Benjamin Kramer2012-08-221-5/+5
* Add a few float shrinking optimizations to SimplifyLibCalls. UnsafeChad Rosier2012-08-221-36/+99
* Add a new helper function, AddOpt(F1, F1, Opt), as part of PR13574. NoChad Rosier2012-08-221-14/+15
* MaximumSpanningTree::EdgeWeightCompare: Make this comparator actually be aRichard Smith2012-08-211-25/+28
* Don't bind a reference to a dereferenced null pointer (for return value of We...Richard Smith2012-08-211-1/+2
* Port the global copy optimization from the SROA pass to InstCombine.Chandler Carruth2012-08-212-179/+171
* [asan] add code to detect global initialization fiasco in C/C++. The sub-pass...Kostya Serebryany2012-08-211-63/+171
* revise debug output to avoid dangling pointerMichael Liao2012-08-211-1/+1
* 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
* SimplifyLibcalls: Add fabs and trunc to the list of libcalls that are safe to...Benjamin Kramer2012-08-181-0/+4
* Fix undefined behavior (binding a reference to a dereferenced null pointer) ifRichard Smith2012-08-171-1/+1
* Teach GVN to reason about edges dominating uses. This allows it to handle casesRafael Espindola2012-08-161-47/+48
* Remove dead flag.Bill Wendling2012-08-151-9/+3
* [asan] implement --asan-always-slow-path, which is a part of the improvement ...Kostya Serebryany2012-08-151-2/+5
* fix infinite loop in instcombine with more than 4GB memcpyMichael Liao2012-08-151-6/+4
* [asan] insert crash basic blocks inline as opposed to inserting them at the e...Kostya Serebryany2012-08-141-30/+27
* Change greater than to greater than or equal so that an identical sized store...Craig Topper2012-08-141-1/+1
* During the CodeGenPrepare we often lower intrinsics (such as objsize)Nadav Rotem2012-08-141-0/+39
* LICM uses AliasSet information to hoist and sink instructions. However, other...Nadav Rotem2012-08-131-0/+5
* [asan] remove the code for --asan-merge-callbacks as it appears to be a bad i...Kostya Serebryany2012-08-131-78/+8
* Constify some basic blocks, no functionality change.Rafael Espindola2012-08-101-8/+8
* Fix crash when when do lto on Bullet. Dynamic GEPs in SROA were incorrectly ...Pete Cooper2012-08-101-3/+8
* isAllocLikeFn is allowed to return true for functions which read memory; makeEli Friedman2012-08-081-2/+9
* Avoid recomputing the unique exit blocks and their insert points when doingDan Gohman2012-08-081-11/+26
* Fix a serious typo in InstCombine's optimization of comparisons.Bob Wilson2012-08-071-1/+1
* Move the "findUsedStructTypes" functionality outside of the Module class.Bill Wendling2012-08-031-2/+3
* remove tabs from my previous commit.Nuno Lopes2012-08-011-2/+2
* (hopefuly) fix the remaining cases where null wasnt expected (PR13497).Nuno Lopes2012-08-011-0/+4
* Teach CodeGenPrep to look past bitcast when it's duplicating return instructionEvan Cheng2012-07-272-7/+34
* 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
* do null checks for a few more Emit*() functions.Nuno Lopes2012-07-261-17/+15
* Stop reassociate from looking through expressions of arbitrary complexity. ThisDuncan Sands2012-07-261-0/+2
* It's not safe to blindly remove invoke instructions. This happens when weNick Lewycky2012-07-251-1/+2
* revert r160742: it's breaking CMake buildNuno Lopes2012-07-251-4/+1
* MemoryBuiltins: add support to determine the size of strdup'ed non-constant s...Nuno Lopes2012-07-251-1/+4
* add EmitStrNLen()Nuno Lopes2012-07-251-0/+27
* make all Emit*() functions consult the TargetLibraryInfo information before c...Nuno Lopes2012-07-254-63/+126
* Don't delete one more instruction than we're allowed to. This should fix theNick Lewycky2012-07-241-1/+3