Rohan Jacob-Rao
b4f554b5f5
Parse call to debugging llvm.dbg.declare function.
9 years ago
Rohan Jacob-Rao
c264f95ab3
Setting up metadata variable mappings.
9 years ago
Rohan Jacob-Rao
b3b67cdf69
Add metadata types to AST.
9 years ago
Rohan Jacob-Rao
4a55382345
Refactored grammar for metadata definitions.
9 years ago
Rohan Jacob-Rao
4bb331ad4f
Parse and ignore function declarations.
9 years ago
Rohan Jacob-Rao
f9939786fb
Add function types.
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
ef01c485da
Made parser syntax consistent: list(X) -> X* and option(X) -> X?.
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
3c0e698671
Moved LLVM examples and added licence headers.
9 years ago
Rohan Jacob-Rao
b8b62cbcb0
Add optional alignment argument to alloca, load and store rules.
9 years ago
Rohan Jacob-Rao
07d1f8b821
Properly add local variable declarations to procedure.
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
8fbe358b34
Add tiny C example of null pointer error.
9 years ago
Rohan Jacob-Rao
e9f1f03aa0
Added empty AST node for binops, to prevent build warnings.
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.
10 years ago
Rohan Jacob-Rao
a20d178e7c
Translation of basic store instruction.
10 years ago
Rohan Jacob-Rao
51ebf2493e
Fixed bug in parsing of variables.
10 years ago
Rohan Jacob-Rao
9b8cd7d582
Generate chain of CFG nodes for instructions in a function.
10 years ago
Rohan Jacob-Rao
795742a3a2
Clean up some comments.
10 years ago
Rohan Jacob-Rao
be640f9c4e
Remove build warnings by commenting out unused tokens.
10 years ago
Rohan Jacob-Rao
d8a2ce2417
Generate CFG and call graph files.
10 years ago
Jules Villard
bae8a4dced
[whitespace] indent .ml files as well
10 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`
10 years ago
Dulma Rodriguez
d7655a087e
[clang] Adding getters and setters for all the methods
10 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
Cristiano Calcagno
3e199467f4
Complete copyright messages.
10 years ago
Rohan Jacob-Rao
fc0ca6b6db
Initial LLVM parser.
10 years ago