Home
last modified time | relevance | path

Searched refs:node_count (Results 1 – 25 of 28) sorted by relevance

12

/external/v8/src/compiler/
Dstate-values-utils.cc126 int node_count = static_cast<int>(count); in GetValuesNodeFromCache() local
127 node = graph()->NewNode(common()->StateValues(node_count, mask), node_count, in GetValuesNodeFromCache()
139 WorkingBuffer* node_buffer, size_t* node_count, size_t* values_idx, in FillBufferWithValues() argument
146 size_t virtual_node_count = *node_count; in FillBufferWithValues()
148 while (*values_idx < count && *node_count < kMaxInputCount && in FillBufferWithValues()
155 (*node_buffer)[(*node_count)++] = values[*values_idx]; in FillBufferWithValues()
162 DCHECK_GE(StateValuesCache::kMaxInputCount, *node_count); in FillBufferWithValues()
175 size_t node_count = 0; in BuildTree() local
179 input_mask = FillBufferWithValues(node_buffer, &node_count, values_idx, in BuildTree()
184 while (*values_idx < count && node_count < kMaxInputCount) { in BuildTree()
[all …]
Dstate-values-utils.h59 size_t* node_count,
Dinstruction-selector.cc24 Zone* zone, size_t node_count, Linkage* linkage, in InstructionSelector() argument
43 defined_(node_count, false, zone), in InstructionSelector()
44 used_(node_count, false, zone), in InstructionSelector()
45 effect_level_(node_count, 0, zone), in InstructionSelector()
46 virtual_registers_(node_count, in InstructionSelector()
58 instructions_.reserve(node_count); in InstructionSelector()
63 instr_origins_.assign(node_count, {-1, 0}); in InstructionSelector()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dnoop_elimination_test.cc40 NodeDef *node_count = graph_utils::AddScalarConstNode<int64>(count, graph); in MakeUnaryNode() local
42 {std::move(input_node), node_count->name()}, in MakeUnaryNode()
48 NodeDef *node_count = graph_utils::AddScalarPlaceholder(DT_INT32, graph); in MakeUnaryNonConstNode() local
50 {std::move(input_node), node_count->name()}, in MakeUnaryNonConstNode()
84 const int node_count = std::get<1>(GetParam()); in TEST_P() local
90 MakeUnaryNode(node_type, node_count, range_node->name(), &graph); in TEST_P()
124 const int node_count = std::get<1>(GetParam()); in TEST_P() local
130 MakeUnaryNode(node_type, node_count, range_node->name(), &graph); in TEST_P()
/external/tensorflow/tensorflow/python/debug/lib/
Dprofiling_test.py67 self.assertEqual(1, aggregate_data.node_count)
76 self.assertEqual(2, aggregate_data.node_count)
86 self.assertEqual(2, aggregate_data.node_count)
95 self.assertEqual(2, aggregate_data.node_count)
Dprofiling.py103 def node_count(self): member in AggregateProfile
/external/u-boot/board/cavium/thunderx/
Dthunderx.c83 ssize_t node_count = atf_node_count(); in dram_init() local
87 printf("Initializing\nNodes in system: %zd\n", node_count); in dram_init()
91 for (node = 0; node < node_count; node++) { in dram_init()
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_impl/
Dhexagon_controller.c102 bool hexagon_controller_SetAllInputTensorDef(int node_count, in hexagon_controller_SetAllInputTensorDef() argument
105 if (node_count != GetInputNodeCount()) { in hexagon_controller_SetAllInputTensorDef()
109 for (int i = 0; i < node_count; ++i) { in hexagon_controller_SetAllInputTensorDef()
125 bool hexagon_controller_SetAllOutputTensorDef(int node_count, in hexagon_controller_SetAllOutputTensorDef() argument
128 if (node_count != GetOutputNodeCount()) { in hexagon_controller_SetAllOutputTensorDef()
129 TFMLOGE("Error invalid output node count. %d != %d", node_count, in hexagon_controller_SetAllOutputTensorDef()
133 for (int i = 0; i < node_count; ++i) { in hexagon_controller_SetAllOutputTensorDef()
Dgraph_functions_wrapper.c332 unsigned int node_count; in hexagon_controller_DumpNodeName() local
335 if (hexagon_nn_get_perfinfo(id, info, MAX_NODES, &node_count) != 0) { in hexagon_controller_DumpNodeName()
339 TFMLOGD("Total %d nodes.", node_count); in hexagon_controller_DumpNodeName()
340 qsort(info, node_count, sizeof(info[0]), CompareCycle); in hexagon_controller_DumpNodeName()
341 for (i = 0; i < node_count; i++) { in hexagon_controller_DumpNodeName()
345 for (i = 0; i < node_count; i++) { in hexagon_controller_DumpNodeName()
/external/freetype/src/cache/
Dftcsbits.c222 FT_UInt node_count; in FTC_SNode_New() local
245 for ( node_count = 0; node_count < count; node_count++ ) in FTC_SNode_New()
247 snode->sbits[node_count].width = 255; in FTC_SNode_New()
/external/ltp/testcases/kernel/sched/pthreads/
Dpth_str01.c49 int node_count; /* number of nodes created so far */ variable
186 my_index = node_count++; in synchronize_children()
227 printf("thread %d node_count = %d\n", my_index, node_count); in synchronize_children()
238 if (node_count == num_nodes(breadth, cdepth)) { in synchronize_children()
355 node_count = 1; in doit()
Dpth_str03.c68 int node_count; /* number of nodes created so far */ variable
203 my_index = node_count++; in synchronize_children()
240 printf("thread %d node_count = %d\n", my_index, node_count); in synchronize_children()
249 if (node_count == num_nodes(breadth, cdepth)) { in synchronize_children()
353 node_count = 1; in doit()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_regalloc.c518 unsigned int i, input_node, node_count, node_index; in do_advanced_regalloc() local
528 node_count = rc_list_count(variables); in do_advanced_regalloc()
530 node_count * sizeof(unsigned int)); in do_advanced_regalloc()
570 node_count + s->NumInputs); in do_advanced_regalloc()
572 for (node_index = 0; node_index < node_count; node_index++) { in do_advanced_regalloc()
610 node_count + input_node); in do_advanced_regalloc()
614 ra_set_node_reg(graph, node_count + input_node, get_reg_id( in do_advanced_regalloc()
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_impl/include/
Dhexagon_controller.h44 bool hexagon_controller_SetAllInputTensorDef(int node_count,
47 bool hexagon_controller_SetAllInputTensorDef(int node_count,
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_reg_allocate.cpp206 int node_count = alloc.count; in reg_allocate() local
207 int first_payload_node = node_count; in reg_allocate()
208 node_count += payload_reg_count; in reg_allocate()
210 ra_alloc_interference_graph(compiler->vec4_reg_set.regs, node_count); in reg_allocate()
237 setup_payload_interference(g, first_payload_node, node_count); in reg_allocate()
Dbrw_fs_reg_allocate.cpp545 int node_count = this->alloc.count; in assign_regs() local
546 int first_payload_node = node_count; in assign_regs()
547 node_count += payload_node_count; in assign_regs()
548 int first_mrf_hack_node = node_count; in assign_regs()
550 node_count += BRW_MAX_GRF - GEN7_MRF_HACK_START; in assign_regs()
552 ra_alloc_interference_graph(compiler->fs_reg_sets[rsi].regs, node_count); in assign_regs()
/external/libxaac/decoder/drc_src/
Dimpd_drc_gain_dec.c202 WORD32 node_count = split_drc_characteristic->characteristic_node_count; in impd_compressor_io_nodes_inverse() local
205 if (loc_db_gain <= node_gain[node_count]) { in impd_compressor_io_nodes_inverse()
206 *in_level = node_level[node_count]; in impd_compressor_io_nodes_inverse()
211 for (n = 1; n <= node_count; n++) { in impd_compressor_io_nodes_inverse()
223 if (loc_db_gain >= node_gain[node_count]) { in impd_compressor_io_nodes_inverse()
224 *in_level = node_level[node_count]; in impd_compressor_io_nodes_inverse()
229 for (n = 1; n <= node_count; n++) { in impd_compressor_io_nodes_inverse()
Dimpd_drc_parametric_dec.c146 pstr_parametric_ffwd_type_drc_params->node_count = in impd_init_parametric_drc_feed_fwd()
147 hParametricDrcTypeFeedForwardBs->node_count; in impd_init_parametric_drc_feed_fwd()
151 pstr_parametric_ffwd_type_drc_params->node_count * sizeof(WORD32)); in impd_init_parametric_drc_feed_fwd()
154 pstr_parametric_ffwd_type_drc_params->node_count * sizeof(WORD32)); in impd_init_parametric_drc_feed_fwd()
962 for (n = 0; n < pstr_parametric_ffwd_type_drc_params->node_count; n++) { in impd_parametric_ffwd_type_drc_process()
970 } else if (n == pstr_parametric_ffwd_type_drc_params->node_count) { in impd_parametric_ffwd_type_drc_process()
Dimpd_parametric_drc_dec.h59 WORD32 node_count; member
Dimpd_drc_static_payload.c40 str_parametric_drc_type_feed_forward->node_count = 5; in impd_parametric_drc_ffwd_init_drc_curve_params()
53 str_parametric_drc_type_feed_forward->node_count = 5; in impd_parametric_drc_ffwd_init_drc_curve_params()
66 str_parametric_drc_type_feed_forward->node_count = 4; in impd_parametric_drc_ffwd_init_drc_curve_params()
77 str_parametric_drc_type_feed_forward->node_count = 5; in impd_parametric_drc_ffwd_init_drc_curve_params()
90 str_parametric_drc_type_feed_forward->node_count = 5; in impd_parametric_drc_ffwd_init_drc_curve_params()
203 str_parametric_drc_type_feed_forward->node_count = ((tmp >> 12) & 3) + 2; in impd_parse_parametric_drc_ffwd()
208 for (i = 1; i < str_parametric_drc_type_feed_forward->node_count; i++) { in impd_parse_parametric_drc_ffwd()
Dimpd_drc_struct.h184 WORD32 node_count; member
/external/libdrm/
Dxf86drm.c3794 int ret, i, node_count; in drmGetDevice2()
3897 node_count = i; in drmGetDevice2()
3899 drmFoldDuplicatedDevices(local_devices, node_count); in drmGetDevice2()
3902 drmFreeDevices(&local_devices[1], node_count - 1); in drmGetDevice2()
3960 int ret, i, node_count, device_count; in drmGetDevices2() local
4047 node_count = i; in drmGetDevices2()
4049 drmFoldDuplicatedDevices(local_devices, node_count); in drmGetDevices2()
4052 for (i = 0; i < node_count; i++) { in drmGetDevices2()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment.cc82 const int64 node_count = interference_map.size(); in ColorInterferenceGraph() local
87 std::vector<int64> nodes(node_count); in ColorInterferenceGraph()
94 std::vector<int64> assigned_colors(node_count, kColorUnassigned); in ColorInterferenceGraph()
97 std::vector<bool> available_colors(node_count, true); in ColorInterferenceGraph()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc349 const int node_count = graph_->node_size(); in MaterializeShapes() local
350 for (int node_idx = 0; node_idx < node_count; ++node_idx) { in MaterializeShapes()
841 const int node_count = graph_->node_size(); in MaterializeConstants() local
842 for (int i = 0; i < node_count; ++i) { in MaterializeConstants()
3449 int64 node_count; in Optimize() local
3456 node_count = graph_->node_size(); in Optimize()
3459 } while (graph_modified_ || optimized_graph->node_size() != node_count); in Optimize()
/external/libxaac/decoder/
Dixheaacd_config.h225 WORD32 node_count; member

12