summaryrefslogtreecommitdiffstats
path: root/mlir/lib/EDSC/CoreAPIs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Adjust License.txt file to use the LLVM licenseMehdi Amini2019-12-231-13/+4
| | | | PiperOrigin-RevId: 286906740
* NFC: Remove unnecessary 'llvm::' prefix from uses of llvm symbols declared ↵River Riddle2019-12-181-2/+2
| | | | | | | | in `mlir` namespace. Aside from being cleaner, this also makes the codebase more consistent. PiperOrigin-RevId: 286206974
* Add support for float and string attributes to the C API and python bindingsMLIR Team2019-12-171-0/+12
| | | | PiperOrigin-RevId: 286115042
* Expose mlir::parseType to bindingsAlex Zinenko2019-10-151-25/+12
| | | | | | | | | | | | | | Python bindings currently currently provide a makeScalarType function that constructs one of the predefined types. It was implemented in the bindings directly to circumvent the absence of standalone type parsing function. Now that mlir::parseType has been made available, rely on the core parsing procedure to construct types from strings in the bindings. This changes includes a library reshuffling that splits out "CoreAPIs" implementing the binding helper APIs into a separate library and makes that dependent on the Parser library. PiperOrigin-RevId: 274794516
* NFC: Rename Function to FuncOp.River Riddle2019-07-101-1/+1
| | | | PiperOrigin-RevId: 257293379
* NFC: Remove the various "::getFunction" methods.River Riddle2019-07-081-2/+2
| | | | | | These methods assume that a function is a valid builtin top-level operation, and removing these methods allows for decoupling FuncOp and IR/. Utility "getParentOfType" methods have been added to Operation/OpState to allow for querying the first parent operation of a given type. PiperOrigin-RevId: 257018913
* Drop MLIREmitter-based version of the EDSCAlex Zinenko2019-04-031-0/+103
This version has been deprecated and can now be removed completely since the last remaining user (Python bindings) migrated to declarative builders. Several functions in lib/EDSC/Types.cpp construct core IR objects for the C bindings. Move these functions into lib/EDSC/CoreAPIs.cpp until we decide where they should live. This completes the migration from the delayed-construction EDSC to Declarative Builders. -- PiperOrigin-RevId: 241716729
OpenPOWER on IntegriCloud