Lines Matching refs:BUILD
67 #define BUILD(func, ...) \ macro
147 if (FLAG_trace_wasm) BUILD(TraceFunctionEntry, decoder->position()); in StartFunction()
203 BUILD(BranchNoHint, cond.node, &if_true, &if_false); in If()
240 result->node = BUILD(Unop, opcode, value.node, decoder->position()); in UnOp()
246 BUILD(Binop, opcode, lhs.node, rhs.node, decoder->position()); in BinOp()
276 result->node = BUILD(RefFunc, function_index); in RefFunc()
280 result->node = BUILD(RefAsNonNull, arg.node, decoder->position()); in RefAsNonNull()
289 BUILD(TraceFunctionExit, VectorOf(nodes), decoder->position()); in DoReturn()
291 BUILD(Return, VectorOf(nodes)); in DoReturn()
325 result->node = BUILD(GlobalGet, imm.index); in GlobalGet()
330 BUILD(GlobalSet, imm.index, value.node); in GlobalSet()
335 result->node = BUILD(TableGet, imm.index, index.node, decoder->position()); in TableGet()
340 BUILD(TableSet, imm.index, index.node, value.node, decoder->position()); in TableSet()
344 BUILD(Trap, wasm::TrapReason::kTrapUnreachable, decoder->position()); in Unreachable()
350 BUILD(BranchNoHint, cond.node, &controls[0], &controls[1]); in Select()
351 TFNode* merge = BUILD(Merge, 2, controls); in Select()
353 TFNode* phi = BUILD(Phi, tval.type, 2, inputs); in Select()
365 BUILD(Return, VectorOf(values)); in BrOrRet()
379 BUILD(BranchNoHint, cond.node, &tenv->control, &fenv->control); in BrIf()
397 TFNode* sw = BUILD(Switch, imm.table_count + 1, key.node); in BrTable()
406 builder_->SetControl(i == imm.table_count ? BUILD(IfDefault, sw) in BrTable()
407 : BUILD(IfValue, i, sw)); in BrTable()
426 BUILD(LoadMem, type.value_type(), type.mem_type(), index.node, in LoadMem()
435 BUILD(LoadTransform, type.value_type(), type.mem_type(), transform, in LoadTransform()
442 result->node = BUILD(LoadLane, type.mem_type(), value.node, index.node, in LoadLane()
449 BUILD(StoreMem, type.mem_rep(), index.node, imm.offset, imm.alignment, in StoreMem()
456 BUILD(StoreLane, type.mem_rep(), index.node, imm.offset, imm.alignment, in StoreLane()
461 result->node = BUILD(CurrentMemoryPages); in CurrentMemoryPages()
465 result->node = BUILD(MemoryGrow, value.node); in MemoryGrow()
525 BUILD(BrOnNull, ref_object.node, &null_env->control, in BrOnNull()
537 TFNode* node = BUILD(SimdOp, opcode, inputs.begin()); in SimdOp()
546 result->node = BUILD(SimdLaneOp, opcode, imm.lane, nodes.begin()); in SimdLaneOp()
554 result->node = BUILD(Simd8x16ShuffleOp, imm.value, input_nodes); in Simd8x16ShuffleOp()
564 BUILD(Throw, imm.index, imm.exception, VectorOf(args), decoder->position()); in Throw()
569 BUILD(Rethrow, exception.node); in Rethrow()
581 BUILD(GetExceptionTag, exception.node, decoder->position()); in BrOnException()
582 TFNode* exception_tag = BUILD(LoadExceptionTagFromTable, imm.index); in BrOnException()
583 TFNode* compare = BUILD(ExceptionTagEqual, caught_tag, exception_tag); in BrOnException()
584 BUILD(BranchNoHint, compare, &if_match, &if_no_match); in BrOnException()
595 BUILD(GetExceptionValues, exception.node, imm.exception, caught_vector); in BrOnException()
628 TFNode* node = BUILD(AtomicOp, opcode, inputs.begin(), imm.alignment, in AtomicOp()
633 void AtomicFence(FullDecoder* decoder) { BUILD(AtomicFence); } in AtomicFence()
638 BUILD(MemoryInit, imm.data_segment_index, dst.node, src.node, size.node, in MemoryInit()
643 BUILD(DataDrop, imm.index, decoder->position()); in DataDrop()
649 BUILD(MemoryCopy, dst.node, src.node, size.node, decoder->position()); in MemoryCopy()
655 BUILD(MemoryFill, dst.node, value.node, size.node, decoder->position()); in MemoryFill()
660 BUILD(TableInit, imm.table.index, imm.elem_segment_index, args[0].node, in TableInit()
665 BUILD(ElemDrop, imm.index, decoder->position()); in ElemDrop()
670 BUILD(TableCopy, imm.table_dst.index, imm.table_src.index, args[0].node, in TableCopy()
676 result->node = BUILD(TableGrow, imm.index, value.node, delta.node); in TableGrow()
681 result->node = BUILD(TableSize, imm.index); in TableSize()
686 BUILD(TableFill, imm.index, start.node, value.node, count.node); in TableFill()
697 result->node = BUILD(StructNewWithRtt, imm.index, imm.struct_type, rtt.node, in StructNewWithRtt()
708 result->node = BUILD(StructNewWithRtt, imm.index, imm.struct_type, rtt.node, in StructNewDefault()
719 BUILD(StructGet, struct_object.node, field.struct_index.struct_type, in StructGet()
729 BUILD(StructSet, struct_object.node, field.struct_index.struct_type, in StructSet()
737 result->node = BUILD(ArrayNewWithRtt, imm.index, imm.array_type, in ArrayNewWithRtt()
745 result->node = BUILD(ArrayNewWithRtt, imm.index, imm.array_type, in ArrayNewDefault()
755 result->node = BUILD(ArrayGet, array_obj.node, imm.array_type, index.node, in ArrayGet()
765 BUILD(ArraySet, array_obj.node, imm.array_type, index.node, value.node, in ArraySet()
770 result->node = BUILD(ArrayLen, array_obj.node, decoder->position()); in ArrayLen()
774 result->node = BUILD(I31New, input.node); in I31New()
778 result->node = BUILD(I31GetS, input.node); in I31GetS()
782 result->node = BUILD(I31GetU, input.node); in I31GetU()
787 result->node = BUILD(RttCanon, imm.type); in RttCanon()
792 result->node = BUILD(RttSub, imm.type, parent.node); in RttSub()
809 result->node = BUILD(RefTest, object.node, rtt.node, null_check, i31_check, in RefTest()
827 result->node = BUILD(RefCast, object.node, rtt.node, null_check, i31_check, in RefCast()
848 BUILD(BrOnCast, object.node, rtt.node, null_check, i31_check, rtt_is_i31, in BrOnCast()
1151 BUILD(CallIndirect, table_index, sig_index, VectorOf(arg_nodes), in DoCall()
1155 BUILD(CallDirect, sig_index, VectorOf(arg_nodes), in DoCall()
1159 BUILD(CallRef, sig_index, VectorOf(arg_nodes), VectorOf(return_nodes), in DoCall()
1183 BUILD(ReturnCallIndirect, table_index, sig_index, VectorOf(arg_nodes), in DoReturnCall()
1187 BUILD(ReturnCall, sig_index, VectorOf(arg_nodes), decoder->position()); in DoReturnCall()
1190 BUILD(ReturnCallRef, sig_index, VectorOf(arg_nodes), null_check, in DoReturnCall()
1216 #undef BUILD