Rohan Jacob-Rao
6f51b8c54b
Handle source location metadata generated by clang wrapper.
9 years ago
Rohan Jacob-Rao
b4f554b5f5
Parse call to debugging llvm.dbg.declare function.
9 years ago
Rohan Jacob-Rao
4bb331ad4f
Parse and ignore function declarations.
9 years ago
Rohan Jacob-Rao
ded6b1d654
Fix parsing of boolean constants
9 years ago
Rohan Jacob-Rao
f20236fcac
Parse metadata nodes.
9 years ago
Rohan Jacob-Rao
353f442efb
Parse debug annotations and add them to AST.
9 years ago
Rohan Jacob-Rao
026ca7176e
Parse data layout and target triple.
9 years ago
Rohan Jacob-Rao
950b6f4aa4
Added dumb parsing of metadata.
9 years ago
Rohan Jacob-Rao
b8b62cbcb0
Add optional alignment argument to alloca, load and store rules.
9 years ago
Rohan Jacob-Rao
e1d071fb1f
Fix error in parsing int constants.
9 years ago
Rohan Jacob-Rao
66aecca31f
Allow for attribute groups in function definitions.
9 years ago
Rohan Jacob-Rao
264a46f80c
Initial attempt to translate alloca instruction.
9 years ago
Rohan Jacob-Rao
6dc20cd4e6
Add "unnamed" (i.e. numbered) variables to syntax.
9 years ago
Rohan Jacob-Rao
9ac4b11056
Translation of load instruction.
9 years ago
Rohan Jacob-Rao
a20d178e7c
Translation of basic store instruction.
9 years ago
Rohan Jacob-Rao
51ebf2493e
Fixed bug in parsing of variables.
9 years ago
Rohan Jacob-Rao
be640f9c4e
Remove build warnings by commenting out unused tokens.
9 years ago
Jules Villard
6911a1516c
[whitespace] ocp-indent the code
...
Summary:
This commit is the result of
`find infer/src -name '*.ml' -or -name '*.mli' -exec ocp-indent -i \{\} \;`
and
`INFER_CHECK_COPYRIGHT=1 InferPrint`
9 years ago
Rohan Jacob-Rao
0946c9e460
Start of SIL generation from AST.
...
Summary:
Added phase to construct (incomplete) CFG from existing AST.
Individual instructions are not yet translated so any nonempty functions will
result in a runtime exception.
Added some very short examples of LLVM programs.
10 years ago