| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add a missing ~ (dtor became ctor) which caused crashes on a bunch of stuff. | Chris Lattner | 2008-06-16 | 1 | -2/+5 | |
| | | | | | llvm-svn: 52374 | |||||
| * | Do not issue identity copies. | Evan Cheng | 2008-06-16 | 1 | -13/+22 | |
| | | | | | llvm-svn: 52373 | |||||
| * | Refine the change in r52258 for avoiding use-before-def conditions | Dan Gohman | 2008-06-16 | 1 | -9/+12 | |
| | | | | | | | | | | when changing the stride of a comparison so that it's slightly more precise, by having it scan the instruction list to determine if there is a use of the condition after the point where the condition will be inserted. llvm-svn: 52371 | |||||
| * | switch TypeHasCycleThroughItself from using an std::set to using a SmallPtrSet, | Chris Lattner | 2008-06-16 | 1 | -5/+5 | |
| | | | | | | | this speeds up the linking testcase in PR1860 by 44% (.379 -> 0.263) llvm-svn: 52365 | |||||
| * | stop making PATypeHolder's so crazily. | Chris Lattner | 2008-06-16 | 1 | -33/+33 | |
| | | | | | llvm-svn: 52364 | |||||
| * | Horizontal-add instructions are not commutative. | Evan Cheng | 2008-06-16 | 1 | -4/+4 | |
| | | | | | llvm-svn: 52363 | |||||
| * | Switch over to SetVector to ensure same order of iterations do not vary ↵ | Evan Cheng | 2008-06-16 | 1 | -8/+9 | |
| | | | | | | | across runs. llvm-svn: 52361 | |||||
| * | use a real associative container for type association instead of using | Chris Lattner | 2008-06-16 | 1 | -8/+94 | |
| | | | | | | | | a vector with a linear search. This speeds up the linking testcase in PR1860 from 0.965s to 0.385s on my system. llvm-svn: 52357 | |||||
| * | mpsadbw is commutable. | Evan Cheng | 2008-06-16 | 1 | -1/+1 | |
| | | | | | llvm-svn: 52352 | |||||
| * | bail out sooner if we have two concrete but different types. | Chris Lattner | 2008-06-16 | 1 | -0/+4 | |
| | | | | | llvm-svn: 52351 | |||||
| * | simplify some code. | Chris Lattner | 2008-06-16 | 1 | -24/+21 | |
| | | | | | llvm-svn: 52350 | |||||
| * | Apply a patch from Nathan Keynes, which speeds up llvm-link on | Chris Lattner | 2008-06-16 | 1 | -1/+0 | |
| | | | | | | | | the testcases in PR1860 from taking more than 1 hour (when I killed it) to taking 1s. llvm-svn: 52347 | |||||
| * | Remove special case handling of empty MBBs now that we assign indices to them. | Owen Anderson | 2008-06-16 | 1 | -8/+5 | |
| | | | | | llvm-svn: 52345 | |||||
| * | handle vectors. Any integers that got here would necessarily be different ↵ | Chris Lattner | 2008-06-16 | 1 | -8/+11 | |
| | | | | | | | already. llvm-svn: 52341 | |||||
| * | Simplify ResolveTypes by pulling the null case out into the one | Chris Lattner | 2008-06-16 | 1 | -42/+30 | |
| | | | | | | | | | | client that cares and simplifying its control flow. Remove the DestST argument to ResolveTypes and RecursiveResolveTypes* which are dead now. llvm-svn: 52340 | |||||
| * | Iterating over SmallPtrSet is not deterministic. | Evan Cheng | 2008-06-16 | 1 | -6/+6 | |
| | | | | | llvm-svn: 52339 | |||||
| * | simplify RecursiveResolveTypes and ResolveTypes by pulling the naming out of | Chris Lattner | 2008-06-16 | 1 | -23/+20 | |
| | | | | | | | ResolveTypes into the one place that needs it. llvm-svn: 52338 | |||||
| * | Add a new flag that disables symbol lookup with dlsym when set. This allows | Chris Lattner | 2008-06-16 | 1 | -33/+35 | |
| | | | | | | | | a JIT client to completely control symbol lookup with the LazyFunctionCreator interface. llvm-svn: 52335 | |||||
| * | Add support for icache invalidation on non-darwin ppc systems. | Chris Lattner | 2008-06-16 | 1 | -2/+19 | |
| | | | | | | | Patch by Gary Benson! llvm-svn: 52332 | |||||
| * | Re-enable empty block indexing by default, since it doesn't seem to have any | Owen Anderson | 2008-06-16 | 1 | -21/+9 | |
| | | | | | | | impact on code quality or compile time. llvm-svn: 52329 | |||||
| * | Make BuildSubAggregate use FindInsertedElement again to prevent it from | Matthijs Kooijman | 2008-06-16 | 1 | -20/+48 | |
| | | | | | | | | | inserting extractvalues. In particular, this prevents the insertion of extractvalues that can't be folded away later. Also add an example of when this stuff is needed. llvm-svn: 52328 | |||||
| * | Make the InsertBefore argument to FindInsertedValue optional, so you can ↵ | Matthijs Kooijman | 2008-06-16 | 1 | -3/+8 | |
| | | | | | | | find an inserted value without modifying the code. llvm-svn: 52319 | |||||
| * | Pass around Instruction* instead of Instruction& in FindInsertedValue and ↵ | Matthijs Kooijman | 2008-06-16 | 2 | -6/+6 | |
| | | | | | | | friends. llvm-svn: 52318 | |||||
| * | 80 column fixes. | Matthijs Kooijman | 2008-06-16 | 2 | -16/+33 | |
| | | | | | llvm-svn: 52316 | |||||
| * | Move FindScalarValue from InstructionCombining.cpp to ValueTracking.cpp. While | Matthijs Kooijman | 2008-06-16 | 2 | -147/+129 | |
| | | | | | | | | | | | I'm at it, rename it to FindInsertedValue. The only functional change is that newly created instructions are no longer added to instcombine's worklist, but that is not really necessary anyway (and I'll commit some improvements next that will completely remove the need). llvm-svn: 52315 | |||||
| * | Minor comment fix. | Argyrios Kyrtzidis | 2008-06-16 | 1 | -1/+1 | |
| | | | | | llvm-svn: 52312 | |||||
| * | Allow these transforms for types like i256 while | Duncan Sands | 2008-06-16 | 1 | -8/+6 | |
| | | | | | | | | | still excluding types like i1 (not byte sized) and i120 (loading an i120 requires loading an i64, an i32, an i16 and an i8, which is expensive). llvm-svn: 52310 | |||||
| * | Fix read after free found by valgrind. | Evan Cheng | 2008-06-16 | 1 | -15/+10 | |
| | | | | | llvm-svn: 52309 | |||||
| * | Add option to commuteInstruction() which forces it to create a new ↵ | Evan Cheng | 2008-06-16 | 5 | -11/+45 | |
| | | | | | | | (commuted) instruction. llvm-svn: 52308 | |||||
| * | Make indexing empty basic blocks an option for the moment. | Owen Anderson | 2008-06-16 | 1 | -9/+21 | |
| | | | | | llvm-svn: 52306 | |||||
| * | simplify some code by using a helper function. This really really | Chris Lattner | 2008-06-16 | 1 | -22/+16 | |
| | | | | | | | wants a 'nocapture' predicate. llvm-svn: 52304 | |||||
| * | move a bunch of predicates up into their own section | Chris Lattner | 2008-06-16 | 1 | -157/+171 | |
| | | | | | | | in this file, no other changes. llvm-svn: 52303 | |||||
| * | Other parts of this code treat noalias arguments as objects for | Chris Lattner | 2008-06-16 | 1 | -4/+8 | |
| | | | | | | | the purposes of escape analysis. llvm-svn: 52302 | |||||
| * | If we are checking to see if the result of a call aliases a | Chris Lattner | 2008-06-16 | 1 | -1/+21 | |
| | | | | | | | | pointer derived from a local allocation, if the local allocation never escapes, the pointers can't alias. This implements PR2436 llvm-svn: 52301 | |||||
| * | Assign indices to empty basic blocks. This will be necessary for ↵ | Owen Anderson | 2008-06-16 | 1 | -4/+9 | |
| | | | | | | | StrongPHIElimination in the near future. llvm-svn: 52300 | |||||
| * | Refactor basicaa's main alias function somethin' fierce. | Chris Lattner | 2008-06-16 | 1 | -104/+94 | |
| | | | | | | | | | This fixes several minor bugs (such as returning noalias for comparisons between external weak functions an null) but is mostly a cleanup. llvm-svn: 52299 | |||||
| * | Switch from generating the int128 typedefs based on targetdata to generating | Chris Lattner | 2008-06-16 | 1 | -6/+4 | |
| | | | | | | | them based on the end-compiler's capabilities. This fixes PR2453 llvm-svn: 52297 | |||||
| * | Fix the crash on SimplifyLibCalls/2005-05-20-sprintf-crash.ll | Chris Lattner | 2008-06-16 | 1 | -1/+1 | |
| | | | | | llvm-svn: 52295 | |||||
| * | fix pr2460 | Chris Lattner | 2008-06-16 | 1 | -1/+2 | |
| | | | | | llvm-svn: 52294 | |||||
| * | The transforms in visitEXTRACT_VECTOR_ELT are | Duncan Sands | 2008-06-15 | 1 | -4/+4 | |
| | | | | | | | | | not valid if the load is volatile. Hopefully all wrong DAG combiner transforms of volatile loads and stores have now been caught. llvm-svn: 52293 | |||||
| * | LegalizeTypes support for INSERT_VECTOR_ELT with | Duncan Sands | 2008-06-15 | 3 | -26/+59 | |
| | | | | | | | a non-constant index. llvm-svn: 52292 | |||||
| * | Fix PR2434. When scanning for exising binary operator to reuse don't | Wojciech Matyjewicz | 2008-06-15 | 1 | -15/+15 | |
| | | | | | | | | | | | | take into account the instrucion pointed by InsertPt. Thanks to it, returning the new value of InsertPt to the InsertBinop() caller can be avoided. The bug was, actually, in visitAddRecExpr() method which wasn't correctly handling changes of InsertPt. There shouldn't be any performance regression, as -gvn pass (run after -indvars) removes any redundant binops. llvm-svn: 52291 | |||||
| * | Add a missing semicolon. | Wojciech Matyjewicz | 2008-06-15 | 1 | -1/+1 | |
| | | | | | llvm-svn: 52290 | |||||
| * | Fix the sys::Path::getSuffix() implementation. | Argyrios Kyrtzidis | 2008-06-15 | 3 | -5/+32 | |
| | | | | | llvm-svn: 52288 | |||||
| * | Fix the environment block that is passed to the CreateProcess function. | Argyrios Kyrtzidis | 2008-06-15 | 1 | -1/+28 | |
| | | | | | | | This bug made llvm-ld unable to function with "-native" option, since the process that was used to call 'gcc' was crashing. llvm-svn: 52284 | |||||
| * | Remove a redundant AfterLegalize check. Turn | Duncan Sands | 2008-06-14 | 1 | -4/+5 | |
| | | | | | | | | | on some code when !AfterLegalize - but since this whole code section is turned off by an "if (0)" it's not really turning anything on. llvm-svn: 52276 | |||||
| * | Change 'while' loop to 'do' loop. | Wojciech Matyjewicz | 2008-06-14 | 1 | -4/+11 | |
| | | | | | | | | | | Add a safety measure. It isn't safe to assume in ScalarEvolutionExpander that all loops are in canonical form (but it should be safe for loops that have AddRecs). xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx llvm-svn: 52275 | |||||
| * | add missing atomic intrinsic from gcc | Andrew Lenharth | 2008-06-14 | 7 | -28/+28 | |
| | | | | | llvm-svn: 52270 | |||||
| * | Fix a case where tailcallelim wouldn't set the changed bit when it made a ↵ | Chris Lattner | 2008-06-14 | 1 | -1/+3 | |
| | | | | | | | change. llvm-svn: 52267 | |||||
| * | Teach the spiller to commute instructions in order to fold a reload. This ↵ | Evan Cheng | 2008-06-13 | 1 | -18/+125 | |
| | | | | | | | hits 410 times on 444.namd and 122 times on 252.eon. llvm-svn: 52266 | |||||

