• Home
  • Raw
  • Download

Lines Matching refs:MlirOperation

53 DEFINE_C_API_STRUCT(MlirOperation, void);
195 MLIR_CAPI_EXPORTED MlirOperation mlirModuleGetOperation(MlirModule module);
292 MLIR_CAPI_EXPORTED MlirOperation
296 MLIR_CAPI_EXPORTED void mlirOperationDestroy(MlirOperation op);
299 static inline bool mlirOperationIsNull(MlirOperation op) { return !op.ptr; } in mlirOperationIsNull()
303 MLIR_CAPI_EXPORTED bool mlirOperationEqual(MlirOperation op,
304 MlirOperation other);
307 MLIR_CAPI_EXPORTED MlirIdentifier mlirOperationGetName(MlirOperation op);
311 MLIR_CAPI_EXPORTED MlirBlock mlirOperationGetBlock(MlirOperation op);
315 MLIR_CAPI_EXPORTED MlirOperation
316 mlirOperationGetParentOperation(MlirOperation op);
319 MLIR_CAPI_EXPORTED intptr_t mlirOperationGetNumRegions(MlirOperation op);
322 MLIR_CAPI_EXPORTED MlirRegion mlirOperationGetRegion(MlirOperation op,
327 MLIR_CAPI_EXPORTED MlirOperation mlirOperationGetNextInBlock(MlirOperation op);
330 MLIR_CAPI_EXPORTED intptr_t mlirOperationGetNumOperands(MlirOperation op);
333 MLIR_CAPI_EXPORTED MlirValue mlirOperationGetOperand(MlirOperation op,
337 MLIR_CAPI_EXPORTED intptr_t mlirOperationGetNumResults(MlirOperation op);
340 MLIR_CAPI_EXPORTED MlirValue mlirOperationGetResult(MlirOperation op,
344 MLIR_CAPI_EXPORTED intptr_t mlirOperationGetNumSuccessors(MlirOperation op);
347 MLIR_CAPI_EXPORTED MlirBlock mlirOperationGetSuccessor(MlirOperation op,
351 MLIR_CAPI_EXPORTED intptr_t mlirOperationGetNumAttributes(MlirOperation op);
355 mlirOperationGetAttribute(MlirOperation op, intptr_t pos);
359 mlirOperationGetAttributeByName(MlirOperation op, MlirStringRef name);
363 MLIR_CAPI_EXPORTED void mlirOperationSetAttributeByName(MlirOperation op,
369 MLIR_CAPI_EXPORTED bool mlirOperationRemoveAttributeByName(MlirOperation op,
375 MLIR_CAPI_EXPORTED void mlirOperationPrint(MlirOperation op,
381 MLIR_CAPI_EXPORTED void mlirOperationPrintWithFlags(MlirOperation op,
387 MLIR_CAPI_EXPORTED void mlirOperationDump(MlirOperation op);
390 MLIR_CAPI_EXPORTED bool mlirOperationVerify(MlirOperation op);
456 MLIR_CAPI_EXPORTED MlirOperation mlirBlockGetFirstOperation(MlirBlock block);
459 MLIR_CAPI_EXPORTED MlirOperation mlirBlockGetTerminator(MlirBlock block);
463 MlirOperation operation);
470 MlirOperation operation);
476 mlirBlockInsertOwnedOperationAfter(MlirBlock block, MlirOperation reference,
477 MlirOperation operation);
483 mlirBlockInsertOwnedOperationBefore(MlirBlock block, MlirOperation reference,
484 MlirOperation operation);
528 MLIR_CAPI_EXPORTED MlirOperation mlirOpResultGetOwner(MlirValue value);