Home
last modified time | relevance | path

Searched refs:parameter_count (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/skia/third_party/externals/tint/src/
Dtraits_test.cc38 static_assert(SignatureOfT<decltype(&F1)>::parameter_count == 1, ""); in TEST()
39 static_assert(SignatureOfT<decltype(&F3)>::parameter_count == 3, ""); in TEST()
58 static_assert(SignatureOfT<decltype(&C::F1)>::parameter_count == 1, ""); in TEST()
59 static_assert(SignatureOfT<decltype(&C::F3)>::parameter_count == 3, ""); in TEST()
78 static_assert(SignatureOfT<decltype(&C::F1)>::parameter_count == 1, ""); in TEST()
79 static_assert(SignatureOfT<decltype(&C::F3)>::parameter_count == 3, ""); in TEST()
98 static_assert(SignatureOfT<decltype(&C::F1)>::parameter_count == 1, ""); in TEST()
99 static_assert(SignatureOfT<decltype(&C::F3)>::parameter_count == 3, ""); in TEST()
111 static_assert(SignatureOfT<F1>::parameter_count == 1, ""); in TEST()
112 static_assert(SignatureOfT<F3>::parameter_count == 3, ""); in TEST()
[all …]
/third_party/node/deps/v8/src/compiler/
Dframe-states.h87 FrameStateFunctionInfo(FrameStateType type, int parameter_count, in FrameStateFunctionInfo() argument
91 parameter_count_(parameter_count), in FrameStateFunctionInfo()
96 int parameter_count() const { return parameter_count_; } in parameter_count() function
116 JSToWasmFrameStateFunctionInfo(FrameStateType type, int parameter_count, in JSToWasmFrameStateFunctionInfo() argument
120 : FrameStateFunctionInfo(type, parameter_count, local_count, shared_info), in JSToWasmFrameStateFunctionInfo()
151 int parameter_count() const { in parameter_count() function
152 return info_ == nullptr ? 0 : info_->parameter_count(); in parameter_count()
178 int parameter_count, Node* outer_frame_state,
Dlinkage.cc212 int parameter_count = static_cast<int>(ParameterCount()); in ToEncodedCSignature() local
213 EncodedCSignature sig(parameter_count); in ToEncodedCSignature()
214 CHECK_LT(parameter_count, EncodedCSignature::kInvalidParamCount); in ToEncodedCSignature()
216 for (int i = 0; i < parameter_count; ++i) { in ToEncodedCSignature()
329 const size_t parameter_count = function_count + in GetCEntryStubCallDescriptor() local
334 static_cast<size_t>(parameter_count)); in GetCEntryStubCallDescriptor()
388 const size_t parameter_count = in GetJSCallDescriptor() local
391 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetJSCallDescriptor()
448 const size_t parameter_count = in GetStubCallDescriptor() local
454 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetStubCallDescriptor()
[all …]
Dlinkage.h324 size_t ParameterCount() const { return location_sig_->parameter_count(); } in NON_EXPORTED_BASE()
366 size_t InputCount() const { return 1 + location_sig_->parameter_count(); } in NON_EXPORTED_BASE()
515 int parameter_count, in NON_EXPORTED_BASE()
575 static int GetStubCallContextParamIndex(int parameter_count) { in NON_EXPORTED_BASE()
576 return parameter_count + 0; // Parameter (arity + 0) is special. in NON_EXPORTED_BASE()
580 static constexpr int GetJSCallNewTargetParamIndex(int parameter_count) { in NON_EXPORTED_BASE()
581 return parameter_count + 0; // Parameter (arity + 0) is special. in NON_EXPORTED_BASE()
585 static constexpr int GetJSCallArgCountParamIndex(int parameter_count) { in NON_EXPORTED_BASE()
586 return parameter_count + 1; // Parameter (arity + 1) is special. in NON_EXPORTED_BASE()
590 static constexpr int GetJSCallContextParamIndex(int parameter_count) { in NON_EXPORTED_BASE()
[all …]
Dframe-states.cc115 Node* context, Node** parameters, int parameter_count, in CreateBuiltinContinuationFrameStateCommon() argument
123 common->StateValues(parameter_count, SparseInputMask::Dense()); in CreateBuiltinContinuationFrameStateCommon()
124 Node* params_node = graph->NewNode(op_param, parameter_count, parameters); in CreateBuiltinContinuationFrameStateCommon()
130 frame_type, parameter_count, 0, shared, signature) in CreateBuiltinContinuationFrameStateCommon()
132 frame_type, parameter_count, 0, shared); in CreateBuiltinContinuationFrameStateCommon()
136 common->CreateFrameStateFunctionInfo(frame_type, parameter_count, 0, in CreateBuiltinContinuationFrameStateCommon()
151 int parameter_count, Node* outer_frame_state, in CreateStubBuiltinContinuationFrameState() argument
Dbytecode-analysis.h25 BytecodeLoopAssignments(int parameter_count, int register_count, Zone* zone);
34 int parameter_count() const { return parameter_count_; } in parameter_count() function
70 LoopInfo(int parent_offset, int parameter_count, int register_count, in LoopInfo()
73 assignments_(parameter_count, register_count, zone), in LoopInfo()
Dosr.h32 static int FirstStackSlotIndex(int parameter_count) { in FirstStackSlotIndex() argument
34 return 1 + parameter_count; // receiver + params in FirstStackSlotIndex()
Dc-linkage.cc157 for (size_t i = 0; i < msig->parameter_count(); i++) { in BuildParameterLocations()
194 for (size_t i = 0; i < msig->parameter_count(); i++) { in BuildParameterLocations()
228 DCHECK_LE(msig->parameter_count(), static_cast<size_t>(kMaxCParameters)); in GetSimplifiedCDescriptor()
231 msig->parameter_count()); in GetSimplifiedCDescriptor()
235 for (size_t i = 0; i < msig->parameter_count(); i++) { in GetSimplifiedCDescriptor()
Djs-inlining.cc97 static_cast<int>(n.Parameters().signature()->parameter_count())); in InlineJSWasmCall()
251 Node* node, FrameState outer_frame_state, int parameter_count, in CreateArtificialFrameState() argument
255 parameter_count + JSCallOrConstructNode::kReceiverOrNewTargetInputCount; in CreateArtificialFrameState()
268 for (int i = 0; i < parameter_count; i++) { in CreateArtificialFrameState()
719 int parameter_count = in ReduceJSCall() local
721 DCHECK_EQ(parameter_count, start.FormalParameterCountWithoutReceiver()); in ReduceJSCall()
722 if (call.argument_count() != parameter_count) { in ReduceJSCall()
Djs-create-lowering.cc273 int length = args_state_info.parameter_count() - 1; // Minus receiver. in ReduceJSCreateArguments()
313 int length = args_state_info.parameter_count() - 1; // Minus receiver. in ReduceJSCreateArguments()
363 int argument_count = args_state_info.parameter_count() - 1; in ReduceJSCreateArguments()
1430 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in TryAllocateArguments()
1459 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in TryAllocateRestArguments()
1491 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in TryAllocateAliasedArguments()
1496 int parameter_count = in TryAllocateAliasedArguments() local
1498 if (parameter_count == 0) { in TryAllocateAliasedArguments()
1503 int mapped_count = std::min(argument_count, parameter_count); in TryAllocateAliasedArguments()
1547 int idx = shared.context_parameters_start() + parameter_count - 1 - i; in TryAllocateAliasedArguments()
[all …]
Dosr.cc18 : parameter_count_(info->bytecode_array()->parameter_count()), in OsrHelper()
/third_party/node/deps/v8/src/codegen/
Dsignature.h20 constexpr Signature(size_t return_count, size_t parameter_count, in Signature() argument
23 parameter_count_(parameter_count), in Signature()
32 size_t parameter_count() const { return parameter_count_; } in parameter_count() function
57 if (parameter_count() != other.parameter_count()) return false;
66 Builder(Zone* zone, size_t return_count, size_t parameter_count) in Builder() argument
68 parameter_count_(parameter_count), in Builder()
73 static_cast<int>(return_count + parameter_count))) {} in Builder()
133 size_t seed = base::hash_value(sig.parameter_count()); in hash_value()
Dinterface-descriptors.cc14 Flags flags, int return_count, int parameter_count, in InitializeRegisters() argument
39 param_count_ = parameter_count; in InitializeRegisters()
/third_party/node/deps/v8/src/maglev/
Dmaglev-register-frame-array.h30 interpreter::Register::FromParameterIndex(info.parameter_count() - 1); in RegisterFrameArray()
55 interpreter::Register::FromParameterIndex(info.parameter_count() - 1); in CopyFrom()
82 static int DataSize(int register_count, int parameter_count) { in DataSize() argument
91 interpreter::Register::FromParameterIndex(parameter_count - 1); in DataSize()
95 T* data_begin(int parameter_count) const { in data_begin() argument
97 interpreter::Register::FromParameterIndex(parameter_count - 1) in data_begin()
Dmaglev-interpreter-frame-state.h101 for (int i = 0; i < info.parameter_count(); i++) { in ForEachParameter()
109 for (int i = 0; i < info.parameter_count(); i++) { in ForEachParameter()
120 f(live_registers_and_accumulator_[info.parameter_count() + live_reg++], in ForEachLocal()
130 f(live_registers_and_accumulator_[info.parameter_count() + live_reg++], in ForEachLocal()
179 return info.parameter_count() + liveness->live_value_count(); in SizeFor()
Dmaglev-code-gen-state.h63 int parameter_count() const { return compilation_unit_->parameter_count(); } in parameter_count() function
Dmaglev-graph-processor.h62 int parameter_count() const { return compilation_unit_->parameter_count(); } in parameter_count() function
/third_party/node/deps/v8/src/execution/
Dencoded-c-signature.h26 EncodedCSignature(uint32_t bitfield, int parameter_count) in EncodedCSignature()
27 : bitfield_(bitfield), parameter_count_(parameter_count) {} in EncodedCSignature()
28 explicit EncodedCSignature(int parameter_count) in EncodedCSignature()
29 : parameter_count_(parameter_count) {} in EncodedCSignature()
/third_party/node/deps/v8/src/deoptimizer/
Ddeoptimized-frame-info.cc29 int parameter_count = in DeoptimizedFrameInfo() local
37 DCHECK_EQ(parameter_count, in DeoptimizedFrameInfo()
47 parameters_.resize(static_cast<size_t>(parameter_count)); in DeoptimizedFrameInfo()
48 for (int i = 0; i < parameter_count; i++) { in DeoptimizedFrameInfo()
Dframe-description.h60 FrameDescription(uint32_t frame_size, int parameter_count) in FrameDescription() argument
62 parameter_count_(parameter_count), in FrameDescription()
114 int parameter_slots = parameter_count();
175 int parameter_count() { return parameter_count_; } in parameter_count() function
/third_party/node/deps/v8/src/wasm/
Dwasm-objects.cc1420 static_cast<int>(function.sig->parameter_count()), wrapper)); in GetOrCreateWasmInternalFunction()
1632 DCHECK_LE(sig->parameter_count(), std::numeric_limits<int>::max()); in New()
1633 int sig_size = static_cast<int>(sig->parameter_count()); in New()
1653 DCHECK_LE(sig->parameter_count(), std::numeric_limits<int>::max()); in MatchesSignature()
1654 int sig_size = static_cast<int>(sig->parameter_count()); in MatchesSignature()
1667 int param_count = static_cast<int>(sig->parameter_count()); in MatchesSignature()
1848 for (size_t i = 0; i < sig->parameter_count(); ++i) { in GetEncodedSize()
2033 if (sig->parameter_count() != other_sig->parameter_count() || in MatchesSignature()
2073 int parameter_count = static_cast<int>(sig->parameter_count()); in New() local
2098 call_target, callable, return_count, parameter_count, serialized_sig, in New()
[all …]
Dwasm-subtyping.cc81 if (sub_func->parameter_count() != super_func->parameter_count() || in ValidFunctionSubtypeDefinition()
86 for (uint32_t i = 0; i < sub_func->parameter_count(); i++) { in ValidFunctionSubtypeDefinition()
/third_party/node/deps/v8/src/builtins/
Dbuiltins.cc58 constexpr KindSpecificData(int parameter_count, in KindSpecificData() argument
60 : parameter_count(static_cast<int16_t>(parameter_count)) {} in KindSpecificData()
65 int16_t parameter_count; // For TFJ builtins. member
205 return builtin_metadata[ToInt(builtin)].data.parameter_count; in GetStackParameterCount()
/third_party/mesa3d/src/compiler/glsl/
Dast_function.cpp1203 const unsigned parameter_count = in process_vec_mat_constructor() local
1206 if (parameter_count == 0 in process_vec_mat_constructor()
1208 constructor_type->vector_elements != parameter_count) in process_vec_mat_constructor()
1210 constructor_type->matrix_columns != parameter_count)) { in process_vec_mat_constructor()
1308 const unsigned parameter_count = in process_array_constructor() local
1312 if ((parameter_count == 0) || in process_array_constructor()
1313 (!is_unsized_array && (constructor_type->length != parameter_count))) { in process_array_constructor()
1327 parameter_count); in process_array_constructor()
1329 assert(constructor_type->length == parameter_count); in process_array_constructor()
1380 parameter_count); in process_array_constructor()
[all …]
/third_party/node/deps/v8/src/interpreter/
Dbytecode-array-writer.cc42 IsolateT* isolate, int register_count, int parameter_count, in ToBytecodeArray() argument
51 bytecode_size, &bytecodes()->front(), frame_size, parameter_count, in ToBytecodeArray()
59 Isolate* isolate, int register_count, int parameter_count,
63 LocalIsolate* isolate, int register_count, int parameter_count,

12345