/dports/misc/tvm/incubator-tvm-0.6.1/src/runtime/sgx/trusted/ |
H A D | runtime.cc | 56 int ret_type_code = rv.type_code(); in tvm_ecall_packed_func() local 57 if (ret_type_code == kNull) return; in tvm_ecall_packed_func() 60 if (ret_type_code == kBytes || ret_type_code == kStr) { in tvm_ecall_packed_func() 76 ret_type_code = kBytes; in tvm_ecall_packed_func() 78 rv.MoveToCHost(&ret_value, &ret_type_code); in tvm_ecall_packed_func() 80 TVM_SGX_CHECKED_CALL(tvm_ocall_set_return(ret, &ret_value, &ret_type_code, 1)); in tvm_ecall_packed_func()
|
H A D | runtime.h | 45 int ret_type_code; in OCallPackedFunc() local 51 &ret_type_code)); in OCallPackedFunc() 53 *rv = TVMArgValue(ret_val, ret_type_code); in OCallPackedFunc()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/runtime/sgx/trusted/ |
H A D | runtime.cc | 56 int ret_type_code = rv.type_code(); in tvm_ecall_packed_func() local 57 if (ret_type_code == kNull) return; in tvm_ecall_packed_func() 60 if (ret_type_code == kBytes || ret_type_code == kStr) { in tvm_ecall_packed_func() 76 ret_type_code = kBytes; in tvm_ecall_packed_func() 78 rv.MoveToCHost(&ret_value, &ret_type_code); in tvm_ecall_packed_func() 80 TVM_SGX_CHECKED_CALL(tvm_ocall_set_return(ret, &ret_value, &ret_type_code, 1)); in tvm_ecall_packed_func()
|
H A D | runtime.h | 45 int ret_type_code; in OCallPackedFunc() local 51 &ret_type_code)); in OCallPackedFunc() 53 *rv = TVMArgValue(ret_val, ret_type_code); in OCallPackedFunc()
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/runtime/ |
H A D | c_runtime_api.cc | 61 int* ret_type_code) { in MXNetFuncCall() argument 74 *ret_type_code = kBytes; in MXNetFuncCall() 77 *ret_type_code = kStr; in MXNetFuncCall() 81 rv.MoveToCHost(ret_val, ret_type_code); in MXNetFuncCall()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/runtime/ |
H A D | c_runtime_api.cc | 61 int* ret_type_code) { in MXNetFuncCall() argument 74 *ret_type_code = kBytes; in MXNetFuncCall() 77 *ret_type_code = kStr; in MXNetFuncCall() 81 rv.MoveToCHost(ret_val, ret_type_code); in MXNetFuncCall()
|
/dports/misc/tvm/incubator-tvm-0.6.1/rust/runtime/src/ |
H A D | sgx.rs | 50 ret_type_code: *mut c_int, in tvm_ocall_packed_func() 59 let ret_type_code = 0i64; in ocall_packed_func() localVariable 73 &mut (ret_type_code as i32) as *mut c_int, in ocall_packed_func() 76 Ok(TVMRetValue::from_tvm_value(ret_val, ret_type_code as i64)) in ocall_packed_func()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/rust/runtime/src/ |
H A D | sgx.rs | 50 ret_type_code: *mut c_int, in tvm_ocall_packed_func() 59 let ret_type_code = 0i64; in ocall_packed_func() localVariable 73 &mut (ret_type_code as i32) as *mut c_int, in ocall_packed_func() 76 Ok(TVMRetValue::from_tvm_value(ret_val, ret_type_code as i64)) in ocall_packed_func()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/rust/tvm-graph-rt/src/module/ |
H A D | mod.rs | 48 let (mut ret_val, mut ret_type_code) = ret.to_tvm_value(); in wrap_backend_packed_func() 54 &mut ret_type_code, in wrap_backend_packed_func() 57 Ok(RetValue::from_tvm_value(ret_val, ret_type_code)) in wrap_backend_packed_func()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/runtime/sgx/untrusted/ |
H A D | sgx_module.cc | 132 int ret_type_code; in GetFunction() local 134 args.values, args.type_codes, args.num_args, &ret_value, &ret_type_code)); in GetFunction() 135 *rv = TVMArgValue(ret_value, ret_type_code); in GetFunction() 213 int* ret_type_code) { in tvm_ocall_packed_func() argument 218 rv.MoveToCHost(ret_val, ret_type_code); in tvm_ocall_packed_func()
|
/dports/misc/tvm/incubator-tvm-0.6.1/src/runtime/sgx/untrusted/ |
H A D | sgx_module.cc | 132 int ret_type_code; in GetFunction() local 134 args.values, args.type_codes, args.num_args, &ret_value, &ret_type_code)); in GetFunction() 135 *rv = TVMArgValue(ret_value, ret_type_code); in GetFunction() 213 int* ret_type_code) { in tvm_ocall_packed_func() argument 218 rv.MoveToCHost(ret_val, ret_type_code); in tvm_ocall_packed_func()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/runtime/ |
H A D | library_module.cc | 75 int ret_type_code = kTVMNullptr; in WrapPackedFunc() local 77 args.num_args, &ret_value, &ret_type_code, nullptr); in WrapPackedFunc() 79 if (ret_type_code != kTVMNullptr) { in WrapPackedFunc() 80 *rv = TVMRetValue::MoveFromCHost(ret_value, ret_type_code); in WrapPackedFunc()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/runtime/crt/common/ |
H A D | crt_runtime_api.c | 203 TVMValue* ret_val, int* ret_type_code) { in TVMFuncCall() argument 227 ret_type_code[0] = kTVMNullptr; in TVMFuncCall() 229 return func(arg_values, type_codes, num_args, ret_val, ret_type_code, resource_handle); in TVMFuncCall() 289 int* ret_type_code; member 299 ret_val->ret_type_code[idx] = type_code[idx]; in TVMCFuncSetReturn()
|
/dports/misc/tvm/incubator-tvm-0.6.1/src/runtime/sgx/ |
H A D | tvm.edl | 13 [out] int* ret_type_code); 22 [out] int* ret_type_code);
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/runtime/sgx/ |
H A D | tvm.edl | 13 [out] int* ret_type_code); 22 [out] int* ret_type_code);
|
/dports/misc/tvm/incubator-tvm-0.6.1/rust/frontend/src/ |
H A D | function.rs | 218 let mut ret_type_code = 0i32; in invoke() localVariable 225 &mut ret_type_code as *mut _ in invoke() 228 Ok(unsafe { TVMRetValue::from_tvm_value(ret_val, ret_type_code as u32) }) in invoke() 285 let mut ret_type_code = ret_tcode as c_int; in tvm_callback() localVariable 289 &mut ret_type_code as *mut _, in tvm_callback()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/rust/frontend/src/ |
H A D | function.rs | 218 let mut ret_type_code = 0i32; in invoke() localVariable 225 &mut ret_type_code as *mut _ in invoke() 228 Ok(unsafe { TVMRetValue::from_tvm_value(ret_val, ret_type_code as u32) }) in invoke() 285 let mut ret_type_code = ret_tcode as c_int; in tvm_callback() localVariable 289 &mut ret_type_code as *mut _, in tvm_callback()
|
/dports/misc/tvm/incubator-tvm-0.6.1/apps/sgx/enclave/src/ |
H A D | lib.rs | 138 ret_type_code: *mut i64, in tvm_ecall_packed_func() 152 *ret_type_code = tc; in tvm_ecall_packed_func()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/apps/sgx/enclave/src/ |
H A D | lib.rs | 138 ret_type_code: *mut i64, in tvm_ecall_packed_func() 152 *ret_type_code = tc; in tvm_ecall_packed_func()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/target/source/ |
H A D | codegen_c_host.cc | 169 std::string ret_type_code = GetUniqueName("ret_type_code"); in PrintFuncCall() local 172 this->stream << "int " << ret_type_code << ";\n"; in PrintFuncCall() 180 << "&" << ret_type_code << ") != 0) {\n"; in PrintFuncCall()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/rust/tvm-rt/src/ |
H A D | function.rs | 121 let mut ret_type_code = 0i32; in invoke() localVariable 129 &mut ret_type_code as *mut _ in invoke() 132 let rv = RetValue::from_tvm_value(ret_val, ret_type_code as u32); in invoke()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/codegen/ |
H A D | codegen_c_host.cc | 179 std::string ret_type_code = GetUniqueName("ret_type_code"); in PrintFuncCall() local 182 this->stream << "int " << ret_type_code << ";\n"; in PrintFuncCall() 187 << ret_type_code << ") != 0) {\n"; in PrintFuncCall()
|
/dports/misc/tvm/incubator-tvm-0.6.1/src/codegen/ |
H A D | codegen_c_host.cc | 179 std::string ret_type_code = GetUniqueName("ret_type_code"); in PrintFuncCall() local 182 this->stream << "int " << ret_type_code << ";\n"; in PrintFuncCall() 187 << ret_type_code << ") != 0) {\n"; in PrintFuncCall()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/include/mxnet/runtime/ |
H A D | c_runtime_api.h | 130 int* ret_type_code);
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/include/mxnet/runtime/ |
H A D | c_runtime_api.h | 130 int* ret_type_code);
|