Jakob Stoklund Olesen
6381da948f
Handle ABI arguments correctly in the reload pass.
...
Values passed as arguments to calls and return instructions may also be
reload candidates.
2017-06-13 15:13:36 -07:00
Jakob Stoklund Olesen
ca2b1c79d7
Generate binemit::emit_inst() functions.
...
Use the meta language encoding recipes to generate an emit_inst()
function for each ISA. The generated calls into recipe_*() functions
that must be implemented by hand.
Implement recipe_*() functions for the RISC-V recipes.
Add the TargetIsa::emit_inst() entry point which emits an instruction to
a CodeSink trait object.
2017-03-28 14:44:36 -07:00
Jakob Stoklund Olesen
cb3e503f07
Use ISA information to display function signatures.
...
The argument locations contains register unit references that we want to
display with their correct names.
2017-03-03 10:58:45 -08:00
Jakob Stoklund Olesen
00772fb6c4
Add {ValueLoc,ArgumentLoc}::display().
...
These functions return an object containing the necessary ISA info to
print a ValueLoc or ArgumentLoc correctly.
2017-03-03 10:56:32 -08:00
Jakob Stoklund Olesen
15e0822ac3
Add an ArgumentLoc data type.
...
This will be used to amend function signatures with ABI lowering
information.
2017-02-24 12:09:24 -08:00
Jakob Stoklund Olesen
f9af88c49e
Add a ValueLoc type and the locations table.
...
This table holds the result of register allocation.
2016-12-08 13:57:28 -10:00