llvm-project/mlir/lib/IR
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
..
AffineExpr.cpp Add llvm_unreachable in unreachable path to silence GCC warning (NFC) 2019-05-10 19:30:06 -07:00
AffineExprDetail.h Remove some statements that required >C++11, add includes and qualify names. NFC. 2019-03-29 17:24:53 -07:00
AffineMap.cpp Add llvm_unreachable in unreachable path to silence GCC warning (NFC) 2019-05-10 19:30:06 -07:00
AffineMapDetail.h Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
AsmPrinter.cpp Refactor NameLoc so that it also holds a child location. This removes the awkward use of CallSiteLoc as a variable usage location. 2019-05-20 13:40:52 -07:00
AttributeDetail.h Add an AttrBase class to simplify defining derived Attributes. This class serves the same purpose as TypeBase, and thus the duplicated functionality has been split into a new support class 'StorageUserBase'. 2019-05-10 19:24:46 -07:00
Attributes.cpp Fix lingering sign compare warnings in exposed by "ninja check-mlir". 2019-05-20 13:41:11 -07:00
Block.cpp Add the ability to attach notes to Diagnostic/InFlightDiagnostic. 2019-05-06 08:26:54 -07:00
Builders.cpp Simplify several usages of attributes now that they always have a type and, transitively, access to the context. 2019-05-10 19:22:41 -07:00
CMakeLists.txt Link MLIRSupport to IR in OSS 2019-05-06 08:20:38 -07:00
Diagnostics.cpp 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
Dialect.cpp Make the Twine parameter of the current diagnostic emit functions optional. This allows for the ability to exclusively use the new diagnostic interface without breaking all of the existing usages. Several diagnostics emitted in lib/IR have been updated to make use of this functionality. 2019-05-06 08:27:13 -07:00
Function.cpp Refactor the includes of Function.h now that the dependency on Operation has been removed. The dependency was on the op casting methods, which have now moved out of Operation, used by the walker. 2019-05-20 13:38:32 -07:00
IntegerSet.cpp Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
IntegerSetDetail.h Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
Location.cpp Refactor NameLoc so that it also holds a child location. This removes the awkward use of CallSiteLoc as a variable usage location. 2019-05-20 13:40:52 -07:00
LocationDetail.h Refactor NameLoc so that it also holds a child location. This removes the awkward use of CallSiteLoc as a variable usage location. 2019-05-20 13:40:52 -07:00
MLIRContext.cpp Refactor NameLoc so that it also holds a child location. This removes the awkward use of CallSiteLoc as a variable usage location. 2019-05-20 13:40:52 -07:00
Module.cpp Implement initial support for function attributes, including parser, printer, 2019-03-29 13:02:44 -07:00
Operation.cpp 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
OperationSupport.cpp Rename InstOperand to OpOperand. 2019-03-29 17:50:41 -07:00
PatternMatch.cpp Apply patterns repeatly if the function is modified 2019-04-23 22:02:16 -07:00
SDBMExpr.cpp Add llvm_unreachable in unreachable path to silence GCC warning (NFC) 2019-05-10 19:30:06 -07:00
SDBMExprDetail.h Start building SDBM infrastructure 2019-05-06 08:17:42 -07:00
StandardTypes.cpp Add memref dimension bounds as upper/lower bounds on MemRefRegion constraints, to guard against potential over-approximation from projection. 2019-05-10 19:25:53 -07:00
TypeDetail.h Rename UnknownType to OpaqueType (NFC) 2019-04-03 19:21:47 -07:00
Types.cpp Add an AttrBase class to simplify defining derived Attributes. This class serves the same purpose as TypeBase, and thus the duplicated functionality has been split into a new support class 'StorageUserBase'. 2019-05-10 19:24:46 -07:00
Value.cpp Add llvm_unreachable in unreachable path to silence GCC warning (NFC) 2019-05-10 19:30:06 -07:00