Home
last modified time | relevance | path

Searched refs:input_count (Results 1 – 25 of 71) sorted by relevance

123

/external/v8/src/compiler/
Dnode.cc52 Node* Node::New(Zone* zone, NodeId id, const Operator* op, int input_count, in New() argument
61 for (int i = 0; i < input_count; i++) { in New()
69 if (input_count > kMaxInlineCapacity) { in New()
72 has_extensible_inputs ? input_count + kMaxInlineCapacity : input_count; in New()
81 outline->count_ = input_count; in New()
88 int capacity = input_count; in New()
91 capacity = std::min(input_count + 3, max); in New()
99 node = new (node_buffer) Node(id, op, input_count, capacity); in New()
106 for (int current = 0; current < input_count; ++current) { in New()
120 int const input_count = node->InputCount(); in Clone() local
[all …]
Dcommon-operator.cc621 #define CACHED_END(input_count) \ argument
622 EndOperator<input_count> kEnd##input_count##Operator;
662 #define CACHED_EFFECT_PHI(input_count) \ argument
663 EffectPhiOperator<input_count> kEffectPhi##input_count##Operator;
689 #define CACHED_LOOP(input_count) \ argument
690 LoopOperator<input_count> kLoop##input_count##Operator;
702 #define CACHED_MERGE(input_count) \ argument
703 MergeOperator<input_count> kMerge##input_count##Operator;
803 #define CACHED_PHI(rep, input_count) \ argument
804 PhiOperator<MachineRepresentation::rep, input_count> \
[all …]
Draw-machine-assembler.cc228 int input_count, Node* const* inputs) { in CallN() argument
231 DCHECK_EQ(input_count, call_descriptor->ParameterCount() + 1); in CallN()
232 return AddNode(common()->Call(call_descriptor), input_count, inputs); in CallN()
236 int input_count, in CallNWithFrameState() argument
240 DCHECK_EQ(input_count, call_descriptor->ParameterCount() + 2); in CallNWithFrameState()
241 return AddNode(common()->Call(call_descriptor), input_count, inputs); in CallNWithFrameState()
245 int input_count, Node* const* inputs) { in TailCallN() argument
247 DCHECK_EQ(input_count, call_descriptor->ParameterCount() + 1); in TailCallN()
249 MakeNode(common()->TailCall(call_descriptor), input_count, inputs); in TailCallN()
494 Node* RawMachineAssembler::Phi(MachineRepresentation rep, int input_count, in Phi() argument
[all …]
Dgraph.cc46 Node* Graph::NewNode(const Operator* op, int input_count, Node* const* inputs, in NewNode() argument
48 Node* node = NewNodeUnchecked(op, input_count, inputs, incomplete); in NewNode()
53 Node* Graph::NewNodeUnchecked(const Operator* op, int input_count, in NewNodeUnchecked() argument
56 Node::New(zone(), NextNodeId(), op, input_count, inputs, incomplete); in NewNodeUnchecked()
Djs-inlining-heuristic.cc323 Node** inputs, int input_count) { in TryReuseDispatch() argument
536 inputs[input_count - 3] = new_lazy_frame_state; in TryReuseDispatch()
537 inputs[input_count - 2] = effect; in TryReuseDispatch()
538 inputs[input_count - 1] = control; in TryReuseDispatch()
540 graph()->NewNode(node->op(), input_count, inputs); in TryReuseDispatch()
544 node->ReplaceInput(input_count - 1, jsgraph()->Dead()); in TryReuseDispatch()
559 int input_count) { in CreateOrReuseDispatch() argument
563 input_count)) { in CreateOrReuseDispatch()
596 inputs[input_count - 1] = if_successes[i]; in CreateOrReuseDispatch()
598 graph()->NewNode(node->op(), input_count, inputs); in CreateOrReuseDispatch()
[all …]
Dinstruction-selector.cc182 size_t input_count = arraysize(inputs); in Emit() local
183 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
196 size_t input_count = arraysize(inputs); in Emit() local
197 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
208 size_t input_count = arraysize(inputs); in Emit() local
209 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
220 size_t input_count = arraysize(inputs); in Emit() local
221 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
233 size_t input_count = arraysize(inputs); in Emit() local
234 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
[all …]
Dgraph.h60 Node* NewNodeUnchecked(const Operator* op, int input_count, in NON_EXPORTED_BASE()
64 Node* NewNode(const Operator* op, int input_count, Node* const* inputs, in NON_EXPORTED_BASE()
Djs-inlining-heuristic.h70 Node** calls, Node** inputs, int input_count);
73 int input_count);
Descape-analysis-reducer.cc369 const Operator* op, int input_count, in Constructor() argument
376 if (input_count <= tmp_input_count) { in Constructor()
377 tmp_->TrimInputCount(input_count); in Constructor()
379 for (int i = 0; i < input_count; ++i) { in Constructor()
388 tmp_ = node_cache_->graph_->NewNode(op, input_count, inputs); in Constructor()
Dverifier.cc104 int input_count = value_count + context_count + frame_state_count; in Check() local
106 input_count += effect_count + control_count; in Check()
108 CHECK_EQ(input_count, node->InputCount()); in Check()
208 CHECK_EQ(0, input_count); in Check()
325 CHECK_EQ(control_count, input_count); in Check()
341 CHECK_EQ(control_count, input_count); in Check()
371 CHECK_EQ(2, input_count); in Check()
388 CHECK_EQ(2, input_count); in Check()
397 CHECK_EQ(1, input_count); in Check()
416 CHECK_EQ(0, input_count); in Check()
[all …]
/external/v8/src/compiler/s390/
Dinstruction-selector-s390.cc172 size_t* input_count) { in GenerateMemoryOperandInputs() argument
175 inputs[(*input_count)++] = UseRegister(base); in GenerateMemoryOperandInputs()
177 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
179 inputs[(*input_count)++] = displacement_mode in GenerateMemoryOperandInputs()
190 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
198 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
200 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
212 Node* operand, InstructionOperand inputs[], size_t* input_count, in GetEffectiveAddressMemoryOperand() argument
227 input_count); in GetEffectiveAddressMemoryOperand()
229 inputs[(*input_count)++] = UseRegister(operand->InputAt(0)); in GetEffectiveAddressMemoryOperand()
[all …]
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc263 size_t input_count = 0; in VisitBinop() local
277 inputs[input_count++] = input; in VisitBinop()
278 inputs[input_count++] = input; in VisitBinop()
280 &input_count, &inputs[1])) { in VisitBinop()
282 input_count++; in VisitBinop()
284 m.left().node(), &input_count, in VisitBinop()
288 input_count++; in VisitBinop()
291 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
292 inputs[input_count++] = g.UseRegister(m.right().node()); in VisitBinop()
297 DCHECK_NE(0u, input_count); in VisitBinop()
[all …]
/external/libxcam/tests/
Dtest-image-stitching.cpp53 bool all_in_one, int fisheye_num, int input_count);
209 int input_count = 0; in main() local
241 file_in_name[input_count] = optarg; in main()
242 input_count++; in main()
341 if (!all_in_one && input_count != fisheye_num) { in main()
343 input_count, fisheye_num); in main()
347 for (int i = 0; i < input_count; i++) { in main()
377 for (int i = 0; i < input_count; i++) in main()
428 for (int i = 0; i < input_count; i++) { in main()
456 for (int i = 0; i < input_count; i++) { in main()
[all …]
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc96 size_t* input_count) { in GenerateMemoryOperandInputs() argument
108 inputs[(*input_count)++] = UseRegister(base); in GenerateMemoryOperandInputs()
111 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
113 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
128 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
138 inputs[(*input_count)++] = UseRegister(displacement); in GenerateMemoryOperandInputs()
141 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
142 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
150 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
156 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
[all …]
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_soc_interface/
Dsoc_interface.c92 bool soc_interface_AllocateInOutNodeBuffers(int input_count, int* input_sizes, in soc_interface_AllocateInOutNodeBuffers() argument
97 input_count, input_sizes, output_count, output_sizes); in soc_interface_AllocateInOutNodeBuffers()
181 int input_count, const int* const node_id, const int* const port) { in soc_interface_SetOneNodeInputs() argument
182 if (s_node_inputs_array_index + input_count > s_node_inputs_array_max_count) { in soc_interface_SetOneNodeInputs()
186 for (int i = 0; i < input_count; ++i) { in soc_interface_SetOneNodeInputs()
192 s_node_inputs_array_index += input_count; in soc_interface_SetOneNodeInputs()
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc92 size_t* input_count) { in GenerateMemoryOperandInputs() argument
107 inputs[(*input_count)++] = UseRegister(base); in GenerateMemoryOperandInputs()
110 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
112 inputs[(*input_count)++] = TempImmediate(displacement); in GenerateMemoryOperandInputs()
125 inputs[(*input_count)++] = TempImmediate(displacement); in GenerateMemoryOperandInputs()
132 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
134 inputs[(*input_count)++] = TempImmediate(displacement); in GenerateMemoryOperandInputs()
144 inputs[(*input_count)++] = TempImmediate(displacement); in GenerateMemoryOperandInputs()
153 size_t* input_count) { in GetEffectiveAddressMemoryOperand() argument
159 m.displacement_mode(), inputs, input_count); in GetEffectiveAddressMemoryOperand()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dremote_fused_graph_execute_op.cc76 const int input_count = ctx->num_inputs(); in Compute() local
78 CHECK(input_count == graph_input_count && in Compute()
79 input_count == input_types_.size()) in Compute()
80 << "input_count = " << input_count in Compute()
Dmeta_support.h99 int input_count, const quint8* bias, int bias_count,
106 void Clamp(OpKernelContext* context, const quint8* input, int input_count,
/external/v8/src/compiler/ppc/
Dinstruction-selector-ppc.cc136 size_t input_count = 0; in VisitBinop() local
140 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
141 inputs[input_count++] = g.UseOperand(m.right().node(), operand_mode); in VisitBinop()
152 DCHECK_NE(0u, input_count); in VisitBinop()
154 DCHECK_GE(arraysize(inputs), input_count); in VisitBinop()
157 selector->EmitWithContinuation(opcode, output_count, outputs, input_count, in VisitBinop()
270 size_t input_count = 0; in VisitStore() local
271 inputs[input_count++] = g.UseUniqueRegister(base); in VisitStore()
279 inputs[input_count++] = g.UseImmediate(offset); in VisitStore()
282 inputs[input_count++] = g.UseUniqueRegister(offset); in VisitStore()
[all …]
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc178 size_t input_count = 0; in VisitBinop() local
182 if (TryMatchImmediate(selector, &opcode, m.right().node(), &input_count, in VisitBinop()
185 input_count++; in VisitBinop()
188 &input_count, &inputs[1])) { in VisitBinop()
191 input_count++; in VisitBinop()
193 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
194 inputs[input_count++] = g.UseOperand(m.right().node(), opcode); in VisitBinop()
206 DCHECK_NE(0u, input_count); in VisitBinop()
208 DCHECK_GE(arraysize(inputs), input_count); in VisitBinop()
211 selector->EmitWithContinuation(opcode, output_count, outputs, input_count, in VisitBinop()
[all …]
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dsoc_interface.h47 bool soc_interface_AllocateInOutNodeBuffers(int input_count, int* input_sizes,
81 void* soc_interface_SetOneNodeInputs(int input_count, const int* const node_id,
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_soc_interface/include/
Dsoc_interface.h48 bool soc_interface_AllocateInOutNodeBuffers(int input_count, int* input_sizes,
82 void* soc_interface_SetOneNodeInputs(int input_count, const int* const node_id,
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc430 size_t input_count = 0; in VisitBinop() local
443 inputs[input_count++] = g.UseRegister(left_node); in VisitBinop()
444 inputs[input_count++] = g.UseImmediate(right_node); in VisitBinop()
447 inputs[input_count++] = g.UseRegister(right_node); in VisitBinop()
448 inputs[input_count++] = g.UseImmediate(left_node); in VisitBinop()
452 input_count += 2; in VisitBinop()
457 input_count += 2; in VisitBinop()
461 inputs[input_count++] = g.UseRegisterOrImmediateZero(left_node); in VisitBinop()
462 inputs[input_count++] = g.UseRegister(m_shift.left().node()); in VisitBinop()
464 inputs[input_count++] = in VisitBinop()
[all …]
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc272 size_t input_count = 0; in VisitBinop() local
276 if (TryMatchImmediate(selector, &opcode, m.right().node(), &input_count, in VisitBinop()
279 input_count++; in VisitBinop()
282 &input_count, &inputs[1])) { in VisitBinop()
285 input_count++; in VisitBinop()
287 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
288 inputs[input_count++] = g.UseOperand(m.right().node(), opcode); in VisitBinop()
300 DCHECK_NE(0u, input_count); in VisitBinop()
302 DCHECK_GE(arraysize(inputs), input_count); in VisitBinop()
305 selector->EmitWithContinuation(opcode, output_count, outputs, input_count, in VisitBinop()
[all …]
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_impl/include/
Dhexagon_controller.h63 bool hexagon_controller_AllocateMultipleNodeDataBuffers(int input_count,
104 const uint32_t nn_id, const int input_count, hexagon_nn_tensordef* inputs,

123