Tatiana Shpeisman
3609599af6
Introduce IR and parser support for ML functions.
...
Representing function arguments is still TODO.
Supporting instructions other than return is also TODO.
PiperOrigin-RevId: 202570934
2019-03-29 12:26:41 -07:00
MLIR Team
8901448f14
Add some scaffolding for parsing affine maps:
...
- parsing affine map identifiers
- place-holder classes for AffineMap
- module contains a list of affine maps (defined at the top level).
PiperOrigin-RevId: 202336919
2019-03-29 12:26:28 -07:00
Jacques Pienaar
b11a95350f
Change Lexer and Parser to take diagnostic reporter function.
...
Add diagnostic reporter function to lexer/parser and use that from mlir-opt to report errors instead of having the lexer/parser print the errors.
PiperOrigin-RevId: 201892004
2019-03-29 12:25:48 -07:00
Chris Lattner
2b6684cfbe
Add the unconditional branch instruction, improve diagnostics for block
...
references.
PiperOrigin-RevId: 201872745
2019-03-29 12:25:35 -07:00
MLIR Team
642f3e8847
Add tensor type.
...
PiperOrigin-RevId: 201830793
2019-03-29 12:24:58 -07:00
Chris Lattner
80b6bd24b3
Implement parser/IR support for CFG functions, basic blocks and return instruction.
...
This is pretty much minimal scaffolding for this step. Basic block arguments,
instructions, other terminators, a proper IR representation for
blocks/instructions, etc are all coming.
PiperOrigin-RevId: 201826439
2019-03-29 12:24:45 -07:00
Chris Lattner
49795d166f
Introduce IR support for MLIRContext, primitive types, function types, and
...
vector types.
tensors and memref types are still TODO, and would be a good starter project
for someone.
PiperOrigin-RevId: 201782748
2019-03-29 12:24:32 -07:00
Chris Lattner
9b9f7ff5d4
Implement enough of a lexer and parser for MLIR to parse extfunc's without
...
arguments.
PiperOrigin-RevId: 201706570
2019-03-29 12:24:05 -07:00
Chris Lattner
5fc587ecf8
Continue sketching out basic infrastructure, including an input and output
...
filename, and printing of trivial stuff. There is no parser yet, so the
input file is ignored.
PiperOrigin-RevId: 201596916
2019-03-29 12:23:51 -07:00
Chris Lattner
9603f9fe35
Sketch out a new repository for the mlir project (go/mlir).
...
PiperOrigin-RevId: 201540159
2019-03-29 12:23:24 -07:00