Home
last modified time | relevance | path

Searched refs:MlirLocation (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/mlir/include/mlir-c/
DIR.h60 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);
DBuiltinTypes.h176 MlirLocation loc);
202 MlirLocation loc);
211 mlirUnrankedTensorTypeGetChecked(MlirType elementType, MlirLocation loc);
243 unsigned memorySpace, MlirLocation loc);
253 MlirType elementType, unsigned memorySpace, MlirLocation loc);
DDiagnostics.h58 MLIR_CAPI_EXPORTED MlirLocation
94 MLIR_CAPI_EXPORTED void mlirEmitError(MlirLocation location,
DBuiltinAttributes.h102 mlirFloatAttrDoubleGetChecked(MlirType type, double value, MlirLocation loc);
/external/llvm-project/mlir/include/mlir-c/Bindings/Python/
DInterop.h113 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/
DIR.cpp112 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()
DBuiltinTypes.cpp173 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()
DDiagnostics.cpp24 MlirLocation mlirDiagnosticGetLocation(MlirDiagnostic diagnostic) { in mlirDiagnosticGetLocation()
77 void mlirEmitError(MlirLocation location, const char *message) { in mlirEmitError()
DBuiltinAttributes.cpp107 MlirLocation loc) { in mlirFloatAttrDoubleGetChecked()
/external/llvm-project/mlir/lib/Bindings/Python/
DIRModules.h307 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
DIRModules.cpp650 MlirLocation rawLoc = mlirPythonCapsuleToLocation(capsule.ptr()); in createFromCapsule()
/external/llvm-project/mlir/include/mlir/CAPI/
DIR.h33 DEFINE_C_API_METHODS(MlirLocation, mlir::Location)
/external/llvm-project/mlir/test/CAPI/
Dir.c29 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()