-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathTODO
More file actions
22 lines (16 loc) · 700 Bytes
/
TODO
File metadata and controls
22 lines (16 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
= TODO LIST =
- Implement functions with unnamed arguments.
Unnamed arguments are numered starting from 0. (i.e. %0, %1, ...)
(e.g. define void @autogen_SD0(i8*, i32*, i64*, i32, i64, i8))
- Fix/complete metadata
Parsing is incomplete:
- metadata as function argument.
- metadata at the end of a value list of variable length.
Parsing looses information (everything becomes `metadata !""`)
- Implement cmpxchg and atomicrmw
- Implement `atomic` keyword
cmpxchg, atomicrmw, fence, atomic load and atomic store
- Implement a bitcode writer
Bitcode would be more efficient for input/output between programs.
- Implemente indirectbr instruction
See INSTR_IndirectBr in ast.