Home
last modified time | relevance | path

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

1234

/third_party/node/deps/v8/src/compiler/
Dnode.cc58 Node* Node::NewImpl(Zone* zone, NodeId id, const Operator* op, int input_count, in NewImpl() argument
62 DCHECK_GE(input_count, 0); in NewImpl()
70 for (int i = 0; i < input_count; i++) { in NewImpl()
77 if (input_count > kMaxInlineCapacity) { in NewImpl()
80 has_extensible_inputs ? input_count + kMaxInlineCapacity : input_count; in NewImpl()
90 outline->count_ = input_count; in NewImpl()
98 int capacity = std::max(1, input_count); in NewImpl()
101 capacity = std::min(input_count + 3, max); in NewImpl()
110 node = new (node_buffer) Node(id, op, input_count, capacity); in NewImpl()
117 CHECK_IMPLIES(input_count > 0, in NewImpl()
[all …]
Dcommon-operator.cc617 #define CACHED_END(input_count) \ argument
618 EndOperator<input_count> kEnd##input_count##Operator;
657 #define CACHED_EFFECT_PHI(input_count) \ argument
658 EffectPhiOperator<input_count> kEffectPhi##input_count##Operator;
684 #define CACHED_LOOP(input_count) \ argument
685 LoopOperator<input_count> kLoop##input_count##Operator;
697 #define CACHED_MERGE(input_count) \ argument
698 MergeOperator<input_count> kMerge##input_count##Operator;
802 #define CACHED_PHI(rep, input_count) \ argument
803 PhiOperator<MachineRepresentation::rep, input_count> \
[all …]
Dgraph.cc50 Node* Graph::NewNode(const Operator* op, int input_count, Node* const* inputs, in NewNode() argument
52 Node* node = NewNodeUnchecked(op, input_count, inputs, incomplete); in NewNode()
57 Node* Graph::NewNodeUnchecked(const Operator* op, int input_count, in NewNodeUnchecked() argument
60 Node::New(zone(), NextNodeId(), op, input_count, inputs, incomplete); in NewNodeUnchecked()
Djs-inlining-heuristic.cc415 Node** inputs, int input_count) { in TryReuseDispatch() argument
629 inputs[input_count - 3] = new_lazy_frame_state; in TryReuseDispatch()
630 inputs[input_count - 2] = effect_phi_effect; in TryReuseDispatch()
631 inputs[input_count - 1] = control; in TryReuseDispatch()
633 graph()->NewNode(node->op(), input_count, inputs); in TryReuseDispatch()
637 node->ReplaceInput(input_count - 1, jsgraph()->Dead()); in TryReuseDispatch()
652 int input_count) { in CreateOrReuseDispatch() argument
656 input_count)) { in CreateOrReuseDispatch()
695 inputs[input_count - 1] = if_successes[i]; in CreateOrReuseDispatch()
697 graph()->NewNode(node->op(), input_count, inputs); in CreateOrReuseDispatch()
[all …]
Draw-machine-assembler.cc701 int input_count, Node* const* inputs) { in CallN() argument
704 DCHECK_EQ(input_count, call_descriptor->ParameterCount() + 1); in CallN()
705 return AddNode(common()->Call(call_descriptor), input_count, inputs); in CallN()
709 int input_count, in CallNWithFrameState() argument
713 DCHECK_EQ(input_count, call_descriptor->ParameterCount() + 2); in CallNWithFrameState()
714 return AddNode(common()->Call(call_descriptor), input_count, inputs); in CallNWithFrameState()
718 int input_count, Node* const* inputs) { in TailCallN() argument
720 DCHECK_EQ(input_count, call_descriptor->ParameterCount() + 1); in TailCallN()
722 MakeNode(common()->TailCall(call_descriptor), input_count, inputs); in TailCallN()
840 Node* RawMachineAssembler::Phi(MachineRepresentation rep, int input_count, in Phi() argument
[all …]
Dgraph.h61 Node* NewNodeUnchecked(const Operator* op, int input_count, in NON_EXPORTED_BASE()
65 Node* NewNode(const Operator* op, int input_count, Node* const* inputs, in NON_EXPORTED_BASE()
Djs-inlining-heuristic.h84 Node** calls, Node** inputs, int input_count);
86 Node** calls, Node** inputs, int input_count);
Descape-analysis-reducer.cc373 const Operator* op, int input_count, in Constructor() argument
380 if (input_count <= tmp_input_count) { in Constructor()
381 tmp_->TrimInputCount(input_count); in Constructor()
383 for (int i = 0; i < input_count; ++i) { in Constructor()
392 tmp_ = node_cache_->graph_->NewNode(op, input_count, inputs); in Constructor()
Dverifier.cc148 int input_count = value_count + context_count + frame_state_count; in Check() local
150 input_count += effect_count + control_count; in Check()
152 CHECK_EQ(input_count, node->InputCount()); in Check()
260 CHECK_EQ(0, input_count); in Check()
355 CHECK_EQ(control_count, input_count); in Check()
370 CHECK_EQ(control_count, input_count); in Check()
395 CHECK_EQ(2, input_count); in Check()
411 CHECK_EQ(1, input_count); in Check()
429 CHECK_EQ(0, input_count); in Check()
434 CHECK_EQ(0, input_count); in Check()
[all …]
/third_party/node/deps/v8/src/compiler/backend/arm/
Dinstruction-selector-arm.cc270 size_t input_count = 0; in VisitBinop() local
284 inputs[input_count++] = input; in VisitBinop()
285 inputs[input_count++] = input; in VisitBinop()
287 &input_count, &inputs[1])) { in VisitBinop()
289 input_count++; in VisitBinop()
291 m.left().node(), &input_count, in VisitBinop()
295 input_count++; in VisitBinop()
298 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
299 inputs[input_count++] = g.UseRegister(m.right().node()); in VisitBinop()
304 DCHECK_NE(0u, input_count); in VisitBinop()
[all …]
/third_party/node/deps/v8/src/compiler/backend/s390/
Dinstruction-selector-s390.cc174 size_t* input_count) { in GenerateMemoryOperandInputs() argument
177 inputs[(*input_count)++] = UseRegister(base); in GenerateMemoryOperandInputs()
179 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
181 inputs[(*input_count)++] = displacement_mode in GenerateMemoryOperandInputs()
192 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
200 inputs[(*input_count)++] = UseRegister(index); in GenerateMemoryOperandInputs()
202 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
214 Node* operand, InstructionOperand inputs[], size_t* input_count, in GetEffectiveAddressMemoryOperand() argument
229 input_count); in GetEffectiveAddressMemoryOperand()
231 inputs[(*input_count)++] = UseRegister(operand->InputAt(0)); in GetEffectiveAddressMemoryOperand()
[all …]
/third_party/node/deps/v8/src/compiler/backend/x64/
Dinstruction-selector-x64.cc130 size_t* input_count, in GenerateMemoryOperandInputs() argument
143 inputs[(*input_count)++] = UseRegister(base, reg_kind); in GenerateMemoryOperandInputs()
146 inputs[(*input_count)++] = UseRegister(index, reg_kind); in GenerateMemoryOperandInputs()
148 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
163 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
173 inputs[(*input_count)++] = UseRegister(displacement, reg_kind); in GenerateMemoryOperandInputs()
176 inputs[(*input_count)++] = UseRegister(index, reg_kind); in GenerateMemoryOperandInputs()
177 inputs[(*input_count)++] = displacement_mode == kNegativeDisplacement in GenerateMemoryOperandInputs()
185 inputs[(*input_count)++] = UseRegister(index, reg_kind); in GenerateMemoryOperandInputs()
191 inputs[(*input_count)++] = UseRegister(index, reg_kind); in GenerateMemoryOperandInputs()
[all …]
/third_party/node/deps/v8/src/compiler/backend/ia32/
Dinstruction-selector-ia32.cc133 size_t* input_count, RegisterMode register_mode = kRegister) { in GenerateMemoryOperandInputs() argument
146 inputs[(*input_count)++] = UseRegisterWithMode(base, register_mode); in GenerateMemoryOperandInputs()
149 inputs[(*input_count)++] = UseRegisterWithMode(index, register_mode); in GenerateMemoryOperandInputs()
151 inputs[(*input_count)++] = TempImmediate(displacement); in GenerateMemoryOperandInputs()
164 inputs[(*input_count)++] = TempImmediate(displacement); in GenerateMemoryOperandInputs()
171 inputs[(*input_count)++] = UseRegisterWithMode(index, register_mode); in GenerateMemoryOperandInputs()
173 inputs[(*input_count)++] = TempImmediate(displacement); in GenerateMemoryOperandInputs()
183 inputs[(*input_count)++] = TempImmediate(displacement); in GenerateMemoryOperandInputs()
193 size_t* input_count, RegisterMode register_mode = kRegister) { in GenerateMemoryOperandInputs() argument
198 displacement_mode, inputs, input_count, in GenerateMemoryOperandInputs()
[all …]
/third_party/node/deps/v8/src/maglev/
Dmaglev-ir.h432 static Derived* New(Zone* zone, size_t input_count, Args&&... args) { in New() argument
434 Allocate<Derived>(zone, input_count, std::forward<Args>(args)...); in New()
464 constexpr bool has_inputs() const { return input_count() > 0; } in has_inputs()
465 constexpr uint16_t input_count() const { in input_count() function
477 return std::make_reverse_iterator(input_address(input_count() - 1)); in end()
524 reinterpret_cast<EagerDeoptInfo*>(input_address(input_count() - 1)) - in eager_deopt_info()
532 input_address(input_count() - 1)) - in eager_deopt_info()
539 return (reinterpret_cast<LazyDeoptInfo*>(input_address(input_count() - 1)) - in lazy_deopt_info()
547 input_address(input_count() - 1)) - in lazy_deopt_info()
555 DCHECK_LT(index, input_count()); in input_address()
[all …]
Dmaglev-graph-verifier.h69 DCHECK_EQ(node->input_count(), 0); in Process()
84 DCHECK_EQ(node->input_count(), 1); in Process()
116 DCHECK_EQ(node->input_count(), 2); in Process()
128 for (int i = 0; i < node->input_count(); i++) { in Process()
/third_party/node/deps/v8/src/compiler/backend/
Dinstruction-selector.cc210 size_t input_count = arraysize(inputs); in Emit() local
211 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
223 size_t input_count = arraysize(inputs); in Emit() local
224 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
234 size_t input_count = arraysize(inputs); in Emit() local
235 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
245 size_t input_count = arraysize(inputs); in Emit() local
246 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
257 size_t input_count = arraysize(inputs); in Emit() local
258 return Emit(opcode, output_count, &output, input_count, inputs, temp_count, in Emit()
[all …]
/third_party/node/deps/v8/src/compiler/backend/mips/
Dinstruction-selector-mips.cc183 size_t input_count = 0; in VisitBinop() local
187 if (TryMatchImmediate(selector, &opcode, m.right().node(), &input_count, in VisitBinop()
190 input_count++; in VisitBinop()
193 &input_count, &inputs[1])) { in VisitBinop()
196 input_count++; in VisitBinop()
198 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
199 inputs[input_count++] = g.UseOperand(m.right().node(), opcode); in VisitBinop()
211 DCHECK_NE(0u, input_count); in VisitBinop()
213 DCHECK_GE(arraysize(inputs), input_count); in VisitBinop()
216 selector->EmitWithContinuation(opcode, output_count, outputs, input_count, in VisitBinop()
[all …]
/third_party/node/deps/v8/src/compiler/backend/ppc/
Dinstruction-selector-ppc.cc124 size_t input_count = 0; in VisitBinop() local
128 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
129 inputs[input_count++] = g.UseOperand(m.right().node(), operand_mode); in VisitBinop()
140 DCHECK_NE(0u, input_count); in VisitBinop()
142 DCHECK_GE(arraysize(inputs), input_count); in VisitBinop()
145 selector->EmitWithContinuation(opcode, output_count, outputs, input_count, in VisitBinop()
297 size_t input_count = 0; in VisitStoreCommon() local
298 inputs[input_count++] = g.UseUniqueRegister(base); in VisitStoreCommon()
306 inputs[input_count++] = g.UseImmediate(offset); in VisitStoreCommon()
309 inputs[input_count++] = g.UseUniqueRegister(offset); in VisitStoreCommon()
[all …]
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_pass.c64 for (uint32_t i = 0; i < subpass->input_count; i++) { in pvr_subpass_has_msaa_input_attachment()
104 if (subpass->input_count != 0) in pvr_is_subpass_initops_flush_needed()
452 subpass->input_count = desc->inputAttachmentCount; in pvr_CreateRenderPass2()
453 if (subpass->input_count > 0) { in pvr_CreateRenderPass2()
455 subpass_attachments += subpass->input_count; in pvr_CreateRenderPass2()
457 for (uint32_t j = 0; j < subpass->input_count; j++) { in pvr_CreateRenderPass2()
/third_party/node/deps/v8/src/compiler/backend/mips64/
Dinstruction-selector-mips64.cc295 size_t input_count = 0; in VisitBinop() local
299 if (TryMatchImmediate(selector, &opcode, m.right().node(), &input_count, in VisitBinop()
302 input_count++; in VisitBinop()
305 &input_count, &inputs[1])) { in VisitBinop()
308 input_count++; in VisitBinop()
310 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
311 inputs[input_count++] = g.UseOperand(m.right().node(), opcode); in VisitBinop()
316 DCHECK_NE(0u, input_count); in VisitBinop()
318 DCHECK_GE(arraysize(inputs), input_count); in VisitBinop()
321 selector->EmitWithContinuation(opcode, output_count, outputs, input_count, in VisitBinop()
[all …]
/third_party/node/deps/v8/src/compiler/backend/loong64/
Dinstruction-selector-loong64.cc291 size_t input_count = 0; in VisitBinop() local
295 if (TryMatchImmediate(selector, &opcode, m.right().node(), &input_count, in VisitBinop()
298 input_count++; in VisitBinop()
301 &input_count, &inputs[1])) { in VisitBinop()
304 input_count++; in VisitBinop()
306 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
307 inputs[input_count++] = g.UseOperand(m.right().node(), opcode); in VisitBinop()
312 DCHECK_NE(0u, input_count); in VisitBinop()
314 DCHECK_GE(arraysize(inputs), input_count); in VisitBinop()
317 selector->EmitWithContinuation(opcode, output_count, outputs, input_count, in VisitBinop()
[all …]
/third_party/node/deps/v8/src/compiler/backend/arm64/
Dinstruction-selector-arm64.cc464 size_t input_count = 0; in VisitBinop() local
477 inputs[input_count++] = g.UseRegister(left_node); in VisitBinop()
478 inputs[input_count++] = g.UseImmediate(right_node); in VisitBinop()
481 inputs[input_count++] = g.UseRegister(right_node); in VisitBinop()
482 inputs[input_count++] = g.UseImmediate(left_node); in VisitBinop()
486 input_count += 2; in VisitBinop()
491 input_count += 2; in VisitBinop()
495 inputs[input_count++] = g.UseRegisterOrImmediateZero(left_node); in VisitBinop()
496 inputs[input_count++] = g.UseRegister(m_shift.left().node()); in VisitBinop()
498 inputs[input_count++] = g.UseImmediate( in VisitBinop()
[all …]
/third_party/skia/third_party/externals/brotli/c/tools/
Dbrotli.c106 size_t input_count; member
183 size_t input_count = 0; in ParseParams() local
216 input_count++; in ParseParams()
515 params->input_count = input_count; in ParseParams()
520 if (input_count > 1 && output_set) return COMMAND_INVALID; in ParseParams()
689 if (context->input_count == 0) { in NextFile()
1049 context.input_count = 0; in main()
/third_party/node/deps/v8/src/compiler/backend/riscv64/
Dinstruction-selector-riscv64.cc301 size_t input_count = 0; in VisitBinop() local
305 if (TryMatchImmediate(selector, &opcode, m.right().node(), &input_count, in VisitBinop()
308 input_count++; in VisitBinop()
311 &input_count, &inputs[1])) { in VisitBinop()
314 input_count++; in VisitBinop()
316 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop()
317 inputs[input_count++] = g.UseOperand(m.right().node(), opcode); in VisitBinop()
329 DCHECK_NE(0u, input_count); in VisitBinop()
331 DCHECK_GE(arraysize(inputs), input_count); in VisitBinop()
334 selector->EmitWithContinuation(opcode, output_count, outputs, input_count, in VisitBinop()
[all …]
/third_party/pulseaudio/src/modules/
Dmodule-ladspa-sink.c84 unsigned long max_ladspaport_count, input_count, output_count, channels; member
509 for (c = 0; c < u->input_count; c++) in sink_input_pop_cb()
1132 input_ladspaport[u->input_count] = p; in pa__init()
1133 u->input_count++; in pa__init()
1147 if (u->input_count > u->max_ladspaport_count) in pa__init()
1148 u->max_ladspaport_count = u->input_count; in pa__init()
1166 if (c == u->input_count) { in pa__init()
1219 u->input = (LADSPA_Data**) pa_xnew(LADSPA_Data*, (unsigned) u->input_count); in pa__init()
1220 for (c = 0; c < u->input_count; c++) in pa__init()
1238 for (c = 0; c < u->input_count; c++) in pa__init()
[all …]

1234