summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [WebAssembly] Minor clang-format and selected clang-tidy cleanups. NFC.Dan Gohman2015-11-291-2/+3
| | | | llvm-svn: 254267
* [WebAssembly] Support for register stackifying with load and store instructions.Dan Gohman2015-11-251-28/+46
| | | | llvm-svn: 254076
* [WebAssembly] Add asserts that the expression stack is used in stack order.Dan Gohman2015-11-201-0/+23
| | | | llvm-svn: 253638
* [WebAssemby] Enforce FIFO ordering for instructions using stackified registers.Dan Gohman2015-11-201-0/+26
| | | | llvm-svn: 253634
* [WebAssembly] Enable register coloring and register stackifying.Dan Gohman2015-11-181-0/+9
| | | | | | | | | | | | | | | | This also takes the push/pop syntax another step forward, introducing stack slot numbers to make it easier to see how expressions are connected. For example, the value pushed in $push7 is popped in $pop7. And, this begins an experiment with making get_local and set_local implicit when an operation directly uses or defines a register. This greatly reduces clutter. If this experiment succeeds, it may make sense to do this for const instructions as well. And, this introduces more special code for ARGUMENTS; hopefully this code will soon be obviated by proper support for live-in virtual registers. llvm-svn: 253465
* [WebAssembly] Prototype passes for register coloring and register stackifying.Dan Gohman2015-11-161-0/+146
These passes are not yet enabled by default. llvm-svn: 253217
OpenPOWER on IntegriCloud