Skip to content

Commit

Permalink
Use emitc.ptrin VMToEmitC conversions (#8364)
Browse files Browse the repository at this point in the history
* Add support for `emitc.ptr` type

* Use `emitc.ptr` in ListSetRefOpConversion

* Use `emitc.ptr` in ListSetOpConversion

* Use `emitc.ptr` in FailOpConversion

* Use `emitc.ptr` in GlobalLoadOpConversion

* Use `emitc.ptr` in GlobalStoreOpConversion

* Use `emitc.ptr` for `void*` type

* Use `emitc.ptr` for `void**` type

* Use `emitc.ptr` for `uint8_t*` type

* Use `emitc.ptr` for `iree_vm_stack_t*` type

* Use `emitc.ptr` for vm module pointer types

* Use `emitc.ptr` for `iree_vm_function_call_t*` type

* Use `emitc.ptr` for `iree_vm_execution_result_t*` type

* Use `emitc.ptr` for `iree_vm_function_t*` type

* Use `emitc.ptr` for `iree_vm_buffer_t*` type

* Use `emitc.ptr` for `iree_vm_module_state_t` pointer types

* Use `emitc.ptr` for `iree_vm_list_t` pointer types

* Use `emitc.ptr` for remaining pointer types

Refactors the remaining non-`iree_vm_ref_t` pointer types.
  • Loading branch information
marbre authored Feb 18, 2022
1 parent b6df5f2 commit 34eb166
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 101 deletions.
Loading

0 comments on commit 34eb166

Please sign in to comment.