/external/v8/src/ |
D | signature.h | 17 Signature(size_t return_count, size_t parameter_count, T* reps) in Signature() argument 18 : return_count_(return_count), in Signature() 22 size_t return_count() const { return return_count_; } in return_count() function 38 Builder(Zone* zone, size_t return_count, size_t parameter_count) in Builder() argument 39 : return_count_(return_count), in Builder() 45 static_cast<int>(return_count + parameter_count))) {} in Builder()
|
/external/v8/src/compiler/ |
D | linkage.cc | 233 const size_t return_count = static_cast<size_t>(function->result_size); in GetRuntimeCallDescriptor() local 235 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetRuntimeCallDescriptor() 236 MachineSignature::Builder types(zone, return_count, parameter_count); in GetRuntimeCallDescriptor() 245 for (size_t i = 0; i < return_count; i++) { in GetRuntimeCallDescriptor() 291 const size_t return_count = 0; in GetLazyBailoutDescriptor() local 294 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetLazyBailoutDescriptor() 295 MachineSignature::Builder types(zone, return_count, parameter_count); in GetLazyBailoutDescriptor() 318 const size_t return_count = 1; in GetJSCallDescriptor() local 325 LocationSignature::Builder locations(zone, return_count, parameter_count); in GetJSCallDescriptor() 326 MachineSignature::Builder types(zone, return_count, parameter_count); in GetJSCallDescriptor() [all …]
|
D | raw-machine-assembler.cc | 160 int return_count = static_cast<int>(descriptor->ReturnCount()); in CallRuntime1() local 162 Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); in CallRuntime1() 175 int return_count = static_cast<int>(descriptor->ReturnCount()); in CallRuntime2() local 177 Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); in CallRuntime2() 192 int return_count = static_cast<int>(descriptor->ReturnCount()); in CallRuntime4() local 194 Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); in CallRuntime4() 229 int return_count = static_cast<int>(desc->ReturnCount()); in TailCallRuntime1() local 231 Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); in TailCallRuntime1() 253 int return_count = static_cast<int>(desc->ReturnCount()); in TailCallRuntime2() local 255 Node* centry = HeapConstant(CEntryStub(isolate(), return_count).GetCode()); in TailCallRuntime2()
|
D | wasm-linkage.cc | 198 MachineSignature::Builder msig(zone, fsig->return_count(), in GetWasmCallDescriptor() 200 LocationSignature::Builder locations(zone, fsig->return_count(), in GetWasmCallDescriptor() 225 const int return_count = static_cast<int>(locations.return_count_); in GetWasmCallDescriptor() local 226 for (int i = 0; i < return_count; i++) { in GetWasmCallDescriptor()
|
D | linkage.h | 181 DCHECK(machine_sig->return_count() == location_sig->return_count()); in kind_() 199 size_t ReturnCount() const { return machine_sig_->return_count(); } in ReturnCount() 323 size_t return_count = 1);
|
D | c-linkage.cc | 137 LocationSignature::Builder locations(zone, msig->return_count(), in GetSimplifiedCDescriptor() 144 for (size_t i = 0; i < msig->return_count(); i++) { in GetSimplifiedCDescriptor()
|
D | wasm-compiler.cc | 231 if (builder_->GetFunctionSignature()->return_count() > 0) { in BuildTrapCode() 1553 sig->return_count() == 0 ? wasm::kAstStmt : sig->GetReturn()); in BuildJSToWasmWrapper() 1626 sig->return_count() == 0 ? wasm::kAstStmt : sig->GetReturn()); in BuildWasmToJSWrapper()
|
D | simplified-lowering.cc | 770 if (sig->return_count() > 0) { in VisitCall()
|
/external/v8/test/cctest/compiler/ |
D | test-multiple-return.cc | 26 CallDescriptor* GetCallDescriptor(Zone* zone, int return_count, in GetCallDescriptor() argument 28 MachineSignature::Builder msig(zone, return_count, param_count); in GetCallDescriptor() 29 LocationSignature::Builder locations(zone, return_count, param_count); in GetCallDescriptor() 34 CHECK(return_count <= config->num_allocatable_general_registers()); in GetCallDescriptor() 35 for (int i = 0; i < return_count; i++) { in GetCallDescriptor()
|
D | c-signature.h | 50 CSignature(size_t return_count, size_t parameter_count, MachineType* reps) in FOREACH_CTYPE_MACHINE_TYPE_MAPPING() 51 : MachineSignature(return_count, parameter_count, reps) {} in FOREACH_CTYPE_MACHINE_TYPE_MAPPING() 84 size_t return_count = 0; in FOREACH_CTYPE_MACHINE_TYPE_MAPPING() local 87 return_count++; in FOREACH_CTYPE_MACHINE_TYPE_MAPPING() 103 CHECK_NE(MachineType::None(), buffer[return_count + i]); in FOREACH_CTYPE_MACHINE_TYPE_MAPPING() 105 return new (zone) CSignature(return_count, param_count, buffer); in FOREACH_CTYPE_MACHINE_TYPE_MAPPING()
|
D | test-run-native-calls.cc | 179 LocationSignature::Builder locations(zone, msig->return_count(), in Create() 182 const int return_count = static_cast<int>(locations.return_count_); in Create() local 183 for (int i = 0; i < return_count; i++) { in Create()
|
/external/autotest/client/common_lib/cros/graphite/ |
D | es_utils.py | 418 return_count = len(result['hits']['hits']) 420 if total_match > return_count and size != 1: 423 return_count, size)
|
/external/v8/test/unittests/wasm/ |
D | module-decoder-unittest.cc | 258 EXPECT_EQ(0, result.val->signatures->at(0)->return_count()); in TEST_F() 259 EXPECT_EQ(1, result.val->signatures->at(1)->return_count()); in TEST_F() 260 EXPECT_EQ(1, result.val->signatures->at(2)->return_count()); in TEST_F() 731 EXPECT_EQ(0, sig->return_count()); in TEST_F() 744 EXPECT_EQ(1, sig->return_count()); in TEST_F() 759 EXPECT_EQ(0, sig->return_count()); in TEST_F() 778 EXPECT_EQ(1, sig->return_count()); in TEST_F() 800 EXPECT_EQ(1, sig->return_count()); in TEST_F() 867 EXPECT_EQ(0, function->sig->return_count()); in TEST_F()
|
/external/v8/src/wasm/ |
D | encoder.cc | 375 if (a->return_count() < b->return_count()) return -1; in operator ()() 376 if (a->return_count() > b->return_count()) return 1; in operator ()() 379 for (size_t r = 0; r < a->return_count(); r++) { in operator ()() 529 if (sig->return_count() > 0) { in WriteTo()
|
D | ast-decoder.cc | 145 if (function_env_->sig->return_count() > 0) { in Decode() 431 int count = static_cast<int>(function_env_->sig->return_count()); in DecodeFunctionBody() 553 sig->return_count() == 0 ? kAstStmt : sig->GetReturn(); in DecodeFunctionBody() 565 sig->return_count() == 0 ? kAstStmt : sig->GetReturn(); in DecodeFunctionBody() 608 int retcount = static_cast<int>(function_env_->sig->return_count()); in AddImplicitReturnAtEnd() 1562 return static_cast<int>(env->sig->return_count()); in OpcodeArity()
|
D | wasm-module.cc | 37 if (function.sig->return_count() == 0) os << "v"; in operator <<() 38 for (size_t i = 0; i < function.sig->return_count(); i++) { in operator <<()
|
/external/v8/test/unittests/compiler/ |
D | linkage-tail-call-unittest.cc | 28 locations->return_count() + locations->parameter_count()); in NewStandardCallDescriptor() 30 locations->return_count(), locations->parameter_count(), kMachineTypes); in NewStandardCallDescriptor()
|