Tim Northover
aebb01e004
GlobalISel: implement low-level type with just size & vector lanes.
...
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
2016-07-20 19:09:30 +00:00
Quentin Colombet
8cb0c9cc03
[IRTranslator] Translate unconditional branches.
...
llvm-svn: 263265
2016-03-11 17:28:03 +00:00
Quentin Colombet
292c6c729f
[MachineIRBuilder] Rework buildInstr API to maximize code reuse.
...
llvm-svn: 263264
2016-03-11 17:27:58 +00:00
Quentin Colombet
59f835d8b1
[MachineIRBuilder] Rename the setter of MF for consistency with the getter.
...
llvm-svn: 263262
2016-03-11 17:27:51 +00:00
Quentin Colombet
87dd1b9264
[MachineIRBuilder] Rename the setter for MBB for consistency with the getter.
...
llvm-svn: 263261
2016-03-11 17:27:47 +00:00
Quentin Colombet
9190546c2d
[Target] Add a helper function to check if an opcode is invalid after isel.
...
llvm-svn: 260590
2016-02-11 21:16:56 +00:00
Quentin Colombet
00acc7f94a
[GlobalISel] Teach the IRTranslator how to lower returns.
...
llvm-svn: 260562
2016-02-11 18:53:28 +00:00
Quentin Colombet
2edf260e98
[GlobalISel] Add a MachineIRBuilder class.
...
Helper class to build machine instrs. This is a higher abstraction
than MachineInstrBuilder.
llvm-svn: 260547
2016-02-11 17:44:59 +00:00