Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/
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
70 new_type, llvm::function_ref<func_type>([&newFloatType, &is_bool]( in ConvertElementsAttr()
83 new_type, llvm::function_ref<func_type>([&bit_width, &is_bool]( 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/tools/kernel_gen/transforms/
Dembed_tf_framework_pass.cc64 FunctionType func_type = op.getType(); in runOnOperation() local
65 return func_type.getNumInputs() > 0 && in runOnOperation()
66 func_type.getInput(0).isa<OpKernelContextType>(); in runOnOperation()
Dembed_tf_framework.cc38 auto func_type = func.getType(); in matchAndRewrite() local
39 TypeConverter::SignatureConversion conversion(func_type.getNumInputs()); in matchAndRewrite()
42 for (auto arg_type : llvm::enumerate(func_type.getInputs())) { in matchAndRewrite()
51 func_type.getResults())); in matchAndRewrite()
Dembed_memref_prints.cc51 auto func_type = FunctionType::get(b->getContext(), arg.getType(), in emitCallToPrint() local
53 callee_func = b->create<FuncOp>(module.getLoc(), func_name, func_type); in emitCallToPrint()
/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/lite/transforms/
Doptimize_functional_ops.cc49 FunctionType func_type = func.getType(); in UpdateFuncType() local
50 if (llvm::makeArrayRef(return_types) == func_type.getResults()) return; in UpdateFuncType()
53 FunctionType::get(func.getContext(), func_type.getInputs(), return_types); in UpdateFuncType()
Dinitialize_variables.cc141 auto func_type = FunctionType::get(&getContext(), {}, {}); in CreateSessionInitFunc() local
143 func_type); in CreateSessionInitFunc()
/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/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dcompile_mlir_util.cc91 mlir::FunctionType func_type = main_func.getType(); in GetXlaInputShapes() local
93 int num_args = func_type.getNumInputs(); in GetXlaInputShapes()
103 TF_RETURN_IF_ERROR(ConvertToDataType(func_type.getInput(i), &dtype)); in GetXlaInputShapes()
147 mlir::FunctionType func_type = main_func.getType(); in GetOutputInfo() local
150 outputs->reserve(func_type.getNumResults()); in GetOutputInfo()
151 resource_updates->reserve(func_type.getNumResults()); in GetOutputInfo()
154 shapes.reserve(func_type.getNumResults()); in GetOutputInfo()
162 for (auto type_and_idx : llvm::enumerate(func_type.getResults())) { in GetOutputInfo()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcluster_outlining.cc59 auto func_type = in BuildFunction() local
65 FuncOp::create(cluster_op.getLoc(), "_func", func_type); in BuildFunction()
Dexecutor_tpuv1_outline_tpu_island.cc102 FunctionType func_type = in runOnOperation() local
109 OpBuilder(ctx).create<FuncOp>(island_op.getLoc(), name, func_type); in runOnOperation()
Dpromote_resources_to_args.cc151 auto func_type = function.getType(); in PromoteVarHandlesToArguments() local
153 auto func_arg_types = llvm::to_vector<4>(func_type.getInputs()); in PromoteVarHandlesToArguments()
177 func_type.getResults())); in PromoteVarHandlesToArguments()
/external/llvm-project/lldb/source/API/
DSBFunction.cpp106 Type *func_type = m_opaque_ptr->GetType(); in GetDescription() local
107 if (func_type) in GetDescription()
108 s.Printf(", type = %s", func_type->GetName().AsCString()); in GetDescription()
/external/tensorflow/tensorflow/python/tf_program/
Dpywrap_tfd.py146 def add_function(self, name, func_type): argument
148 mlir.UnknownLoc.get(self.ctx), name, func_type)
/external/deqp-deps/SPIRV-Tools/source/opt/
Dwrap_opkill.cpp114 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId() local
115 return type_mgr->GetTypeInstruction(&func_type); in GetVoidFunctionTypeId()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dwrap_opkill.cpp114 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId() local
115 return type_mgr->GetTypeInstruction(&func_type); in GetVoidFunctionTypeId()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dwrap_opkill.cpp114 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId() local
115 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()
/external/llvm-project/clang/test/SemaCXX/
Dconversion-function.cpp25 typedef int func_type(int); typedef
39 operator func_type(); // expected-error{{conversion function cannot convert to a function type}}
/external/clang/test/SemaCXX/
Dconversion-function.cpp25 typedef int func_type(int); typedef
39 operator func_type(); // expected-error{{conversion function cannot convert to a function type}}

1234