Lines Matching refs:function_env_

131     function_env_ = function_env;  in Decode()
145 if (function_env_->sig->return_count() > 0) { in Decode()
175 FunctionEnv* function_env_; member in v8::internal::wasm::LR_WasmDecoder
185 FunctionSig* sig = function_env_->sig; in InitSsaEnv()
202 if (function_env_->local_int32_count > 0) { in InitSsaEnv()
204 for (uint32_t i = 0; i < function_env_->local_int32_count; i++) { in InitSsaEnv()
209 if (function_env_->local_int64_count > 0) { in InitSsaEnv()
211 for (uint32_t i = 0; i < function_env_->local_int64_count; i++) { in InitSsaEnv()
216 if (function_env_->local_float32_count > 0) { in InitSsaEnv()
218 for (uint32_t i = 0; i < function_env_->local_float32_count; i++) { in InitSsaEnv()
223 if (function_env_->local_float64_count > 0) { in InitSsaEnv()
225 for (uint32_t i = 0; i < function_env_->local_float64_count; i++) { in InitSsaEnv()
229 DCHECK_EQ(function_env_->total_locals, pos); in InitSsaEnv()
231 builder_->set_module(function_env_->module); in InitSsaEnv()
431 int count = static_cast<int>(function_env_->sig->return_count()); in DecodeFunctionBody()
608 int retcount = static_cast<int>(function_env_->sig->return_count()); in AddImplicitReturnAtEnd()
627 LocalType expected = function_env_->sig->GetReturn(index); in AddImplicitReturnAtEnd()
886 TypeCheckLast(p, function_env_->sig->GetReturn(p->index - 1)); in Reduce()
1156 builder_->Phi(function_env_->GetLocalType(i), 2, vals, merge); in Goto()
1191 to->locals[i] = builder_->Phi(function_env_->GetLocalType(i), count, in Goto()
1235 env->locals[i] = builder_->Phi(function_env_->GetLocalType(i), 1, in PrepareForLoop()
1314 if (builder_) return static_cast<int>(function_env_->GetLocalCount()); in EnvironmentCount()
1320 if (function_env_->IsValidLocal(*index)) { in LocalOperand()
1321 return function_env_->GetLocalType(*index); in LocalOperand()
1329 if (function_env_->module->IsValidGlobal(*index)) { in GlobalOperand()
1331 function_env_->module->GetGlobalType(*index)); in GlobalOperand()
1340 if (function_env_->module->IsValidFunction(*index)) { in FunctionSigOperand()
1341 return function_env_->module->GetFunctionSignature(*index); in FunctionSigOperand()
1349 if (function_env_->module->IsValidSignature(*index)) { in SigOperand()
1350 return function_env_->module->GetSignature(*index); in SigOperand()