/third_party/node/deps/v8/src/codegen/ |
D | signature.h | 20 constexpr Signature(size_t return_count, size_t parameter_count, in Signature() argument 22 : return_count_(return_count), in Signature() 31 size_t return_count() const { return return_count_; } in return_count() function 58 if (return_count() != other.return_count()) return false; 66 Builder(Zone* zone, size_t return_count, size_t parameter_count) in Builder() argument 67 : return_count_(return_count), in Builder() 73 static_cast<int>(return_count + parameter_count))) {} in Builder()
|
D | interface-descriptors.cc | 14 Flags flags, int return_count, int parameter_count, in InitializeRegisters() argument 38 return_count_ = return_count; in InitializeRegisters()
|
D | interface-descriptors.h | 175 void InitializeRegisters(Flags flags, int return_count, int parameter_count, 198 int return_count() const { return return_count_; } in return_count() function 337 int GetReturnCount() const { return data()->return_count(); } in GetReturnCount() 340 DCHECK_LT(index, data()->return_count()); in GetReturnType() 564 #define DEFINE_RESULT_AND_PARAMETERS(return_count, ...) \ argument 565 static constexpr int kReturnCount = return_count; \ 607 #define DEFINE_RESULT_AND_PARAMETERS_NO_CONTEXT(return_count, ...) \ argument 608 DEFINE_RESULT_AND_PARAMETERS(return_count, ##__VA_ARGS__) \
|
/third_party/node/deps/v8/src/compiler/ |
D | linkage.cc | 74 size_t return_count = ReturnCount(); in GetMachineSignature() local 75 MachineType* types = zone->NewArray<MachineType>(param_count + return_count); in GetMachineSignature() 77 for (size_t i = 0; i < return_count; ++i) { in GetMachineSignature() 83 return zone->New<MachineSignature>(return_count, param_count, types); in GetMachineSignature() 310 const int return_count = function->result_size; in GetRuntimeCallDescriptor() local 318 return GetCEntryStubCallDescriptor(zone, return_count, js_parameter_count, in GetRuntimeCallDescriptor() 323 Zone* zone, int return_count, int js_parameter_count, in GetCEntryStubCallDescriptor() argument 333 LocationSignature::Builder locations(zone, static_cast<size_t>(return_count), in GetCEntryStubCallDescriptor() 384 const size_t return_count = 1; in GetJSCallDescriptor() local 391 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetJSCallDescriptor() [all …]
|
D | wasm-inlining.cc | 182 CHECK_EQ(specialized_sig->return_count(), formal_sig->return_count()); in Finalize() 187 for (size_t i = 0; i < specialized_sig->return_count(); i++) { in Finalize() 388 int return_arity = static_cast<int>(inlinee_sig->return_count()); in InlineCall() 463 int const return_count = static_cast<int>(return_nodes.size()); in InlineCall() local 470 Node* control_output = graph()->NewNode(common()->Merge(return_count), in InlineCall() 471 return_count, &controls.front()); in InlineCall() 474 graph()->NewNode(common()->EffectPhi(return_count), in InlineCall() 495 common()->Phi(repr, return_count), in InlineCall()
|
D | wasm-compiler.cc | 165 : result_needs_conversion_(wasm_signature->return_count() == 1 && in JSWasmCallData() 2979 DCHECK_LE(sig->return_count(), 1); in BuildCCall() 3040 size_t ret_count = sig->return_count(); in BuildWasmCall() 4356 Signature<MachineRepresentation>::Builder builder(zone, sig->return_count(), in CreateMachineSignature() 6788 mcgraph()->Uint32Constant(static_cast<uint32_t>(sig->return_count()))); in BuildMultiReturnFixedArrayFromIterable() 6809 const int rets_count = static_cast<int>(sig_->return_count()); in BuildCallAndReturn() 6841 if (sig_->return_count() == 0) { in BuildCallAndReturn() 6843 } else if (sig_->return_count() == 1) { in BuildCallAndReturn() 6848 int32_t return_count = static_cast<int32_t>(sig_->return_count()); in BuildCallAndReturn() local 6849 Node* size = gasm_->NumberConstant(return_count); in BuildCallAndReturn() [all …]
|
D | linkage.h | 319 size_t ReturnCount() const { return location_sig_->return_count(); } in NON_EXPORTED_BASE() 523 Zone* zone, int return_count, int js_parameter_count, in NON_EXPORTED_BASE()
|
D | c-linkage.cc | 230 LocationSignature::Builder locations(zone, msig->return_count(), in GetSimplifiedCDescriptor()
|
D | int64-lowering.cc | 115 int result = static_cast<int>(signature->return_count()); in GetReturnCountAfterLowering() 116 for (int i = 0; i < static_cast<int>(signature->return_count()); i++) { in GetReturnCountAfterLowering() 355 if (static_cast<int>(signature()->return_count()) != new_return_count) { in LowerNode()
|
/third_party/node/deps/v8/src/wasm/ |
D | value-type.cc | 15 if (wasm_signature->return_count() == 0) { in WasmReturnTypeFromSignature() 18 DCHECK_EQ(wasm_signature->return_count(), 1); in WasmReturnTypeFromSignature()
|
D | wasm-subtyping.cc | 82 sub_func->return_count() != super_func->return_count()) { in ValidFunctionSubtypeDefinition() 93 for (uint32_t i = 0; i < sub_func->return_count(); i++) { in ValidFunctionSubtypeDefinition()
|
D | wasm-objects.cc | 1631 DCHECK_EQ(0, sig->return_count()); in New() 1652 DCHECK_EQ(0, sig->return_count()); in MatchesSignature() 1668 int result_count = static_cast<int>(sig->return_count()); in MatchesSignature() 2034 sig->return_count() != other_sig->return_count()) { in MatchesSignature() 2072 int return_count = static_cast<int>(sig->return_count()); in New() local 2098 call_target, callable, return_count, parameter_count, serialized_sig, in New() 2163 int return_count = function_data.serialized_return_count(); in GetSignature() local 2165 return zone->New<wasm::FunctionSig>(return_count, parameter_count, types); in GetSignature() 2172 int return_count = static_cast<int>(sig->return_count()); in MatchesSignatureForSuspend() local 2185 1, expected + return_count, parameter_count); in MatchesSignatureForSuspend() [all …]
|
D | wasm-opcodes.cc | 19 if (sig.return_count() == 0) os << "v"; in operator <<()
|
D | graph-builder-interface.cc | 485 uint32_t ret_count = static_cast<uint32_t>(decoder->sig_->return_count()); in DoReturn() 715 decoder->zone()->NewArray<Value>(sig->return_count()); in CallRef() 724 Value* returns_ref = decoder->zone()->NewArray<Value>(sig->return_count()); in CallRef() 741 for (uint32_t i = 0; i < sig->return_count(); i++) { in CallRef() 1693 size_t return_count = sig->return_count(); in DoCall() local 1696 FunctionSig::Builder real_sig_builder(builder_->graph_zone(), return_count, in DoCall() 1701 for (size_t i = 0; i < return_count; i++) { in DoCall() 1707 base::SmallVector<TFNode*, 1> return_nodes(return_count); in DoCall() 1738 for (size_t i = 0; i < return_count; ++i) { in DoCall() 1754 sig->return_count(), arg_count); in DoReturnCall() [all …]
|
D | function-body-decoder-impl.h | 555 return static_cast<uint32_t>(sig->return_count()); in out_arity() 1312 if (sig_->return_count() != target_sig->return_count()) return false; 1938 if (sig) return {sig->parameter_count(), sig->return_count()}; 1978 return {imm.sig->parameter_count(), imm.sig->return_count()}; 1985 imm.sig->return_count()}; 1990 DCHECK_EQ(0, imm.tag->sig->return_count()); 2037 return {sig->parameter_count(), sig->return_count()}; 2364 static_cast<uint32_t>(this->sig_->return_count()), 2370 DCHECK_EQ(this->sig_->return_count(), 1); 3712 DCHECK_GE(1, sig->return_count()); [all …]
|
D | canonical-types.cc | 109 FunctionSig::Builder builder(&zone_, original_sig->return_count(), in CanonicalizeTypeDef()
|
D | module-decoder.cc | 1072 (func->sig->parameter_count() > 0 || func->sig->return_count() > 0)) { in DecodeStartSection() 1707 if (*sig && (*sig)->return_count() != 0) { in consume_tag_sig_index() 2015 uint32_t return_count = in consume_sig() local 2018 for (uint32_t i = 0; ok() && i < return_count; ++i) { in consume_sig() 2024 ValueType* buffer = zone->NewArray<ValueType>(param_count + return_count); in consume_sig() 2026 for (uint32_t i = 0; i < return_count; ++i) buffer[b++] = returns[i]; in consume_sig() 2029 return zone->New<FunctionSig>(return_count, param_count, buffer); in consume_sig()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_shader_args.c | 58 assert(info->return_count < AC_MAX_ARGS); in ac_add_return() 69 info->return_count++; in ac_add_return()
|
D | ac_shader_args.h | 73 uint16_t return_count; member
|
/third_party/node/deps/v8/src/maglev/ |
D | maglev-code-generator.cc | 399 const int return_count = 0; in EmitEagerDeopt() local 402 code_gen_state_.register_count(), return_offset, return_count); in EmitEagerDeopt() 439 int return_count = 1; in EmitLazyDeopt() local 442 code_gen_state_.register_count(), return_offset, return_count); in EmitLazyDeopt()
|
/third_party/node/deps/v8/src/wasm/baseline/ |
D | liftoff-assembler.cc | 1160 if (sig->return_count() == 1) { in MoveToReturnLocations() 1189 DCHECK_LE(sig->return_count(), cache_state_.stack_height()); in MoveToReturnLocations() 1190 VarState* slots = cache_state_.stack_state.end() - sig->return_count(); in MoveToReturnLocations() 1193 for (size_t i = 0; i < sig->return_count(); ++i) { in MoveToReturnLocations() 1213 for (size_t i = 0; i < sig->return_count(); ++i) { in MoveToReturnLocations()
|
/third_party/node/deps/v8/src/builtins/x64/ |
D | builtins-x64.cc | 3104 Register valuetypes_array_ptr, Register return_count, in LoadValueTypesArray() argument 3117 __ movq(return_count, in LoadValueTypesArray() 3249 Register return_count = r8; in GenericJSToWasmWrapperHelper() local 3251 LoadValueTypesArray(masm, function_data, valuetypes_array_ptr, return_count, in GenericJSToWasmWrapperHelper() 3265 __ movq(MemOperand(rbp, kReturnCountOffset), return_count); in GenericJSToWasmWrapperHelper() 3376 Register returns_size = return_count; in GenericJSToWasmWrapperHelper() 3377 return_count = no_reg; in GenericJSToWasmWrapperHelper() 3436 return_count = current_param; in GenericJSToWasmWrapperHelper() 3438 __ movq(return_count, MemOperand(rbp, kReturnCountOffset)); in GenericJSToWasmWrapperHelper() 3439 returns_size = return_count; in GenericJSToWasmWrapperHelper() [all …]
|
/third_party/skia/third_party/externals/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()
|
/third_party/node/deps/v8/src/interpreter/ |
D | interpreter-assembler.cc | 970 int return_count) { in CallRuntimeN() argument 973 Callable callable = CodeFactory::InterpreterCEntry(isolate(), return_count); in CallRuntimeN() 993 const RegListNodePair& args, int return_count); 998 int return_count);
|
/third_party/node/deps/v8/src/compiler/backend/ |
D | code-generator.cc | 1064 int return_count = 0; in BuildTranslationForFrameStateDescriptor() local 1067 return_count = static_cast<int>(iter->instruction()->OutputCount()); in BuildTranslationForFrameStateDescriptor() 1070 return_offset, return_count); in BuildTranslationForFrameStateDescriptor()
|