Home
last modified time | relevance | path

Searched refs:return_count (Results 1 – 25 of 26) sorted by relevance

12

/external/v8/src/
Dsignature.h20 constexpr Signature(size_t return_count, size_t parameter_count, in Signature() argument
22 : return_count_(return_count), in Signature()
26 size_t return_count() const { return return_count_; } in return_count() function
53 if (return_count() != other.return_count()) return false;
61 Builder(Zone* zone, size_t return_count, size_t parameter_count) in Builder() argument
62 : return_count_(return_count), in Builder()
68 static_cast<int>(return_count + parameter_count))) {} in Builder()
104 size_t hash = base::hash_combine(sig.parameter_count(), sig.return_count()); in hash_value()
Dinterface-descriptors.h104 void InitializePlatformIndependent(Flags flags, int return_count,
117 int return_count() const { return return_count_; } in return_count() function
225 int GetReturnCount() const { return data()->return_count(); } in GetReturnCount()
228 DCHECK_LT(index, data()->return_count()); in GetReturnType()
348 #define DEFINE_RESULT_AND_PARAMETERS(return_count, ...) \ argument
351 static constexpr int kReturnCount = return_count; \
360 #define DEFINE_RESULT_AND_PARAMETERS_NO_CONTEXT(return_count, ...) \ argument
363 static constexpr int kReturnCount = return_count; \
Dinterface-descriptors.cc24 Flags flags, int return_count, int parameter_count, in InitializePlatformIndependent() argument
29 return_count_ = return_count; in InitializePlatformIndependent()
/external/v8/src/compiler/
Dlinkage.cc57 size_t return_count = ReturnCount(); in GetMachineSignature() local
58 MachineType* types = zone->NewArray<MachineType>(param_count + return_count); in GetMachineSignature()
60 for (size_t i = 0; i < return_count; ++i) { in GetMachineSignature()
66 return new (zone) MachineSignature(return_count, param_count, types); in GetMachineSignature()
217 const int return_count = function->result_size; in GetRuntimeCallDescriptor() local
225 return GetCEntryStubCallDescriptor(zone, return_count, js_parameter_count, in GetRuntimeCallDescriptor()
230 Zone* zone, int return_count, int js_parameter_count, in GetCEntryStubCallDescriptor() argument
240 LocationSignature::Builder locations(zone, static_cast<size_t>(return_count), in GetCEntryStubCallDescriptor()
290 const size_t return_count = 1; in GetJSCallDescriptor() local
297 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetJSCallDescriptor()
[all …]
Dc-linkage.cc150 LocationSignature::Builder locations(zone, msig->return_count(), in GetSimplifiedCDescriptor()
155 for (size_t i = 0; i < msig->return_count(); i++) { in GetSimplifiedCDescriptor()
Dlinkage.h235 size_t ReturnCount() const { return location_sig_->return_count(); } in NON_EXPORTED_BASE()
386 Zone* zone, int return_count, int js_parameter_count, in NON_EXPORTED_BASE()
Dwasm-compiler.cc2500 DCHECK_LE(sig->return_count(), 1); in BuildCCall()
2543 size_t ret_count = sig->return_count(); in BuildWasmCall()
3391 Signature<MachineRepresentation>::Builder builder(zone, sig->return_count(), in CreateMachineSignature()
4460 Node* jsval = sig_->return_count() == 0 ? jsgraph()->UndefinedConstant() in BuildJSToWasmWrapper()
4607 Node* val = sig_->return_count() == 0 in BuildWasmToJSWrapper()
4633 DCHECK_GE(wasm::kV8MaxWasmFunctionReturns, sig_->return_count()); in BuildWasmInterpreterEntry()
4637 sig_->return_count() == 0 in BuildWasmInterpreterEntry()
4671 if (sig_->return_count() == 0) { in BuildWasmInterpreterEntry()
4675 DCHECK_EQ(1, sig_->return_count()); in BuildWasmInterpreterEntry()
4729 DCHECK_GE(1, sig_->return_count()); in BuildCWasmEntry()
[all …]
Dint64-lowering.cc109 int result = static_cast<int>(signature->return_count()); in GetReturnCountAfterLowering()
110 for (int i = 0; i < static_cast<int>(signature->return_count()); i++) { in GetReturnCountAfterLowering()
321 if (static_cast<int>(signature()->return_count()) != new_return_count) { in LowerNode()
Dmachine-graph-verifier.cc566 size_t return_count = inferrer_->call_descriptor()->ReturnCount(); in Run() local
567 for (size_t i = 0; i < return_count; i++) { in Run()
Dsimd-scalar-lowering.cc317 int result = static_cast<int>(signature->return_count()); in GetReturnCountAfterLoweringSimd128()
318 for (int i = 0; i < static_cast<int>(signature->return_count()); ++i) { in GetReturnCountAfterLoweringSimd128()
937 if (static_cast<int>(signature()->return_count()) != new_return_count) { in LowerNode()
/external/v8/src/wasm/
Dfunction-body-decoder-impl.h278 return static_cast<uint32_t>(sig->return_count()); in out_arity()
1122 if (sig) return {sig->parameter_count(), sig->return_count()}; in StackEffect()
1154 return {imm.sig->parameter_count(), imm.sig->return_count()}; in StackEffect()
1161 imm.sig->return_count()}; in StackEffect()
1185 return {sig->parameter_count(), sig->return_count()}; in StackEffect()
1419 static_cast<uint32_t>(this->sig_->return_count()), in DecodeFunctionBody()
2082 DCHECK_GE(1, sig->return_count()); in GetReturnType()
2083 return sig->return_count() == 0 ? kWasmStmt : sig->GetReturn(); in GetReturnType()
2241 sig->return_count() == 0 ? nullptr : Push(GetReturnType(sig)); in DecodeSimdOpcode()
2289 int return_count = static_cast<int>(this->sig_->return_count()); in DoReturn() local
[all …]
Dmodule-decoder.cc699 (func->sig->parameter_count() > 0 || func->sig->return_count() > 0)) { in DecodeStartSection()
1366 uint32_t return_count = 0; in consume_sig_internal() local
1372 return_count = consume_count("return count", max_return_count); in consume_sig_internal()
1374 for (uint32_t i = 0; ok() && i < return_count; ++i) { in consume_sig_internal()
1383 ValueType* buffer = zone->NewArray<ValueType>(param_count + return_count); in consume_sig_internal()
1385 for (uint32_t i = 0; i < return_count; ++i) buffer[b++] = returns[i]; in consume_sig_internal()
1388 return new (zone) FunctionSig(return_count, param_count, buffer); in consume_sig_internal()
Dwasm-text.cc60 if (fun->sig->return_count()) { in PrintWasmText()
Dwasm-opcodes.cc363 if (sig.return_count() == 0) os << "v"; in operator <<()
379 return sig->return_count() <= 1; in IsJSCompatibleSignature()
Dfunction-body-decoder.cc800 int return_count = static_cast<int>(sig->return_count()); in DoCall() local
801 for (int i = 0; i < return_count; ++i) { in DoCall()
Dwasm-debug.cc236 DCHECK_GE(kV8MaxWasmFunctionReturns, sig->return_count()); in Execute()
239 if (sig->return_count()) { in Execute()
Dwasm-module-builder.cc331 buffer.write_size(sig->return_count()); in WriteTo()
Dwasm-interpreter.cc760 static_cast<uint32_t>(code->function->sig->return_count()); in SideTable()
2222 size_t arity = code->function->sig->return_count(); in Execute()
2599 code->function->sig->return_count())) in Execute()
2801 if (sig->return_count() > 0) { in CallExternalWasmFunction()
2803 DCHECK_EQ(1, sig->return_count()); in CallExternalWasmFunction()
/external/v8/src/wasm/baseline/
Dliftoff-assembler.cc560 const size_t return_count = sig->return_count(); in FinishCall() local
561 if (return_count != 0) { in FinishCall()
562 DCHECK_EQ(1, return_count); in FinishCall()
Dliftoff-compiler.cc1585 if (imm.sig->return_count() > 1) in CallDirect()
1587 if (imm.sig->return_count() == 1 && in CallDirect()
1650 if (imm.sig->return_count() > 1) { in CallIndirect()
1653 if (imm.sig->return_count() == 1 && in CallIndirect()
/external/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp1069 assert(Sig->return_count() <= 1); in CallDirect()
1074 auto *Dest = Sig->return_count() > 0 in CallDirect()
1108 assert(Sig->return_count() <= 1); in CallImport()
1112 auto *Dest = Sig->return_count() > 0 in CallImport()
1144 const bool HasReturn = Module->signatures[SigIndex]->return_count() != 0; in CallIndirect()
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h880 if (sig->return_count() > 0) { in CallC()
881 DCHECK_EQ(1, sig->return_count()); in CallC()
/external/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h1178 if (sig->return_count() > 0) { in CallC()
1179 DCHECK_EQ(1, sig->return_count()); in CallC()
/external/v8/src/wasm/baseline/mips/
Dliftoff-assembler-mips.h1314 if (sig->return_count() > 0) { in CallC()
1315 DCHECK_EQ(1, sig->return_count()); in CallC()
/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h1392 if (sig->return_count() > 0) { in CallC()
1393 DCHECK_EQ(1, sig->return_count()); in CallC()

12