summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GlobalISel: implement legalization pass, with just one transformation.Tim Northover2016-07-221-0/+32
| | | | | | | | | 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: implement alloca instructionTim Northover2016-07-221-0/+8
| | | | llvm-svn: 276433
* GlobalISel: implement low-level type with just size & vector lanes.Tim Northover2016-07-201-7/+7
| | | | | | | | This should be all the low-level instruction selection needs to determine how to implement an operation, with the remaining context taken from the opcode (e.g. G_ADD vs G_FADD) or other flags not based on type (e.g. fast-math). llvm-svn: 276158
* [IRTranslator] Translate unconditional branches.Quentin Colombet2016-03-111-0/+7
| | | | llvm-svn: 263265
* [MachineIRBuilder] Rework buildInstr API to maximize code reuse.Quentin Colombet2016-03-111-22/+24
| | | | llvm-svn: 263264
* [MachineIRBuilder] Rename the setter of MF for consistency with the getter.Quentin Colombet2016-03-111-1/+1
| | | | llvm-svn: 263262
* [MachineIRBuilder] Rename the setter for MBB for consistency with the getter.Quentin Colombet2016-03-111-2/+2
| | | | llvm-svn: 263261
* [Target] Add a helper function to check if an opcode is invalid after isel.Quentin Colombet2016-02-111-1/+13
| | | | llvm-svn: 260590
* [GlobalISel] Teach the IRTranslator how to lower returns.Quentin Colombet2016-02-111-0/+22
| | | | llvm-svn: 260562
* [GlobalISel] Add a MachineIRBuilder class.Quentin Colombet2016-02-111-0/+61
Helper class to build machine instrs. This is a higher abstraction than MachineInstrBuilder. llvm-svn: 260547
OpenPOWER on IntegriCloud