Searched refs:MlirLocation (Results 1 – 13 of 13) sorted by relevance
/external/llvm-project/mlir/include/mlir-c/ |
D | IR.h | 60 DEFINE_C_API_STRUCT(MlirLocation, const void); 147 MLIR_CAPI_EXPORTED MlirLocation mlirLocationFileLineColGet( 151 MLIR_CAPI_EXPORTED MlirLocation mlirLocationUnknownGet(MlirContext context); 154 MLIR_CAPI_EXPORTED MlirContext mlirLocationGetContext(MlirLocation location); 157 static inline bool mlirLocationIsNull(MlirLocation location) { in mlirLocationIsNull() 162 MLIR_CAPI_EXPORTED bool mlirLocationEqual(MlirLocation l1, MlirLocation l2); 167 MLIR_CAPI_EXPORTED void mlirLocationPrint(MlirLocation location, 176 MLIR_CAPI_EXPORTED MlirModule mlirModuleCreateEmpty(MlirLocation location); 213 MlirLocation location; 229 MlirLocation loc);
|
D | BuiltinTypes.h | 176 MlirLocation loc); 202 MlirLocation loc); 211 mlirUnrankedTensorTypeGetChecked(MlirType elementType, MlirLocation loc); 243 unsigned memorySpace, MlirLocation loc); 253 MlirType elementType, unsigned memorySpace, MlirLocation loc);
|
D | Diagnostics.h | 58 MLIR_CAPI_EXPORTED MlirLocation 94 MLIR_CAPI_EXPORTED void mlirEmitError(MlirLocation location,
|
D | BuiltinAttributes.h | 102 mlirFloatAttrDoubleGetChecked(MlirType type, double value, MlirLocation loc);
|
/external/llvm-project/mlir/include/mlir-c/Bindings/Python/ |
D | Interop.h | 113 static inline PyObject *mlirPythonLocationToCapsule(MlirLocation loc) { in mlirPythonLocationToCapsule() 122 static inline MlirLocation mlirPythonCapsuleToLocation(PyObject *capsule) { in mlirPythonCapsuleToLocation() 124 MlirLocation loc = {ptr}; in mlirPythonCapsuleToLocation()
|
/external/llvm-project/mlir/lib/CAPI/IR/ |
D | IR.cpp | 112 MlirLocation mlirLocationFileLineColGet(MlirContext context, in mlirLocationFileLineColGet() 119 MlirLocation mlirLocationUnknownGet(MlirContext context) { in mlirLocationUnknownGet() 123 bool mlirLocationEqual(MlirLocation l1, MlirLocation l2) { in mlirLocationEqual() 127 MlirContext mlirLocationGetContext(MlirLocation location) { in mlirLocationGetContext() 131 void mlirLocationPrint(MlirLocation location, MlirStringCallback callback, in mlirLocationPrint() 141 MlirModule mlirModuleCreateEmpty(MlirLocation location) { in mlirModuleCreateEmpty() 173 MlirOperationState mlirOperationStateGet(MlirStringRef name, MlirLocation loc) { in mlirOperationStateGet()
|
D | BuiltinTypes.cpp | 173 MlirType elementType, MlirLocation loc) { in mlirVectorTypeGetChecked() 202 MlirLocation loc) { in mlirRankedTensorTypeGetChecked() 213 MlirLocation loc) { in mlirUnrankedTensorTypeGetChecked() 245 MlirLocation loc) { in mlirMemRefTypeContiguousGetChecked() 274 MlirLocation loc) { in mlirUnrankedMemRefTypeGetChecked()
|
D | Diagnostics.cpp | 24 MlirLocation mlirDiagnosticGetLocation(MlirDiagnostic diagnostic) { in mlirDiagnosticGetLocation() 77 void mlirEmitError(MlirLocation location, const char *message) { in mlirEmitError()
|
D | BuiltinAttributes.cpp | 107 MlirLocation loc) { in mlirFloatAttrDoubleGetChecked()
|
/external/llvm-project/mlir/lib/Bindings/Python/ |
D | IRModules.h | 307 PyLocation(PyMlirContextRef contextRef, MlirLocation loc) in PyLocation() 310 operator MlirLocation() const { return loc; } in MlirLocation() function 311 MlirLocation get() const { return loc; } in get() 328 MlirLocation loc; 341 operator MlirLocation() const { return *get(); } in MlirLocation() function
|
D | IRModules.cpp | 650 MlirLocation rawLoc = mlirPythonCapsuleToLocation(capsule.ptr()); in createFromCapsule()
|
/external/llvm-project/mlir/include/mlir/CAPI/ |
D | IR.h | 33 DEFINE_C_API_METHODS(MlirLocation, mlir::Location)
|
/external/llvm-project/mlir/test/CAPI/ |
D | ir.c | 29 MlirLocation location, MlirBlock funcBody) { in populateLoopBody() 74 MlirModule makeAndDumpAdd(MlirContext ctx, MlirLocation location) { in makeAndDumpAdd() 453 MlirLocation location = mlirLocationUnknownGet(ctx); in constructAndTraverseIr() 472 MlirLocation loc = mlirLocationUnknownGet(ctx); in buildWithInsertionsAndPrint() 1297 MlirLocation loc = mlirDiagnosticGetLocation(diagnostic); in errorHandler() 1313 MlirLocation loc = mlirLocationUnknownGet(ctx); in testDiagnostics()
|