Lines Matching refs:args
23 GateRef CircuitBuilder::NoLabelCallRuntime(GateRef glue, GateRef depend, size_t index, std::vector<GateRef> &args,
30 inputs.insert(inputs.end(), args.begin(), args.end());
31 auto numValuesIn = args.size() + 2; // 2: target & glue
57 GateRef CircuitBuilder::CallStub(GateRef glue, GateRef hirGate, int index, const std::vector<GateRef> &args,
69 result = Call(cs, glue, target, depend, args, hirGate, comment);
71 result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment);
76 GateRef CircuitBuilder::CallBuiltinRuntime(GateRef glue, GateRef depend, const std::vector<GateRef> &args, bool isNew)
93 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), name.c_str());
97 GateRef CircuitBuilder::CallBuiltinRuntimeWithNewTarget(GateRef glue, GateRef depend, const std::vector<GateRef> &args)
111 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), name.c_str());
116 const std::vector<GateRef> &args, GateRef hirGate, const char* comment)
119 inputs.insert(inputs.end(), args.begin(), args.end());
120 auto numValuesIn = args.size() + 2; // 2: target & glue
169 GateRef CircuitBuilder::CallBCHandler(GateRef glue, GateRef target, const std::vector<GateRef> &args,
177 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment);
181 GateRef CircuitBuilder::CallBuiltin(GateRef glue, GateRef target, const std::vector<GateRef> &args,
189 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment);
193 GateRef CircuitBuilder::CallBuiltinWithArgv(GateRef glue, GateRef target, const std::vector<GateRef> &args,
201 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment);
205 GateRef CircuitBuilder::CallBCDebugger(GateRef glue, GateRef target, const std::vector<GateRef> &args,
213 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment);
217 GateRef CircuitBuilder::CallRuntime(GateRef glue, int index, GateRef depend, const std::vector<GateRef> &args,
232 GateRef result = Call(cs, glue, target, depend, args, filteredHirGate, comment);
248 GateRef CircuitBuilder::CallNGCRuntime(GateRef glue, int index, GateRef depend, const std::vector<GateRef> &args,
263 GateRef result = Call(cs, glue, target, depend, args, filteredHirGate, comment);
267 GateRef CircuitBuilder::CallNGCRuntime(GateRef glue, GateRef gate, int index, const std::vector<GateRef> &args,
272 GateRef result = CallNGCRuntime(glue, index, Gate::InvalidGateRef, args, gate, name.c_str());
277 GateRef result = Call(cs, glue, target, GetDepend(), args, gate, name.c_str());
282 void CircuitBuilder::StartCallTimer(GateRef glue, GateRef gate, const std::vector<GateRef> &args, bool useLabel)
286 (void)args;
289 CallNGCRuntime(glue, gate, RTSTUB_ID(StartCallTimer), args, useLabel);
293 void CircuitBuilder::EndCallTimer(GateRef glue, GateRef gate, const std::vector<GateRef> &args, bool useLabel)
297 (void)args;
300 CallNGCRuntime(glue, gate, RTSTUB_ID(EndCallTimer), args, useLabel);
304 GateRef CircuitBuilder::FastCallOptimized(GateRef glue, GateRef code, GateRef depend, const std::vector<GateRef> &args,
318 GateRef result = Call(cs, glue, code, depend, args, filteredHirGate, "fastCallOptimized");
322 GateRef CircuitBuilder::CallOptimized(GateRef glue, GateRef code, GateRef depend, const std::vector<GateRef> &args,
336 GateRef result = Call(cs, glue, code, depend, args, filteredHirGate, "callOptimized");
358 std::vector<GateRef> args = {currentControl, currentDepend, receiver, accessor};
359 AppendFrameArgs(args, hirGate);
362 args.size(),
363 args.data(),
381 std::vector<GateRef> args = {currentControl, currentDepend, receiver, accessor, value};
382 AppendFrameArgs(args, hirGate);
385 args.size(),
386 args.data(),
404 std::vector<GateRef> args = { currentControl, currentDepend, receiver, propertyLookupResult, holder };
405 AppendFrameArgs(args, hirGate);
408 args.size(),
409 args.data(),
427 std::vector<GateRef> args = { currentControl, currentDepend, receiver, propertyLookupResult, holder, value };
428 AppendFrameArgs(args, hirGate);
431 args.size(),
432 args.data(),
440 GateRef CircuitBuilder::Float32ArrayConstructor(GateRef hirGate, std::vector<GateRef> args)
446 uint64_t bitfield = args.size();
449 args.insert(args.begin(), currentDepend);
450 args.insert(args.begin(), currentControl);
451 AppendFrameArgs(args, hirGate);
453 MachineType::I64, args.size(), args.data(), GateType::AnyType());
459 GateRef CircuitBuilder::Construct(GateRef hirGate, std::vector<GateRef> args)
465 uint64_t bitfield = args.size();
467 args.insert(args.begin(), currentDepend);
468 args.insert(args.begin(), currentControl);
469 AppendFrameArgs(args, hirGate);
471 args.size(), args.data(), GateType::AnyType());
477 GateRef CircuitBuilder::CallInternal(GateRef hirGate, std::vector<GateRef> args, uint64_t pcOffset)
482 uint64_t bitfield = args.size();
484 args.insert(args.begin(), currentDepend);
485 args.insert(args.begin(), currentControl);
486 AppendFrameArgs(args, hirGate);
488 circuit_->CallInternal(bitfield, pcOffset), MachineType::I64, args.size(), args.data(), GateType::AnyType());
494 GateRef CircuitBuilder::CallNew(GateRef hirGate, std::vector<GateRef> args,
502 uint64_t bitfield = args.size();
505 args.insert(args.begin(), currentDepend);
506 args.insert(args.begin(), currentControl);
507 AppendFrameArgs(args, hirGate);
509 MachineType::I64, args.size(), args.data(), GateType::AnyType());