Home
last modified time | relevance | path

Searched refs:num_returns (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dir_function_can_inline.cpp41 this->num_returns = 0; in ir_function_can_inline_visitor()
46 int num_returns; member in ir_function_can_inline_visitor
53 this->num_returns++; in visit_enter()
72 v.num_returns++; in can_inline()
74 return v.num_returns == 1; in can_inline()
/external/v8/src/compiler/
Dlinkage.cc403 size_t num_returns = 0; in GetStubCallDescriptor() local
412 DCHECK_LT(num_returns, arraysize(return_registers)); in GetStubCallDescriptor()
413 locations.AddReturn(regloc(return_registers[num_returns], type)); in GetStubCallDescriptor()
414 num_returns++; in GetStubCallDescriptor()
Dwasm-compiler.cc3811 size_t num_returns = vals.size(); in TraceFunctionExit() local
3812 if (num_returns == 1) { in TraceFunctionExit()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c376 unsigned num_returns = 0; in si_create_function() local
422 returns[num_returns++] = ctx->ac.f32; /* VGPRs */ in si_create_function()
444 returns[num_returns++] = ctx->ac.i32; /* SGPRs */ in si_create_function()
446 returns[num_returns++] = ctx->ac.f32; /* VGPRs */ in si_create_function()
478 returns[num_returns++] = ctx->ac.i32; /* SGPRs */ in si_create_function()
480 returns[num_returns++] = ctx->ac.f32; /* VGPRs */ in si_create_function()
489 returns[num_returns++] = ctx->ac.i32; /* SGPRs */ in si_create_function()
491 returns[num_returns++] = ctx->ac.f32; /* VGPRs */ in si_create_function()
575 returns[num_returns++] = ctx->ac.i32; /* SGPRs */ in si_create_function()
577 returns[num_returns++] = ctx->ac.f32; /* VGPRs */ in si_create_function()
[all …]
Dsi_shader_llvm.c541 unsigned num_returns = 0; in si_build_wrapper_function() local
549 num_returns = LLVMCountStructElementTypes(return_type); in si_build_wrapper_function()
550 assert(num_returns <= ARRAY_SIZE(returns)); in si_build_wrapper_function()
559 si_llvm_create_func(ctx, "wrapper", returns, num_returns, in si_build_wrapper_function()
Dsi_shader_llvm_ps.c618 int num_returns, i, num_color_channels; in si_llvm_build_ps_prolog() local
624 num_returns = 0; in si_llvm_build_ps_prolog()
630 return_types[num_returns++] = ctx->ac.i32; in si_llvm_build_ps_prolog()
647 return_types[num_returns++] = ctx->ac.f32; in si_llvm_build_ps_prolog()
652 return_types[num_returns++] = ctx->ac.f32; in si_llvm_build_ps_prolog()
655 si_llvm_create_func(ctx, "ps_prolog", return_types, num_returns, 0); in si_llvm_build_ps_prolog()
Dsi_shader_llvm_vs.c779 int num_returns, i; in si_llvm_build_vs_prolog() local
793 num_returns = 0; in si_llvm_build_vs_prolog()
798 returns[num_returns++] = ctx->ac.i32; in si_llvm_build_vs_prolog()
806 returns[num_returns++] = ctx->ac.f32; in si_llvm_build_vs_prolog()
811 returns[num_returns++] = ctx->ac.f32; in si_llvm_build_vs_prolog()
814 si_llvm_create_func(ctx, "vs_prolog", returns, num_returns, 0); in si_llvm_build_vs_prolog()
/external/v8/src/wasm/
Dfunction-body-decoder-impl.h1304 size_t num_returns = sig_->return_count();
1305 if (num_returns != target_sig->return_count()) return false;
1306 for (size_t i = 0; i < num_returns; ++i) {
2670 int num_returns = static_cast<int>(this->sig_->return_count());
2671 for (int i = num_returns - 1; i >= 0; --i) {
4424 int num_returns = static_cast<int>(this->sig_->return_count());
4426 if (num_returns == 0) return true;
4431 if (!VALIDATE(num_available >= num_returns)) {
4433 "expected %u elements on the stack for return, found %u", num_returns,
4440 Value* stack_values = stack_end_ - num_returns;
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc1337 int64 num_returns = remote_rets->size(); in RunInternal() local
1341 target_incarnation, num_returns, in RunInternal()
/external/v8/src/runtime/
Druntime-test.cc1049 size_t num_returns = sig->return_count(); in RUNTIME_FUNCTION() local
1050 if (num_returns == 1) { in RUNTIME_FUNCTION()
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc1672 size_t num_returns = decoder->sig_->return_count(); in TraceFunctionExit() local
1673 if (num_returns == 1) { in TraceFunctionExit()
1699 size_t num_returns = decoder->sig_->return_count(); in ReturnImpl() local
1700 if (num_returns > 0) __ MoveToReturnLocations(decoder->sig_, descriptor_); in ReturnImpl()