Home
last modified time | relevance | path

Searched refs:ret_types (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm-project/clang/utils/VtableTest/
Dgen.cc32 short ret_types[N_STRUCTS][N_FUNCS*FUNCSPACING]; variable
48 if (!ret_types[base][i]) in add_bases()
50 if (!ret_types[s][i]) { in add_bases()
51 ret_types[s][i] = ret_types[base][i]; in add_bases()
54 if (base_present[ret_types[base][i]][ret_types[s][i]]) in add_bases()
56 ret_types[s][i] = ret_types[base][i]; in add_bases()
57 if (base_present[ret_types[s][i]][ret_types[base][i]]) in add_bases()
61 ret_types[s][i] = s; in add_bases()
161 || !base_present[ret_type][ret_types[s][fn]]) in gs()
162 if (ret_types[s][fn]) { in gs()
[all …]
/external/clang/utils/VtableTest/
Dgen.cc32 short ret_types[N_STRUCTS][N_FUNCS*FUNCSPACING]; variable
48 if (!ret_types[base][i]) in add_bases()
50 if (!ret_types[s][i]) { in add_bases()
51 ret_types[s][i] = ret_types[base][i]; in add_bases()
54 if (base_present[ret_types[base][i]][ret_types[s][i]]) in add_bases()
56 ret_types[s][i] = ret_types[base][i]; in add_bases()
57 if (base_present[ret_types[s][i]][ret_types[base][i]]) in add_bases()
61 ret_types[s][i] = s; in add_bases()
161 || !base_present[ret_type][ret_types[s][fn]]) in gs()
162 if (ret_types[s][fn]) { in gs()
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dtype_inference.py367 ret_types = None
369 ret_types, _ = self.resolver.res_name(
372 self._check_set(ret_types)
374 if ret_types is None:
375 ret_types = {Any}
378 for rt in ret_types:
386 ret_types = set()
394 ret_types.add(args[-1])
396 ret_types.add(Any)
402 return ret_types, side_effects
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_body.h35 DataTypeVector ret_types; member
46 DataTypeSlice ret_types, Graph* g);
Dfunction.cc161 Status GetRetTypes(Handle h, DataTypeVector* ret_types) override;
228 DataTypeVector* ret_types) { in GetRetTypes() argument
229 return base_flr_->GetRetTypes(h, ret_types); in GetRetTypes()
342 Status GetRetTypes(Handle handle, DataTypeVector* ret_types) override;
585 DataTypeVector* ret_types) { in GetRetTypes() argument
587 return parent_->GetRetTypes(h, ret_types); in GetRetTypes()
594 *ret_types = fbody->ret_types; in GetRetTypes()
653 for (const auto& t : fbody->ret_types) { in CreateKernel()
661 fbody->ret_types); in CreateKernel()
1020 new FunctionCallFrame(fbody->arg_types, fbody->ret_types); in RunRemote()
[all …]
Dfunction_body.cc28 ret_types(ret_t.begin(), ret_t.end()) { in FunctionBody()
31 this->ret_nodes.resize(ret_types.size()); in FunctionBody()
Dprocess_function_library_runtime.h118 DataTypeVector* ret_types);
267 DataTypeVector ret_types) in MultiDeviceFunctionData()
273 ret_types_(std::move(ret_types)), in MultiDeviceFunctionData()
Dfunction_def_utils.cc72 result.ret_types, graph.release()); in FunctionDefToBodyHelper()
Dinline_function_utils.cc364 if (num_node_outputs != fbody->ret_types.size() || in ValidateInlining()
368 num_node_outputs, " ret_types=", fbody->ret_types.size(), in ValidateInlining()
380 if (node->output_type(i) != fbody->ret_types[i]) { in ValidateInlining()
383 node->output_type(i), " != ", fbody->ret_types[i], " @ index=", i); in ValidateInlining()
Dprocess_function_library_runtime.cc155 FunctionLibraryRuntime::Handle h, DataTypeVector* ret_types) { in GetRetTypes() argument
161 *ret_types = miter->second->ret_types_; in GetRetTypes()
170 return flr->GetRetTypes(h, ret_types); in GetRetTypes()
636 std::vector<string>* ret_node_names, DataTypeVector* ret_types, in GetGraphAndArgRets() argument
658 for (const auto& ret_type : fbody->ret_types) { in GetGraphAndArgRets()
659 ret_types->push_back(ret_type); in GetGraphAndArgRets()
714 DataTypeVector ret_types; in InstantiateMultiDevice() local
719 &ret_node_names, &ret_types, &control_ret_node_names)); in InstantiateMultiDevice()
752 lib_def->ReachableDefinitions(*fdef), std::move(ret_types)); in InstantiateMultiDevice()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtest_util.cc36 result->ret_types = inst.ret_types; in InstantiateFunctionForTest()
Dfunctionalize_control_flow_test.cc184 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in CheckGraphDef()
207 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in CheckGraphDef()
402 EXPECT_EQ(DataTypeVector{DT_BOOL}, result.ret_types); in TEST()
424 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in TEST()
560 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in TEST()
669 EXPECT_EQ(DataTypeVector{DT_BOOL}, result.ret_types); in TEST()
691 EXPECT_EQ(DataTypeVector{DT_INT32}, result.ret_types); in TEST()
827 EXPECT_EQ(DataTypeVector{DT_BOOL}, result.ret_types); in TEST()
862 EXPECT_EQ((DataTypeVector{DT_INT32, DT_INT32}), result.ret_types); in TEST()
1181 EXPECT_EQ(DataTypeVector{DT_BOOL}, result.ret_types); in CheckOuterNodesFunctionalized()
[all …]
Dtest_util.h37 DataTypeVector ret_types; member
/external/llvm-project/llvm/test/TableGen/
Dintrinsic-struct.td20 class Intrinsic<string name, list<LLVMType> ret_types = []> {
24 list<LLVMType> RetTypes = ret_types;
Dintrin-side-effects.td21 class Intrinsic<list<LLVMType> ret_types,
29 list<LLVMType> RetTypes = ret_types;
Dintrinsic-pointer-to-any.td30 class Intrinsic<list<LLVMType> ret_types> {
33 list<LLVMType> RetTypes = ret_types;
/external/tensorflow/tensorflow/core/kernels/data/
Dcaptured_function.cc278 explicit CallFrameBase(DataTypeSlice ret_types) in CallFrameBase() argument
279 : ret_types_(ret_types), retvals_(ret_types.size()) {} in CallFrameBase()
328 DataTypeSlice ret_types) in OwnedArgsCallFrame() argument
329 : CallFrameBase(ret_types), in OwnedArgsCallFrame()
372 DataTypeSlice ret_types) in BorrowedArgsCallFrame() argument
373 : CallFrameBase(ret_types), in BorrowedArgsCallFrame()
709 DataTypeVector ret_types; in Instantiate() local
710 TF_RETURN_IF_ERROR(lib->GetRetTypes(f_handle, &ret_types)); in Instantiate()
715 lib, f_handle, std::move(ret_types), *ctx->runner(), this, in Instantiate()
808 DataTypeVector ret_types, std::function<void(std::function<void()>)> runner, in Create() argument
[all …]
Dcaptured_function.h216 DataTypeVector ret_types,
275 DataTypeVector ret_types,
/external/llvm-project/llvm/include/llvm/IR/
DIntrinsicsHexagon.td18 class Hexagon_Intrinsic<string GCCIntSuffix, list<LLVMType> ret_types,
22 Intrinsic<ret_types, param_types, properties>;
26 class Hexagon_NonGCC_Intrinsic<list<LLVMType> ret_types,
29 : Intrinsic<ret_types, param_types, properties>;
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dvectorization_utils.cc70 map_defun_node->AddAttr("output_types", map_defun_fn->ret_types); in UpdateMapDefunAttrs()
75 map_defun_fn->ret_types.size())); in UpdateMapDefunAttrs()
95 map_defun_fn->ret_types.push_back(type); in AddMapDefunOutput()
113 map_defun_fn->ret_types.erase(map_defun_fn->ret_types.begin() + in RemoveMapDefunOutput()
/external/tensorflow/tensorflow/core/framework/
Dfunction_test.cc112 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
158 EXPECT_EQ(result.ret_types, DataTypeVector({DT_INT32})); in TEST()
200 EXPECT_EQ(result.ret_types, DataTypeVector({DT_INT32})); in TEST()
244 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
280 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
345 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
390 EXPECT_EQ(result.ret_types, DataTypeVector({})); in TEST()
471 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
539 EXPECT_EQ(result.ret_types, DataTypeVector({DT_FLOAT})); in TEST()
Dgraph_to_functiondef.h67 std::vector<string>* ret_node_names, DataTypeVector* ret_types,
Dfunction.h239 DataTypeVector ret_types; member
302 FunctionCallFrame(DataTypeSlice arg_types, DataTypeSlice ret_types);
761 virtual Status GetRetTypes(Handle h, DataTypeVector* ret_types) = 0;
/external/tensorflow/tensorflow/compiler/jit/
Dcompilability_check_util.cc684 tensorflow::MemoryTypeVector output_memory_types(fbody->ret_types.size(), in GetOutputMemoryTypes()
686 for (size_t i = 0; i < fbody->ret_types.size(); ++i) { in GetOutputMemoryTypes()
687 if (fbody->ret_types[i] == tensorflow::DT_RESOURCE) { in GetOutputMemoryTypes()
Dxla_kernel_creator.cc159 &fbody->fdef.signature(), node_def, fbody->arg_types, fbody->ret_types); in CreateXlaKernel()

12