-
48b2f421b4
Add a with_results() method to the InsertBuilder.
Jakob Stoklund Olesen
2017-04-13 08:50:32 -07:00
-
e582183619
Add a with_results() method to the InsertBuilder.
Jakob Stoklund Olesen
2017-04-13 08:50:32 -07:00
-
3197f240ff
Add a make_inst_results_reusing() generic method.
Jakob Stoklund Olesen
2017-04-13 08:15:44 -07:00
-
8252b05b92
Add a make_inst_results_reusing() generic method.
Jakob Stoklund Olesen
2017-04-13 08:15:44 -07:00
-
d4f511ecfc
Return the removed instruction from Cursor::remove_inst().
Jakob Stoklund Olesen
2017-04-13 08:18:16 -07:00
-
2e64bb88ba
Return the removed instruction from Cursor::remove_inst().
Jakob Stoklund Olesen
2017-04-13 08:18:16 -07:00
-
801f4ade66
Add remove_inst() methods to Cursor and Layout.
Jakob Stoklund Olesen
2017-04-12 17:06:27 -07:00
-
bcb3882ef6
Add remove_inst() methods to Cursor and Layout.
Jakob Stoklund Olesen
2017-04-12 17:06:27 -07:00
-
84c15e0e66
Add some safety checks for detached values.
Jakob Stoklund Olesen
2017-04-12 15:12:58 -07:00
-
e2f8924c30
Add some safety checks for detached values.
Jakob Stoklund Olesen
2017-04-12 15:12:58 -07:00
-
18b567f88e
Flatten the Value reference representation.
Jakob Stoklund Olesen
2017-04-12 14:26:23 -07:00
-
23ae70cacf
Flatten the Value reference representation.
Jakob Stoklund Olesen
2017-04-12 14:26:23 -07:00
-
b165d9a313
Remove the first_type() methods from InstructionData.
Jakob Stoklund Olesen
2017-04-12 13:43:24 -07:00
-
7cac9dcb41
Remove the first_type() methods from InstructionData.
Jakob Stoklund Olesen
2017-04-12 13:43:24 -07:00
-
28ff7b7925
Move the ctrl_typevar function into dfg.
Jakob Stoklund Olesen
2017-04-12 13:14:03 -07:00
-
9c6a36d36d
Move the ctrl_typevar function into dfg.
Jakob Stoklund Olesen
2017-04-12 13:14:03 -07:00
-
e653d44f39
Stop linking result values together.
Jakob Stoklund Olesen
2017-04-12 12:54:11 -07:00
-
00ee850e33
Stop linking result values together.
Jakob Stoklund Olesen
2017-04-12 12:54:11 -07:00
-
8a2398be08
Stop calling Value::new_direct.
Jakob Stoklund Olesen
2017-04-12 11:02:59 -07:00
-
b9808bedc4
Stop calling Value::new_direct.
Jakob Stoklund Olesen
2017-04-12 11:02:59 -07:00
-
d133606fe7
Don't assume all first results are direct values.
Jakob Stoklund Olesen
2017-04-12 10:48:57 -07:00
-
06b52744db
Don't assume all first results are direct values.
Jakob Stoklund Olesen
2017-04-12 10:48:57 -07:00
-
94e26a845a
Make tests less sensitive to specific value numbers.
Jakob Stoklund Olesen
2017-04-12 10:47:49 -07:00
-
0be78f970c
Make tests less sensitive to specific value numbers.
Jakob Stoklund Olesen
2017-04-12 10:47:49 -07:00
-
f8b473c428
Add detach_results(), attach_result(), and append_result() methods.
Jakob Stoklund Olesen
2017-04-12 10:39:11 -07:00
-
96cc0242a6
Add detach_results(), attach_result(), and append_result() methods.
Jakob Stoklund Olesen
2017-04-12 10:39:11 -07:00
-
0897d43c88
Don't attach a first result in make_inst().
Jakob Stoklund Olesen
2017-04-12 09:45:21 -07:00
-
08b4c5f524
Don't attach a first result in make_inst().
Jakob Stoklund Olesen
2017-04-12 09:45:21 -07:00
-
78a036fa51
Remove the second_result field from instructions.
Jakob Stoklund Olesen
2017-04-12 09:08:29 -07:00
-
8b840e0a9a
Remove the second_result field from instructions.
Jakob Stoklund Olesen
2017-04-12 09:08:29 -07:00
-
71338bb31f
Simplify the back-end of InstBuilder.
Jakob Stoklund Olesen
2017-04-12 08:34:59 -07:00
-
69180a2f84
Simplify the back-end of InstBuilder.
Jakob Stoklund Olesen
2017-04-12 08:34:59 -07:00
-
322a8db839
Change dfg.inst_results to return a slice.
Jakob Stoklund Olesen
2017-04-11 16:53:54 -07:00
-
3c99dc0eb4
Change dfg.inst_results to return a slice.
Jakob Stoklund Olesen
2017-04-11 16:53:54 -07:00
-
3a36435c3b
Maintain a ValueList with the results of each instruction.
Jakob Stoklund Olesen
2017-04-11 15:38:50 -07:00
-
7d47053645
Maintain a ValueList with the results of each instruction.
Jakob Stoklund Olesen
2017-04-11 15:38:50 -07:00
-
7b2becfb21
Add EntityList::first().
Jakob Stoklund Olesen
2017-04-11 16:03:49 -07:00
-
35d52872d9
Add EntityList::first().
Jakob Stoklund Olesen
2017-04-11 16:03:49 -07:00
-
fe0d986110
Make the dfg.insts table private again.
Jakob Stoklund Olesen
2017-04-11 15:03:43 -07:00
-
84be670644
Make the dfg.insts table private again.
Jakob Stoklund Olesen
2017-04-11 15:03:43 -07:00
-
5209778ae2
Stop maintaining a linked list of EBB arguments.
Jakob Stoklund Olesen
2017-04-11 12:30:37 -07:00
-
20ca22f6eb
Stop maintaining a linked list of EBB arguments.
Jakob Stoklund Olesen
2017-04-11 12:30:37 -07:00
-
ca900d6bf8
Return the whole value list from detach_ebb_args().
Jakob Stoklund Olesen
2017-04-11 12:14:33 -07:00
-
77a26b4345
Return the whole value list from detach_ebb_args().
Jakob Stoklund Olesen
2017-04-11 12:14:33 -07:00
-
dd0a61cc91
Keep EBB arguments in a ValueList.
Jakob Stoklund Olesen
2017-04-11 11:36:50 -07:00
-
ccba325b6c
Keep EBB arguments in a ValueList.
Jakob Stoklund Olesen
2017-04-11 11:36:50 -07:00
-
4ee519e620
Add RISC-V call instruction encodings.
Jakob Stoklund Olesen
2017-04-06 15:36:03 -07:00
-
1c890f317d
Add RISC-V call instruction encodings.
Jakob Stoklund Olesen
2017-04-06 15:36:03 -07:00
-
b4ac520332
Extending loads and truncating stores
Jakob Stoklund Olesen
2017-04-11 10:30:03 -07:00
-
ca448d4ede
Extending loads and truncating stores
Jakob Stoklund Olesen
2017-04-11 10:30:03 -07:00
-
aad6ebebb5
Add load and store instructions.
Jakob Stoklund Olesen
2017-04-11 09:54:55 -07:00
-
9d9807688c
Add load and store instructions.
Jakob Stoklund Olesen
2017-04-11 09:54:55 -07:00
-
0c3771bccb
Ensure that the docs examples verify as Cretonne IL.
Jakob Stoklund Olesen
2017-04-10 12:47:16 -07:00
-
46f0393417
Ensure that the docs examples verify as Cretonne IL.
Jakob Stoklund Olesen
2017-04-10 12:47:16 -07:00
-
b474485c0d
Add heap_load, heap_store, and heap_addr instructions.
Jakob Stoklund Olesen
2017-04-10 15:03:10 -07:00
-
b5237b6a4a
Add heap_load, heap_store, and heap_addr instructions.
Jakob Stoklund Olesen
2017-04-10 15:03:10 -07:00
-
e78e4ea4ec
Add a Uoffset32 immediate operand kind.
Jakob Stoklund Olesen
2017-04-10 14:32:06 -07:00
-
ca12a683ac
Add a Uoffset32 immediate operand kind.
Jakob Stoklund Olesen
2017-04-10 14:32:06 -07:00
-
222ae8af22
Define stack_load, stack_store, and stack_addr instructions.
Jakob Stoklund Olesen
2017-04-10 13:20:41 -07:00
-
c52e3e0b3f
Define stack_load, stack_store, and stack_addr instructions.
Jakob Stoklund Olesen
2017-04-10 13:20:41 -07:00
-
7c3bc9d19f
Add Offset32 support to the parser.
Jakob Stoklund Olesen
2017-04-10 13:03:46 -07:00
-
af2516e996
Add Offset32 support to the parser.
Jakob Stoklund Olesen
2017-04-10 13:03:46 -07:00
-
eccc2d0dae
Add an Offset32 immediate operand kind.
Jakob Stoklund Olesen
2017-04-10 11:53:46 -07:00
-
ab1e51002d
Add an Offset32 immediate operand kind.
Jakob Stoklund Olesen
2017-04-10 11:53:46 -07:00
-
51dea9f784
Syntax tweak: Omit comma after an initial enum immediate.
Jakob Stoklund Olesen
2017-04-10 10:28:37 -07:00
-
13b0046ed7
Syntax tweak: Omit comma after an initial enum immediate.
Jakob Stoklund Olesen
2017-04-10 10:28:37 -07:00
-
896ac935b9
Add jump encodings to RISC-V.
Jakob Stoklund Olesen
2017-04-06 15:17:57 -07:00
-
d2f575b54a
Add jump encodings to RISC-V.
Jakob Stoklund Olesen
2017-04-06 15:17:57 -07:00
-
fa4f151b9b
Add a fallthrough instruction.
Jakob Stoklund Olesen
2017-04-06 14:22:32 -07:00
-
e5e5b30315
Add a fallthrough instruction.
Jakob Stoklund Olesen
2017-04-06 14:22:32 -07:00
-
5025bb67f4
Add an iterators module with extra Iterator methods.
Jakob Stoklund Olesen
2017-04-06 13:58:48 -07:00
-
c6e027207c
Add an iterators module with extra Iterator methods.
Jakob Stoklund Olesen
2017-04-06 13:58:48 -07:00
-
856a67ca3a
Use EBB offsets for encoding RISC-V branches.
Jakob Stoklund Olesen
2017-04-06 11:18:38 -07:00
-
1440b673fc
Use EBB offsets for encoding RISC-V branches.
Jakob Stoklund Olesen
2017-04-06 11:18:38 -07:00
-
8a3f538441
Fix a bug in the binemit file test.
Jakob Stoklund Olesen
2017-04-06 11:13:13 -07:00
-
e56482d0fd
Fix a bug in the binemit file test.
Jakob Stoklund Olesen
2017-04-06 11:13:13 -07:00
-
81251c3005
Add a branch relaxation pass for #72.
Jakob Stoklund Olesen
2017-04-05 14:54:17 -07:00
-
b5c74fdc25
Add a branch relaxation pass for #72.
Jakob Stoklund Olesen
2017-04-05 14:54:17 -07:00
-
598c81c12e
Add encoding size information to EncInfo.
Jakob Stoklund Olesen
2017-04-05 11:04:17 -07:00
-
eb1052718b
Add encoding size information to EncInfo.
Jakob Stoklund Olesen
2017-04-05 11:04:17 -07:00
-
f47c62ba8c
Move encoding-related information into an EncInfo struct.
Jakob Stoklund Olesen
2017-04-05 10:07:19 -07:00
-
6ab35e54b8
Move encoding-related information into an EncInfo struct.
Jakob Stoklund Olesen
2017-04-05 10:07:19 -07:00
-
72cb6459a9
Add a CodeOffset type and CodeSink::offset() method.
Jakob Stoklund Olesen
2017-04-05 09:12:12 -07:00
-
847c8045fd
Add a CodeOffset type and CodeSink::offset() method.
Jakob Stoklund Olesen
2017-04-05 09:12:12 -07:00
-
1984c96f7c
rustfmt 0.8.1
Jakob Stoklund Olesen
2017-04-05 09:00:11 -07:00
-
8353651559
rustfmt 0.8.1
Jakob Stoklund Olesen
2017-04-05 09:00:11 -07:00
-
e641c97670
Add RISC-V encodings for brz and brnz.
Jakob Stoklund Olesen
2017-04-03 15:20:57 -07:00
-
3a47b40ff8
Add RISC-V encodings for brz and brnz.
Jakob Stoklund Olesen
2017-04-03 15:20:57 -07:00
-
479ff156c1
Add conditional branch encodings for RISC-V.
Jakob Stoklund Olesen
2017-04-03 15:07:08 -07:00
-
39e102b155
Add conditional branch encodings for RISC-V.
Jakob Stoklund Olesen
2017-04-03 15:07:08 -07:00
-
1b6a6f4e48
Add the br_icmp instruction.
Jakob Stoklund Olesen
2017-04-03 13:44:15 -07:00
-
d2ddc700a8
Add the br_icmp instruction.
Jakob Stoklund Olesen
2017-04-03 13:44:15 -07:00
-
0530e822d4
Add RISC-V encodings for lui.
Jakob Stoklund Olesen
2017-04-03 12:27:22 -07:00
-
175b269760
Add RISC-V encodings for lui.
Jakob Stoklund Olesen
2017-04-03 12:27:22 -07:00
-
4e398164d2
Add icmp_imm encodings for RISC-V.
Jakob Stoklund Olesen
2017-04-03 10:56:30 -07:00
-
c13c318ec4
Add icmp_imm encodings for RISC-V.
Jakob Stoklund Olesen
2017-04-03 10:56:30 -07:00
-
e65be4d827
Give singleton type variables the type's doc string.
Jakob Stoklund Olesen
2017-04-03 10:06:08 -07:00
-
d4d76c8d76
Give singleton type variables the type's doc string.
Jakob Stoklund Olesen
2017-04-03 10:06:08 -07:00
-
3176ccd131
Use the right operand when documenting type variable inference.
Jakob Stoklund Olesen
2017-04-03 09:56:47 -07:00
-
ec29283abb
Use the right operand when documenting type variable inference.
Jakob Stoklund Olesen
2017-04-03 09:56:47 -07:00