llvm-project/mlir/lib
River Riddle 6264fccd3a When converting a location to an SMLoc, advance to the first non-whitespace if the column is unknown(zero). This also fixes a small bug with call stack printing.
Example:
    /tmp/file_C.py:21:5: error: 'foo.bar' op attribute 'something'
        raise app.UsageError('Too many command-line arguments.')
        ^
    /tmp/file_D.py:20:3: note: called from
      if len(argv) > 1:
      ^
    /tmp/file_E.py:19:1: note: called from
    def main(argv):
    ^
    /tmp/file_F.py:24:3: note: called from
      app.run(main)
      ^

--

PiperOrigin-RevId: 248151212
2019-05-20 13:41:46 -07:00
..
AffineOps Replace Operation::isa with llvm::isa. 2019-05-20 13:37:52 -07:00
Analysis Remove unused function and avoid unused variable warning. NFC. 2019-05-20 13:40:23 -07:00
Dialect Only forbid mixing tensor and vector when considering broadcasting behavior 2019-05-10 19:26:43 -07:00
EDSC Add support for using llvm::dyn_cast/cast/isa for operation casts and replace usages of Operation::dyn_cast with llvm::dyn_cast. 2019-05-20 13:37:31 -07:00
ExecutionEngine Pipe Linalg to a cblas call via mlir-cpu-runner 2019-05-20 13:39:02 -07:00
FxpMathOps Replace Operation::cast with llvm::cast. 2019-05-20 13:37:42 -07:00
GPU Revert "Pass for outlining gpu.launch operation bodies into kernel functions called by gpu.launch_func operations" 2019-05-10 21:26:30 -07:00
IR When converting a location to an SMLoc, advance to the first non-whitespace if the column is unknown(zero). This also fixes a small bug with call stack printing. 2019-05-20 13:41:46 -07:00
LLVMIR Fix lingering sign compare warnings in exposed by "ninja check-mlir". 2019-05-20 13:41:11 -07:00
Linalg Fix lingering sign compare warnings in exposed by "ninja check-mlir". 2019-05-20 13:41:11 -07:00
Parser Fix lingering sign compare warnings in exposed by "ninja check-mlir". 2019-05-20 13:41:11 -07:00
Pass Change the diagnostic handler to accept Diagnostic instead of location/message/kind. This opens the door for many more powerful use cases: fixits, colors, etc. 2019-05-10 19:30:56 -07:00
Quantization Replace Operation::cast with llvm::cast. 2019-05-20 13:37:42 -07:00
StandardOps Move specification of print, parse and verify to Std_Op base. 2019-05-20 13:41:29 -07:00
Support Refactor Attribute uniquing to use StorageUniquer instead of being hard coded in the MLIRContext. This allows for attributes to be uniqued similarly to types. This is the second step towards allowing dialects to define attributes. 2019-05-06 08:22:50 -07:00
TableGen [TableGen] Return base attribute's name for anonymous OptionalAttr/DefaultValuedAttr 2019-05-10 19:30:48 -07:00
Target Add a utility method to MLIRContext get a registered dialect with the derived type instead of the string name. The derived dialect type must provide a static 'getDialectNamespace' method. 2019-05-20 13:40:13 -07:00
Transforms Fix lingering sign compare warnings in exposed by "ninja check-mlir". 2019-05-20 13:41:11 -07:00
Translation Add build files and update README. 2019-03-30 11:23:22 -07:00
VectorOps NFC: Make ParseResult public and update the OpAsmParser(and thus all of the custom operation parsers) to use it instead of bool. 2019-05-10 19:23:24 -07:00
CMakeLists.txt Start GPU Dialect 2019-05-06 08:20:08 -07:00