summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [GlobalISel] Add a localizer pass for target to useQuentin Colombet2017-05-271-0/+1
| | | | | | | | | | | | | This reverts commit r299287 plus clean-ups. The localizer pass is a helper pass that could be run at O0 in the GISel pipeline to work around the deficiency of the fast register allocator. It basically shortens the live-ranges of the constants so that the allocator does not spill all over the place. Long term fix would be to make the greedy allocator fast. llvm-svn: 304051
* Revert "Localizer fun"Quentin Colombet2017-04-011-1/+0
| | | | | | | | This reverts commit r299283. Didn't intend to commit this :( llvm-svn: 299287
* Localizer funQuentin Colombet2017-04-011-0/+1
| | | | | | WIP llvm-svn: 299283
* GlobalISel: rename legalizer components to match others.Tim Northover2016-10-141-1/+1
| | | | | | | | | | The previous names were both misleading (the MachineLegalizer actually contained the info tables) and inconsistent with the selector & translator (in having a "Machine") prefix. This should make everything sensible again. The only functional change is the name of a couple of command-line options. llvm-svn: 284287
* [GlobalISel] Introduce an instruction selector.Ahmed Bougacha2016-07-271-0/+1
| | | | | | | | And implement it for AArch64, supporting x/w ADD/OR. Differential Revision: https://reviews.llvm.org/D22373 llvm-svn: 276875
* GlobalISel: implement legalization pass, with just one transformation.Tim Northover2016-07-221-0/+1
| | | | | | | | | This adds the actual MachineLegalizeHelper to do the work and a trivial pass wrapper that legalizes all instructions in a MachineFunction. Currently the only transformation supported is splitting up a vector G_ADD into one acting on smaller vectors. llvm-svn: 276461
* [GlobalISel] Add the skeleton of the RegBankSelect pass.Quentin Colombet2016-04-051-0/+1
| | | | | | | This pass is reponsible for assigning the generic virtual registers to register banks. llvm-svn: 265440
* [GlobalISel] Introduce initializer method to support start/stop-after features.Quentin Colombet2016-03-081-0/+29
llvm-svn: 262896
OpenPOWER on IntegriCloud