Lines Matching refs:current_function_builder_

43         current_function_builder_(nullptr),  in AsmWasmBuilderImpl()
57 current_function_builder_ = builder_->FunctionAt(init_function_index); in InitializeInitFunction()
58 current_function_builder_->SetName(init, 8); in InitializeInitFunction()
59 current_function_builder_->ReturnType(kAstStmt); in InitializeInitFunction()
60 current_function_builder_->Exported(1); in InitializeInitFunction()
61 current_function_builder_ = nullptr; in InitializeInitFunction()
73 DCHECK(current_function_builder_ == nullptr); in VisitFunctionDeclaration()
75 current_function_builder_ = builder_->FunctionAt(index); in VisitFunctionDeclaration()
79 current_function_builder_ = nullptr; in VisitFunctionDeclaration()
124 builder_->current_function_builder_->Emit(opcode); in BlockVisitor()
125 index_ = builder_->current_function_builder_->EmitEditableImmediate(0); in BlockVisitor()
130 builder_->current_function_builder_->EditImmediate(index_, in ~BlockVisitor()
148 current_function_builder_->Emit(kExprIfElse); in VisitIfStatement()
150 current_function_builder_->Emit(kExprIf); in VisitIfStatement()
156 current_function_builder_->Emit(kExprNop); in VisitIfStatement()
180 current_function_builder_->EmitWithU8(kExprBr, block_distance); in VisitContinueStatement()
181 current_function_builder_->Emit(kExprNop); in VisitContinueStatement()
203 current_function_builder_->EmitWithU8(kExprBr, block_distance); in VisitBreakStatement()
204 current_function_builder_->Emit(kExprNop); in VisitBreakStatement()
209 current_function_builder_->Emit(kExprReturn); in VisitReturnStatement()
222 current_function_builder_->Emit(kExprSetLocal); in SetLocalTo()
225 current_function_builder_->EmitCode(code, sizeof(code)); in SetLocalTo()
234 current_function_builder_->Emit(kExprIf); in CompileCase()
235 current_function_builder_->Emit(kExprI32Ior); in CompileCase()
236 current_function_builder_->Emit(kExprI32Eq); in CompileCase()
239 current_function_builder_->Emit(kExprGetLocal); in CompileCase()
253 uint16_t fall_through = current_function_builder_->AddLocal(kAstI32); in VisitSwitchStatement()
276 current_function_builder_->Emit(kExprIf); in VisitDoWhileStatement()
278 current_function_builder_->EmitWithU8(kExprBr, 0); in VisitDoWhileStatement()
279 current_function_builder_->Emit(kExprNop); in VisitDoWhileStatement()
286 current_function_builder_->Emit(kExprIf); in VisitWhileStatement()
288 current_function_builder_->EmitWithU8(kExprBr, 0); in VisitWhileStatement()
302 current_function_builder_->Emit(kExprIf); in VisitForStatement()
303 current_function_builder_->Emit(kExprBoolNot); in VisitForStatement()
305 current_function_builder_->EmitWithU8(kExprBr, 1); in VisitForStatement()
306 current_function_builder_->Emit(kExprNop); in VisitForStatement()
317 current_function_builder_->EmitWithU8(kExprBr, 0); in VisitForStatement()
318 current_function_builder_->Emit(kExprNop); in VisitForStatement()
337 current_function_builder_->ReturnType(return_type); in VisitFunctionLiteral()
357 current_function_builder_->Emit(kExprIfElse); in VisitConditional()
370 current_function_builder_->EmitCode( in VisitVariableProxy()
375 current_function_builder_->Emit(kExprStoreGlobal); in VisitVariableProxy()
377 current_function_builder_->Emit(kExprSetLocal); in VisitVariableProxy()
382 current_function_builder_->Emit(kExprLoadGlobal); in VisitVariableProxy()
384 current_function_builder_->Emit(kExprGetLocal); in VisitVariableProxy()
406 current_function_builder_->EmitCode(code, sizeof(code)); in VisitLiteral()
412 current_function_builder_->EmitCode(code, sizeof(code)); in VisitLiteral()
418 current_function_builder_->EmitCode(code, sizeof(code)); in VisitLiteral()
454 current_function_builder_ = builder_->FunctionAt(init_function_index); in LoadInitFunction()
460 current_function_builder_ = nullptr; in UnLoadInitFunction()
532 current_function_builder_->EmitWithU8( in VisitProperty()
542 current_function_builder_->EmitCode(code, sizeof(code)); in VisitProperty()
554 current_function_builder_->Emit(kExprI32And); in VisitProperty()
556 current_function_builder_->EmitCode(code, sizeof(code)); in VisitProperty()
568 current_function_builder_->Emit(kExprCallFunction); in VisitCall()
590 current_function_builder_->Emit(kExprBoolNot); in VisitUnaryOperation()
726 current_function_builder_->Emit(opcodes[type]); \
743 current_function_builder_->Emit(kExprF64SConvertI32); in VisitBinaryOperation()
745 current_function_builder_->Emit(kExprF64UConvertI32); in VisitBinaryOperation()
747 current_function_builder_->Emit(kExprF64ConvertF32); in VisitBinaryOperation()
755 current_function_builder_->Emit(kExprI32SConvertF32); in VisitBinaryOperation()
757 current_function_builder_->Emit(kExprI32SConvertF64); in VisitBinaryOperation()
778 current_function_builder_->Emit(kExprI32RemS); in VisitBinaryOperation()
780 current_function_builder_->Emit(kExprI32RemU); in VisitBinaryOperation()
798 current_function_builder_->EmitWithU8(kExprBlock, 3); in ModF64()
799 uint16_t index_0 = current_function_builder_->AddLocal(kAstF64); in ModF64()
800 uint16_t index_1 = current_function_builder_->AddLocal(kAstF64); in ModF64()
801 current_function_builder_->Emit(kExprSetLocal); in ModF64()
804 current_function_builder_->Emit(kExprSetLocal); in ModF64()
807 current_function_builder_->Emit(kExprF64Sub); in ModF64()
808 current_function_builder_->Emit(kExprGetLocal); in ModF64()
810 current_function_builder_->Emit(kExprF64Mul); in ModF64()
811 current_function_builder_->Emit(kExprGetLocal); in ModF64()
814 current_function_builder_->Emit(kExprF64SConvertI32); in ModF64()
815 current_function_builder_->Emit(kExprI32SConvertF64); in ModF64()
816 current_function_builder_->Emit(kExprF64Div); in ModF64()
817 current_function_builder_->Emit(kExprGetLocal); in ModF64()
819 current_function_builder_->Emit(kExprGetLocal); in ModF64()
827 current_function_builder_->EmitCode( in AddLeb128()
831 current_function_builder_->EmitCode( in AddLeb128()
942 DCHECK(current_function_builder_ != nullptr); in LookupOrInsertLocal()
948 index = current_function_builder_->AddParam(type); in LookupOrInsertLocal()
950 index = current_function_builder_->AddLocal(type); in LookupOrInsertLocal()
1016 WasmFunctionBuilder* current_function_builder_; member in v8::internal::wasm::AsmWasmBuilderImpl