objc_id 12 src/runtime/metal.cpp extern objc_id MTLCreateSystemDefaultDevice(); objc_id 30 src/runtime/metal.cpp typedef mtl_buffer *(*new_buffer_method)(objc_id device, objc_sel sel, size_t length, size_t options); objc_id 45 src/runtime/metal.cpp typedef void (*add_completed_handler_method)(objc_id command_buffer, objc_sel sel, struct command_buffer_completed_handler_block_literal *handler); objc_id 50 src/runtime/metal.cpp WEAK objc_id command_buffer_error(mtl_command_buffer *buffer) { objc_id 63 src/runtime/metal.cpp objc_id error_return; objc_id 64 src/runtime/metal.cpp typedef mtl_compute_pipeline_state *(*new_compute_pipeline_state_method)(objc_id device, objc_sel sel, objc_id 65 src/runtime/metal.cpp objc_id function, objc_id *error_return); objc_id 77 src/runtime/metal.cpp typedef void (*set_compute_pipeline_state_method)(objc_id encoder, objc_sel sel, objc_id pipeline_state); objc_id 92 src/runtime/metal.cpp typedef void (*did_modify_range_method)(objc_id obj, objc_sel sel, NSRange range); objc_id 98 src/runtime/metal.cpp typedef void (*synchronize_resource_method)(objc_id obj, objc_sel sel, mtl_buffer *buffer); objc_id 104 src/runtime/metal.cpp typedef bool (*responds_to_selector_method)(objc_id obj, objc_sel sel_1, objc_sel sel_2); objc_id 108 src/runtime/metal.cpp typedef int (*storage_mode_method)(objc_id obj, objc_sel sel); objc_id 121 src/runtime/metal.cpp objc_id error_return; objc_id 122 src/runtime/metal.cpp objc_id source_str = wrap_string_as_ns_string(source, source_len); objc_id 124 src/runtime/metal.cpp objc_id options = objc_msgSend(objc_getClass("MTLCompileOptions"), sel_getUid("alloc")); objc_id 126 src/runtime/metal.cpp typedef void (*set_fast_math_method)(objc_id options, objc_sel sel, uint8_t flag); objc_id 130 src/runtime/metal.cpp typedef mtl_library *(*new_library_with_source_method)(objc_id device, objc_sel sel, objc_id source, objc_id options, objc_id *error_return); objc_id 146 src/runtime/metal.cpp objc_id name_str = wrap_string_as_ns_string(name, name_len); objc_id 147 src/runtime/metal.cpp typedef mtl_function *(*new_function_with_name_method)(objc_id library, objc_sel sel, objc_id name); objc_id 155 src/runtime/metal.cpp typedef void (*set_buffer_method)(objc_id encoder, objc_sel sel, objc_id 163 src/runtime/metal.cpp typedef void (*set_threadgroup_memory_length_method)(objc_id encoder, objc_sel sel, objc_id 261 src/runtime/metal.cpp objc_id pool; objc_id 306 src/runtime/metal.cpp objc_id buffer_error = command_buffer_error(buffer); objc_id 28 src/runtime/metal_objc_platform_dependent.cpp typedef void (*dispatch_threadgroups_method)(objc_id encoder, objc_sel sel, objc_id 34 src/runtime/metal_objc_platform_dependent.cpp typedef void (*dispatch_threadgroups_method)(objc_id encoder, objc_sel sel, objc_id 41 src/runtime/metal_objc_platform_dependent.cpp typedef void (*dispatch_threadgroups_method)(objc_id encoder, objc_sel sel, objc_id 7 src/runtime/objc_support.h extern objc_id objc_getClass(const char *name); objc_id 9 src/runtime/objc_support.h extern objc_id objc_msgSend(objc_id self, objc_sel op, ...); objc_id 11 src/runtime/objc_support.h void NSLog(objc_id /* NSString * */format, ...); objc_id 16 src/runtime/objc_support.h WEAK objc_id create_autorelease_pool() { objc_id 17 src/runtime/objc_support.h objc_id pool = objc_id 23 src/runtime/objc_support.h WEAK void drain_autorelease_pool(objc_id pool) { objc_id 27 src/runtime/objc_support.h WEAK void release_ns_object(objc_id obj) { objc_id 31 src/runtime/objc_support.h WEAK objc_id wrap_string_as_ns_string(const char *string, size_t length) { objc_id 32 src/runtime/objc_support.h typedef objc_id (*init_with_bytes_no_copy_method)(objc_id ns_string, objc_sel sel, const char *string, size_t length, size_t encoding, uint8_t freeWhenDone); objc_id 33 src/runtime/objc_support.h objc_id ns_string = objc_msgSend(objc_getClass("NSString"), sel_getUid("alloc")); objc_id 42 src/runtime/objc_support.h objc_id format_string = wrap_string_as_ns_string("%@", 2); objc_id 43 src/runtime/objc_support.h objc_id ns_string = wrap_string_as_ns_string(string, strlen(string)); objc_id 49 src/runtime/objc_support.h WEAK void ns_log_object(objc_id obj) { objc_id 50 src/runtime/objc_support.h objc_id format_string = wrap_string_as_ns_string("%@", 2);