/external/v8/src/ |
D | signature.h | 20 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()
|
D | interface-descriptors.h | 104 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; \
|
D | interface-descriptors.cc | 24 Flags flags, int return_count, int parameter_count, in InitializePlatformIndependent() argument 29 return_count_ = return_count; in InitializePlatformIndependent()
|
/external/v8/src/compiler/ |
D | linkage.cc | 57 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 …]
|
D | c-linkage.cc | 150 LocationSignature::Builder locations(zone, msig->return_count(), in GetSimplifiedCDescriptor() 155 for (size_t i = 0; i < msig->return_count(); i++) { in GetSimplifiedCDescriptor()
|
D | linkage.h | 235 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()
|
D | wasm-compiler.cc | 2500 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 …]
|
D | int64-lowering.cc | 109 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()
|
D | machine-graph-verifier.cc | 566 size_t return_count = inferrer_->call_descriptor()->ReturnCount(); in Run() local 567 for (size_t i = 0; i < return_count; i++) { in Run()
|
D | simd-scalar-lowering.cc | 317 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/ |
D | function-body-decoder-impl.h | 278 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 …]
|
D | module-decoder.cc | 699 (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()
|
D | wasm-text.cc | 60 if (fun->sig->return_count()) { in PrintWasmText()
|
D | wasm-opcodes.cc | 363 if (sig.return_count() == 0) os << "v"; in operator <<() 379 return sig->return_count() <= 1; in IsJSCompatibleSignature()
|
D | function-body-decoder.cc | 800 int return_count = static_cast<int>(sig->return_count()); in DoCall() local 801 for (int i = 0; i < return_count; ++i) { in DoCall()
|
D | wasm-debug.cc | 236 DCHECK_GE(kV8MaxWasmFunctionReturns, sig->return_count()); in Execute() 239 if (sig->return_count()) { in Execute()
|
D | wasm-module-builder.cc | 331 buffer.write_size(sig->return_count()); in WriteTo()
|
D | wasm-interpreter.cc | 760 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/ |
D | liftoff-assembler.cc | 560 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()
|
D | liftoff-compiler.cc | 1585 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/ |
D | WasmTranslator.cpp | 1069 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/ |
D | liftoff-assembler-arm64.h | 880 if (sig->return_count() > 0) { in CallC() 881 DCHECK_EQ(1, sig->return_count()); in CallC()
|
/external/v8/src/wasm/baseline/mips64/ |
D | liftoff-assembler-mips64.h | 1178 if (sig->return_count() > 0) { in CallC() 1179 DCHECK_EQ(1, sig->return_count()); in CallC()
|
/external/v8/src/wasm/baseline/mips/ |
D | liftoff-assembler-mips.h | 1314 if (sig->return_count() > 0) { in CallC() 1315 DCHECK_EQ(1, sig->return_count()); in CallC()
|
/external/v8/src/wasm/baseline/x64/ |
D | liftoff-assembler-x64.h | 1392 if (sig->return_count() > 0) { in CallC() 1393 DCHECK_EQ(1, sig->return_count()); in CallC()
|