summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/find_loops_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add a parent environment to HEnvironment.Nicolas Geoffray2015-05-111-1/+1
| | | | | | | This code has no functionality change. It adds a placeholder for chaining inlined frames. Change-Id: I5ec57335af76ee406052345b947aad98a6a4423a
* Relax the only one back-edge restriction.Nicolas Geoffray2015-05-071-5/+4
| | | | | | | The rule is in the way for better register allocation, as it creates an artificial join point between multiple paths. Change-Id: Ia4392890f95bcea56d143138f28ddce6c572ad58
* Move arenas into runtimeMathieu Chartier2015-02-191-1/+1
| | | | | | | | | | Moved arena pool into the runtime. Motivation: Allow GC to use arena allocators, recycle arena pool for linear alloc. Bug: 19264997 Change-Id: I8ddbb6d55ee923a980b28fb656c758c5d7697c2f
* Create HGraph outside Builder, print timingsDavid Brazdil2015-02-041-2/+3
| | | | | | | | | This patch refactors the way HGraph objects are created, moving the instantiation out of the Builder class and creating the CodeGenerator earlier. The patch uses this to build a single interface for printing timings info and dumping the CFG. Change-Id: I2eb63eabf28e2d0f5cdc7affaa690c3a4b1bdd21
* Treat SSA transformation special, as we may have to bailout.Nicolas Geoffray2014-12-021-1/+1
| | | | | | | We forgot to bailout when we found a non-natural loop (on which our optimizations don't work). Change-Id: I11976b5af4c98f4f29267a74c74d34b5ad81e20c
* Fix misuse of ArenaAllocator.Nicolas Geoffray2014-09-101-19/+30
| | | | | | | Allocator must survive its allocations (the pool is not enough). Spotted by valgrind. Change-Id: I7104a93e625995f1205710e6d07904b3d315e412
* Add loop recognition and CFG simplifications in new compiler.Nicolas Geoffray2014-05-131-0/+362
We do three simplifications: - Split critical edges, for code generation from SSA (new). - Ensure one back edge per loop, to simplify loop recognition (new). - Ensure only one pre header for a loop, to simplify SSA creation (existing). Change-Id: I9bfccd4b236a00486a261078627b091c8a68be33