Home
last modified time | relevance | path

Searched refs:func_type (Results 1 – 25 of 57) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/mlir/xla/
Dconvert_op_folder.cc35 using func_type = mlir::APInt(const llvm::APFloat&); in ConvertElementsAttr() typedef
39 new_type, llvm::function_ref<func_type>( in ConvertElementsAttr()
52 new_type, llvm::function_ref<func_type>( in ConvertElementsAttr()
63 using func_type = llvm::APInt(const llvm::APInt&); in ConvertElementsAttr() typedef
67 new_type, llvm::function_ref<func_type>([&newFloatType]( in ConvertElementsAttr()
80 llvm::function_ref<func_type>([&bit_width](const llvm::APInt& intVal) { in ConvertElementsAttr()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dtask_io_service_operation.hpp43 typedef void (*func_type)(task_io_service*, typedef in asio::detail::ASIO_INHERIT_TRACKED_HANDLER
47 task_io_service_operation(func_type func) in task_io_service_operation()
62 func_type func_;
Dwait_op.hpp31 wait_op(func_type func) in wait_op()
Dreactor_op.hpp42 reactor_op(perform_func_type perform_func, func_type complete_func) in reactor_op()
/external/mesa3d/src/gallium/frontends/clover/util/
Dtuple.hpp59 typedef typename std::remove_reference<F>::type func_type; typedef
61 std::declval<func_type>()(std::get<Is>(std::declval<T &&>())...)
91 typedef typename std::remove_reference<F>::type func_type; typedef
93 decltype(std::declval<func_type>()(
/external/curl/CMake/
DCurlTests.c238 typedef void (*func_type)(); typedef
243 func_type func; in main()
244 func = (func_type)inet_ntoa_r; in main()
254 typedef void (*func_type)(); typedef
259 func_type func; in main()
260 func = (func_type)&inet_ntoa_r; in main()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dcompile_mlir_util.cc69 mlir::FunctionType func_type = main_func.getType(); in GetXlaInputShapes() local
71 int num_args = func_type.getNumInputs(); in GetXlaInputShapes()
81 TF_RETURN_IF_ERROR(ConvertToDataType(func_type.getInput(i), &dtype)); in GetXlaInputShapes()
98 mlir::FunctionType func_type = main_func.getType(); in GetOutputInfo() local
101 outputs->reserve(func_type.getNumResults()); in GetOutputInfo()
104 shapes.reserve(func_type.getNumResults()); in GetOutputInfo()
106 for (mlir::Type type : func_type.getResults()) { in GetOutputInfo()
/external/tcpdump/
Dprint-atm.c455 uint8_t cell_type, func_type, payload, clp; in oam_print() local
466 func_type = (*(p+ATM_HDR_LEN_NOHEC+hec)) & 0x0f; in oam_print()
488 ND_PRINT((ndo, ", func-type unknown (%u)", func_type)); in oam_print()
491 tok2str(oam_functype_values[cell_type],"none",func_type), in oam_print()
492 func_type)); in oam_print()
496 switch (cell_type << 4 | func_type) { in oam_print()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dshape_inference.cc396 FunctionType func_type = func.getType(); in RefineShapeForControlFlowFunc() local
397 if (input_types == func_type.getInputs()) return success(); in RefineShapeForControlFlowFunc()
399 func.setType(FunctionType::get(input_types, func_type.getResults(), in RefineShapeForControlFlowFunc()
508 mlir::FunctionType func_type = func.getType(); in InferShapeForFunction() local
511 new_arg_types.reserve(func_type.getNumInputs()); in InferShapeForFunction()
514 for (size_t i = 0; i < func_type.getNumInputs(); ++i) { in InferShapeForFunction()
518 func_type.getInput(i).dyn_cast<mlir::RankedTensorType>()) { in InferShapeForFunction()
525 func_type.getInput(i).dyn_cast<mlir::TensorType>(); in InferShapeForFunction()
533 if (new_arg_type != func_type.getInput(i)) { in InferShapeForFunction()
Dcluster_outlining.cc61 auto func_type = FunctionType::get(operand_types, launch_op.getResultTypes(), in BuildFunction() local
66 FuncOp::create(launch_op.getLoc(), func_name_prefix, func_type); in BuildFunction()
/external/OpenCL-CTS/test_conformance/clcpp/reinterpret/
Das_type.hpp50 template <class func_type, class in_type, class out_type>
51 std::string generate_kernel_as_type(func_type func) in generate_kernel_as_type()
63 template <class func_type, class in_type, class out_type>
64 std::string generate_kernel_as_type(func_type func) in generate_kernel_as_type()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize_functional_ops.cc51 FunctionType func_type = func.getType(); in UpdateFuncType() local
52 if (llvm::makeArrayRef(return_types) == func_type.getResults()) return; in UpdateFuncType()
55 FunctionType::get(func_type.getInputs(), return_types, func.getContext()); in UpdateFuncType()
Dlower_static_tensor_list.cc544 auto func_type = FunctionType::get(branch_args_type, branch_result_type, in matchAndRewrite() local
549 FuncOp then_branch_op = FuncOp::create(loc, "cond_true", func_type); in matchAndRewrite()
555 FuncOp else_branch_op = FuncOp::create(loc, "cond_false", func_type); in matchAndRewrite()
745 FunctionType func_type = func.getType(); in UpdateFunctionTypes() local
746 int num_inputs = func_type.getNumInputs(); in UpdateFunctionTypes()
747 int num_results = func_type.getNumResults(); in UpdateFunctionTypes()
754 Type arg_type = func_type.getInput(i); in UpdateFunctionTypes()
767 Type result_type = func_type.getResult(i); in UpdateFunctionTypes()
/external/OpenCL-CTS/test_conformance/clcpp/utils_test/
Dunary.hpp99 template <class func_type, class in_type, class out_type>
100 std::string generate_kernel_unary(func_type func) in generate_kernel_unary()
124 template <class func_type, class in_type, class out_type>
125 std::string generate_kernel_unary(func_type func) in generate_kernel_unary()
Dbinary.hpp104 template <class func_type, class in1_type, class in2_type, class out_type>
105 std::string generate_kernel_binary(func_type func) in generate_kernel_binary()
135 template <class func_type, class in1_type, class in2_type, class out_type>
136 std::string generate_kernel_binary(func_type func) in generate_kernel_binary()
Dternary.hpp126 template <class func_type, class in1_type, class in2_type, class in3_type, class out_type>
127 std::string generate_kernel_ternary(func_type func) in generate_kernel_ternary()
164 template <class func_type, class in1_type, class in2_type, class in3_type, class out_type>
165 std::string generate_kernel_ternary(func_type func) in generate_kernel_ternary()
/external/OpenCL-CTS/test_conformance/clcpp/atomics/
Datomic_fetch.hpp29 template <class func_type, class type>
30 std::string generate_kernel_atomic_fetch(func_type func) in generate_kernel_atomic_fetch()
44 template <class func_type, class type>
45 std::string generate_kernel_atomic_fetch(func_type func) in generate_kernel_atomic_fetch()
/external/OpenCL-CTS/test_conformance/clcpp/vload_vstore/
Dvstore_funcs.hpp33 template <class func_type, class in_type, class out_type, size_t N>
34 std::string generate_kernel_vstore(func_type func) in generate_kernel_vstore()
54 template <class func_type, class in_type, class out_type, size_t N>
55 std::string generate_kernel_vstore(func_type func) in generate_kernel_vstore()
Dvload_funcs.hpp30 template <class func_type, class in_type, class out_type, size_t N>
31 std::string generate_kernel_vload(func_type func) in generate_kernel_vload()
51 template <class func_type, class in_type, class out_type, size_t N>
52 std::string generate_kernel_vload(func_type func) in generate_kernel_vload()
/external/OpenCL-CTS/test_conformance/clcpp/convert/
Dconvert_cast.hpp142 template <class func_type, class in_type, class out_type>
143 std::string generate_kernel_convert_cast(func_type func) in generate_kernel_convert_cast()
160 template <class func_type, class in_type, class out_type>
161 std::string generate_kernel_convert_cast(func_type func) in generate_kernel_convert_cast()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-lift.hpp35 using func_type = rxu::decay_t<F>; typedef
36 using detail_result = decltype(check<for_type, func_type>(0));
/external/deqp-deps/SPIRV-Tools/source/opt/
Dwrap_opkill.cpp104 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId() local
105 return type_mgr->GetTypeInstruction(&func_type); in GetVoidFunctionTypeId()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dwrap_opkill.cpp104 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId() local
105 return type_mgr->GetTypeInstruction(&func_type); in GetVoidFunctionTypeId()
/external/angle/third_party/spirv-tools/src/source/opt/
Dwrap_opkill.cpp104 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId() local
105 return type_mgr->GetTypeInstruction(&func_type); in GetVoidFunctionTypeId()
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c170 const struct vtn_type *func_type = b->func->type; in vtn_cfg_handle_prepass_instruction() local
172 vtn_assert(func_type->return_type->type == result_type); in vtn_cfg_handle_prepass_instruction()
178 for (unsigned i = 0; i < func_type->length; i++) in vtn_cfg_handle_prepass_instruction()
179 num_params += glsl_type_count_function_params(func_type->params[i]->type); in vtn_cfg_handle_prepass_instruction()
182 if (func_type->return_type->base_type != vtn_base_type_void) in vtn_cfg_handle_prepass_instruction()
189 if (func_type->return_type->base_type != vtn_base_type_void) { in vtn_cfg_handle_prepass_instruction()
199 for (unsigned i = 0; i < func_type->length; i++) in vtn_cfg_handle_prepass_instruction()
200 glsl_type_add_to_function_params(func_type->params[i]->type, func, &idx); in vtn_cfg_handle_prepass_instruction()
211 if (func_type->return_type->base_type != vtn_base_type_void) in vtn_cfg_handle_prepass_instruction()

123