/external/v8/src/ |
D | signature.h | 20 constexpr Signature(size_t return_count, size_t parameter_count, in Signature() argument 23 parameter_count_(parameter_count), in Signature() 27 size_t parameter_count() const { return parameter_count_; } in parameter_count() function 52 if (parameter_count() != other.parameter_count()) return false; 61 Builder(Zone* zone, size_t return_count, size_t parameter_count) in Builder() argument 63 parameter_count_(parameter_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 | deoptimizer.cc | 536 int parameter_count = in Deoptimizer() local 538 input_ = new (size) FrameDescription(size, parameter_count); in Deoptimizer() 869 int parameter_count = shared->internal_formal_parameter_count() + 1; in DoComputeInterpretedFrame() local 871 FrameDescription(output_frame_size, parameter_count); in DoComputeInterpretedFrame() 891 if (ShouldPadArguments(parameter_count)) { in DoComputeInterpretedFrame() 895 for (int i = 0; i < parameter_count; ++i, ++value_iterator) { in DoComputeInterpretedFrame() 1068 int parameter_count = height; in DoComputeArgumentsAdaptorFrame() local 1069 if (ShouldPadArguments(parameter_count)) height_in_bytes += kPointerSize; in DoComputeArgumentsAdaptorFrame() 1082 FrameDescription(output_frame_size, parameter_count); in DoComputeArgumentsAdaptorFrame() 1101 if (ShouldPadArguments(parameter_count)) { in DoComputeArgumentsAdaptorFrame() [all …]
|
/external/v8/src/interpreter/ |
D | bytecode-register.cc | 36 Register Register::FromParameterIndex(int index, int parameter_count) { in FromParameterIndex() argument 38 DCHECK_LT(index, parameter_count); in FromParameterIndex() 39 int register_index = kLastParamRegisterIndex - parameter_count + index + 1; in FromParameterIndex() 44 int Register::ToParameterIndex(int parameter_count) const { in ToParameterIndex() 46 return index() - kLastParamRegisterIndex + parameter_count - 1; in ToParameterIndex() 114 std::string Register::ToString(int parameter_count) const { in ToString() 120 int parameter_index = ToParameterIndex(parameter_count); in ToString()
|
D | bytecode-decoder.cc | 105 int parameter_count) { in Decode() argument 179 os << reg.ToString(parameter_count); in Decode() 185 os << reg_list.first_register().ToString(parameter_count) << "-" in Decode() 186 << reg_list.last_register().ToString(parameter_count); in Decode() 193 os << reg_list.first_register().ToString(parameter_count) << "-" in Decode() 194 << reg_list.last_register().ToString(parameter_count); in Decode() 210 os << reg_list.first_register().ToString(parameter_count) << "-" in Decode() 211 << reg_list.last_register().ToString(parameter_count); in Decode()
|
D | bytecode-register.h | 29 static Register FromParameterIndex(int index, int parameter_count); 30 int ToParameterIndex(int parameter_count) const; 68 std::string ToString(int parameter_count) const;
|
D | bytecode-register-optimizer.cc | 219 int fixed_registers_count, int parameter_count, in BytecodeRegisterOptimizer() argument 235 DCHECK_NE(parameter_count, 0); in BytecodeRegisterOptimizer() 237 -Register::FromParameterIndex(0, parameter_count).index(); in BytecodeRegisterOptimizer()
|
D | bytecode-array-builder.cc | 41 Zone* zone, int parameter_count, int locals_count, in BytecodeArrayBuilder() argument 50 parameter_count_(parameter_count), in BytecodeArrayBuilder() 61 zone, ®ister_allocator_, fixed_register_count(), parameter_count, in BytecodeArrayBuilder() 70 return Register::FromParameterIndex(parameter_index + 1, parameter_count()); in Parameter() 74 return Register::FromParameterIndex(0, parameter_count()); in Receiver() 98 isolate, register_count, parameter_count(), handler_table); in ToBytecodeArray() 1511 int parameter_index = reg.ToParameterIndex(parameter_count()); in RegisterIsValid() 1512 return parameter_index >= 0 && parameter_index < parameter_count(); in RegisterIsValid()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | comparators.cc | 103 int64 parameter_count = 0; in CreateScalarComparisonComputation() local 114 auto lhs_param = Parameter(b.get(), parameter_count * 2, scalar_shape, in CreateScalarComparisonComputation() 115 absl::StrCat("p.", parameter_count, ".lhs")); in CreateScalarComparisonComputation() 116 auto rhs_param = Parameter(b.get(), parameter_count * 2 + 1, scalar_shape, in CreateScalarComparisonComputation() 117 absl::StrCat("p.", parameter_count, ".rhs")); in CreateScalarComparisonComputation() 118 if (parameter_count == 0) { in CreateScalarComparisonComputation() 122 ++parameter_count; in CreateScalarComparisonComputation()
|
/external/v8/src/compiler/ |
D | linkage.h | 238 size_t ParameterCount() const { return location_sig_->parameter_count(); } in NON_EXPORTED_BASE() 255 size_t InputCount() const { return 1 + location_sig_->parameter_count(); } in NON_EXPORTED_BASE() 378 int parameter_count, in NON_EXPORTED_BASE() 437 static int GetStubCallContextParamIndex(int parameter_count) { in NON_EXPORTED_BASE() 438 return parameter_count + 0; // Parameter (arity + 0) is special. in NON_EXPORTED_BASE() 442 static int GetJSCallNewTargetParamIndex(int parameter_count) { in NON_EXPORTED_BASE() 443 return parameter_count + 0; // Parameter (arity + 0) is special. in NON_EXPORTED_BASE() 447 static int GetJSCallArgCountParamIndex(int parameter_count) { in NON_EXPORTED_BASE() 448 return parameter_count + 1; // Parameter (arity + 1) is special. in NON_EXPORTED_BASE() 452 static int GetJSCallContextParamIndex(int parameter_count) { in NON_EXPORTED_BASE() [all …]
|
D | frame-states.h | 76 FrameStateFunctionInfo(FrameStateType type, int parameter_count, in FrameStateFunctionInfo() argument 80 parameter_count_(parameter_count), in FrameStateFunctionInfo() 85 int parameter_count() const { return parameter_count_; } in parameter_count() function 121 int parameter_count() const { in parameter_count() function 122 return info_ == nullptr ? 0 : info_->parameter_count(); in parameter_count() 154 int parameter_count, Node* outer_frame_state,
|
D | linkage.cc | 236 const size_t parameter_count = function_count + in GetCEntryStubCallDescriptor() local 241 static_cast<size_t>(parameter_count)); in GetCEntryStubCallDescriptor() 294 const size_t parameter_count = in GetJSCallDescriptor() local 297 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetJSCallDescriptor() 350 const size_t parameter_count = in GetStubCallDescriptor() local 354 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetStubCallDescriptor() 413 const int parameter_count = register_parameter_count + stack_parameter_count; in GetBytecodeDispatchCallDescriptor() local 416 LocationSignature::Builder locations(zone, 1, parameter_count); in GetBytecodeDispatchCallDescriptor() 421 for (int i = 0; i < parameter_count; i++) { in GetBytecodeDispatchCallDescriptor() 455 int parameter_count = static_cast<int>(incoming_->JSParameterCount() - 1); in GetOsrValueLocation() local [all …]
|
D | bytecode-analysis.h | 25 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()
|
D | frame-states.cc | 106 Node* closure, Node* context, Node** parameters, int parameter_count, in CreateBuiltinContinuationFrameStateCommon() argument 117 common->StateValues(parameter_count, SparseInputMask::Dense()); in CreateBuiltinContinuationFrameStateCommon() 118 Node* params_node = graph->NewNode(op_param, parameter_count, parameters); in CreateBuiltinContinuationFrameStateCommon() 121 common->CreateFrameStateFunctionInfo(frame_type, parameter_count, 0, in CreateBuiltinContinuationFrameStateCommon() 137 Node* const* parameters, int parameter_count, Node* outer_frame_state, in CreateStubBuiltinContinuationFrameState() argument
|
D | c-linkage.cc | 148 DCHECK_LE(msig->parameter_count(), static_cast<size_t>(kMaxCParameters)); in GetSimplifiedCDescriptor() 151 msig->parameter_count()); in GetSimplifiedCDescriptor() 160 for (size_t i = 0; i < msig->parameter_count(); i++) { in GetSimplifiedCDescriptor() 184 const int parameter_count = static_cast<int>(msig->parameter_count()); in GetSimplifiedCDescriptor() local 200 for (int i = 0; i < parameter_count; i++) { in GetSimplifiedCDescriptor()
|
D | osr.h | 32 static int FirstStackSlotIndex(int parameter_count) { in FirstStackSlotIndex() argument 34 return 1 + parameter_count; // receiver + params in FirstStackSlotIndex()
|
D | js-inlining.cc | 234 int parameter_count, in CreateArtificialFrameState() argument 240 parameter_count + 1, 0, shared); in CreateArtificialFrameState() 247 for (int parameter = 0; parameter < parameter_count + 1; ++parameter) { in CreateArtificialFrameState() 625 int parameter_count = shared_info->internal_formal_parameter_count(); in ReduceJSCall() local 626 DCHECK_EQ(parameter_count, start->op()->ValueOutputCount() - 5); in ReduceJSCall() 627 if (call.formal_arguments() != parameter_count) { in ReduceJSCall()
|
D | osr.cc | 19 info->shared_info()->GetBytecodeArray()->parameter_count()), in OsrHelper()
|
D | bytecode-analysis.cc | 19 BytecodeLoopAssignments::BytecodeLoopAssignments(int parameter_count, in BytecodeLoopAssignments() argument 21 : parameter_count_(parameter_count), in BytecodeLoopAssignments() 23 BitVector(parameter_count + register_count, zone)) {} in BytecodeLoopAssignments() 54 DCHECK_LT(index, parameter_count()); in ContainsParameter() 553 {loop_header, LoopInfo(parent_offset, bytecode_array_->parameter_count(), in PushLoop()
|
D | js-create-lowering.cc | 311 int length = args_state_info.parameter_count() - 1; // Minus receiver. in ReduceJSCreateArguments() 347 int length = args_state_info.parameter_count() - 1; // Minus receiver. in ReduceJSCreateArguments() 386 int argument_count = args_state_info.parameter_count() - 1; in ReduceJSCreateArguments() 1431 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in AllocateArguments() 1455 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in AllocateRestArguments() 1486 int argument_count = state_info.parameter_count() - 1; // Minus receiver. in AllocateAliasedArguments() 1491 int parameter_count = shared.internal_formal_parameter_count(); in AllocateAliasedArguments() local 1492 if (parameter_count == 0) { in AllocateAliasedArguments() 1497 int mapped_count = Min(argument_count, parameter_count); in AllocateAliasedArguments() 1525 int idx = Context::MIN_CONTEXT_SLOTS + parameter_count - 1 - i; in AllocateAliasedArguments() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_computation.cc | 53 int parameter_count = 0; in Build() local 56 parameter_count++; in Build() 64 name_, parameter_count, &instructions_, root, fusion_instruction_)); in Build() 68 const string& name, int parameter_count, in HloComputation() argument 75 param_instructions_.resize(parameter_count, nullptr); in HloComputation() 80 CHECK(param_no >= 0 && param_no < parameter_count) in HloComputation() 82 << parameter_count << "), got " << param_no; in HloComputation() 541 int64 parameter_count = 0; in CreateFromProto() local 548 parameter_count++; in CreateFromProto() 567 std::vector<bool> parameters_seen(parameter_count); in CreateFromProto() [all …]
|
D | hlo_module.cc | 284 module_config.entry_computation_layout().parameter_count()); in CreateFromProto() 382 for (int64 i = 0; i < entry_layout->parameter_count(); ++i) { in CreateModuleConfigFromProto() 418 int64 parameter_count = 0; in OutlineExpressionFromComputation() local 438 parameter_count, old_operand->shape(), "p")); in OutlineExpressionFromComputation() 439 ++parameter_count; in OutlineExpressionFromComputation()
|
D | computation_layout.h | 59 int parameter_count() const { return parameter_layouts_.size(); } in parameter_count() function
|
/external/mesa3d/src/compiler/glsl/ |
D | ast_function.cpp | 1086 const unsigned parameter_count = in process_vec_mat_constructor() local 1089 if (parameter_count == 0 in process_vec_mat_constructor() 1091 constructor_type->vector_elements != parameter_count) in process_vec_mat_constructor() 1093 constructor_type->matrix_columns != parameter_count)) { in process_vec_mat_constructor() 1192 const unsigned parameter_count = in process_array_constructor() local 1196 if ((parameter_count == 0) || in process_array_constructor() 1197 (!is_unsized_array && (constructor_type->length != parameter_count))) { in process_array_constructor() 1211 parameter_count); in process_array_constructor() 1213 assert(constructor_type->length == parameter_count); in process_array_constructor() 1264 parameter_count); in process_array_constructor() [all …]
|
/external/v8/src/runtime/ |
D | runtime-interpreter.cc | 104 bytecode_iterator.bytecode_array()->parameter_count()) in PrintRegisters() 142 bytecode_array->parameter_count()); in RUNTIME_FUNCTION()
|
/external/v8/src/objects/ |
D | scope-info.cc | 140 const int parameter_count = scope->num_parameters(); in Create() local 186 scope_info->SetParameterCount(parameter_count); in Create() 243 for (int i = 0; i < parameter_count; i++) { in Create() 375 const int parameter_count = 0; in CreateForBootstrapping() local 404 scope_info->SetParameterCount(parameter_count); in CreateForBootstrapping() 446 DCHECK_EQ(scope_info->ParameterCount(), parameter_count); in CreateForBootstrapping()
|