Lines Matching refs:wasm

52 const Operator* UnsupportedOpcode(wasm::WasmOpcode opcode) {  in UnsupportedOpcode()
54 wasm::WasmOpcodes::OpcodeName(opcode)); in UnsupportedOpcode()
114 void Unreachable(wasm::WasmCodePosition position) { in Unreachable()
115 ConnectTrap(wasm::kTrapUnreachable, position); in Unreachable()
119 void TrapAlways(wasm::TrapReason reason, wasm::WasmCodePosition position) { in TrapAlways()
124 Node* TrapIfEq32(wasm::TrapReason reason, Node* node, int32_t val, in TrapIfEq32()
125 wasm::WasmCodePosition position) { in TrapIfEq32()
140 Node* ZeroCheck32(wasm::TrapReason reason, Node* node, in ZeroCheck32()
141 wasm::WasmCodePosition position) { in ZeroCheck32()
146 Node* TrapIfEq64(wasm::TrapReason reason, Node* node, int64_t val, in TrapIfEq64()
147 wasm::WasmCodePosition position) { in TrapIfEq64()
157 Node* ZeroCheck64(wasm::TrapReason reason, Node* node, in ZeroCheck64()
158 wasm::WasmCodePosition position) { in ZeroCheck64()
163 void AddTrapIfTrue(wasm::TrapReason reason, Node* cond, in AddTrapIfTrue()
164 wasm::WasmCodePosition position) { in AddTrapIfTrue()
169 void AddTrapIfFalse(wasm::TrapReason reason, Node* cond, in AddTrapIfFalse()
170 wasm::WasmCodePosition position) { in AddTrapIfFalse()
175 void AddTrapIf(wasm::TrapReason reason, Node* cond, bool iftrue, in AddTrapIf()
176 wasm::WasmCodePosition position) { in AddTrapIf()
191 Node* GetTrapValue(wasm::FunctionSig* sig) { in GetTrapValue()
199 Node* GetTrapValue(wasm::LocalType type) { in GetTrapValue()
201 case wasm::kAstI32: in GetTrapValue()
203 case wasm::kAstI64: in GetTrapValue()
205 case wasm::kAstF32: in GetTrapValue()
207 case wasm::kAstF64: in GetTrapValue()
210 case wasm::kAstS128: in GetTrapValue()
232 void ConnectTrap(wasm::TrapReason reason, wasm::WasmCodePosition position) { in ConnectTrap()
233 DCHECK(position != wasm::kNoCodePosition); in ConnectTrap()
235 wasm::WasmOpcodes::TrapReasonToMessageId(reason)); in ConnectTrap()
252 wasm::ModuleEnv* module = builder_->module_; in BuildTrapCode()
294 Zone* zone, JSGraph* jsgraph, wasm::FunctionSig* function_signature, in WasmGraphBuilder()
321 Node* WasmGraphBuilder::Param(unsigned index, wasm::LocalType type) { in Param()
379 Node* WasmGraphBuilder::Phi(wasm::LocalType type, unsigned count, Node** vals, in Phi()
413 void WasmGraphBuilder::StackCheck(wasm::WasmCodePosition position, in StackCheck()
454 Node* WasmGraphBuilder::Binop(wasm::WasmOpcode opcode, Node* left, Node* right, in Binop()
455 wasm::WasmCodePosition position) { in Binop()
459 case wasm::kExprI32Add: in Binop()
462 case wasm::kExprI32Sub: in Binop()
465 case wasm::kExprI32Mul: in Binop()
468 case wasm::kExprI32DivS: in Binop()
470 case wasm::kExprI32DivU: in Binop()
472 case wasm::kExprI32RemS: in Binop()
474 case wasm::kExprI32RemU: in Binop()
476 case wasm::kExprI32And: in Binop()
479 case wasm::kExprI32Ior: in Binop()
482 case wasm::kExprI32Xor: in Binop()
485 case wasm::kExprI32Shl: in Binop()
489 case wasm::kExprI32ShrU: in Binop()
493 case wasm::kExprI32ShrS: in Binop()
497 case wasm::kExprI32Ror: in Binop()
501 case wasm::kExprI32Rol: in Binop()
504 case wasm::kExprI32Eq: in Binop()
507 case wasm::kExprI32Ne: in Binop()
508 return Invert(Binop(wasm::kExprI32Eq, left, right)); in Binop()
509 case wasm::kExprI32LtS: in Binop()
512 case wasm::kExprI32LeS: in Binop()
515 case wasm::kExprI32LtU: in Binop()
518 case wasm::kExprI32LeU: in Binop()
521 case wasm::kExprI32GtS: in Binop()
525 case wasm::kExprI32GeS: in Binop()
529 case wasm::kExprI32GtU: in Binop()
533 case wasm::kExprI32GeU: in Binop()
537 case wasm::kExprI64And: in Binop()
540 case wasm::kExprI64Add: in Binop()
543 case wasm::kExprI64Sub: in Binop()
546 case wasm::kExprI64Mul: in Binop()
549 case wasm::kExprI64DivS: in Binop()
551 case wasm::kExprI64DivU: in Binop()
553 case wasm::kExprI64RemS: in Binop()
555 case wasm::kExprI64RemU: in Binop()
557 case wasm::kExprI64Ior: in Binop()
560 case wasm::kExprI64Xor: in Binop()
563 case wasm::kExprI64Shl: in Binop()
567 case wasm::kExprI64ShrU: in Binop()
571 case wasm::kExprI64ShrS: in Binop()
575 case wasm::kExprI64Eq: in Binop()
578 case wasm::kExprI64Ne: in Binop()
579 return Invert(Binop(wasm::kExprI64Eq, left, right)); in Binop()
580 case wasm::kExprI64LtS: in Binop()
583 case wasm::kExprI64LeS: in Binop()
586 case wasm::kExprI64LtU: in Binop()
589 case wasm::kExprI64LeU: in Binop()
592 case wasm::kExprI64GtS: in Binop()
596 case wasm::kExprI64GeS: in Binop()
600 case wasm::kExprI64GtU: in Binop()
604 case wasm::kExprI64GeU: in Binop()
608 case wasm::kExprI64Ror: in Binop()
612 case wasm::kExprI64Rol: in Binop()
614 case wasm::kExprF32CopySign: in Binop()
616 case wasm::kExprF64CopySign: in Binop()
618 case wasm::kExprF32Add: in Binop()
621 case wasm::kExprF32Sub: in Binop()
624 case wasm::kExprF32Mul: in Binop()
627 case wasm::kExprF32Div: in Binop()
630 case wasm::kExprF32Eq: in Binop()
633 case wasm::kExprF32Ne: in Binop()
634 return Invert(Binop(wasm::kExprF32Eq, left, right)); in Binop()
635 case wasm::kExprF32Lt: in Binop()
638 case wasm::kExprF32Ge: in Binop()
642 case wasm::kExprF32Gt: in Binop()
646 case wasm::kExprF32Le: in Binop()
649 case wasm::kExprF64Add: in Binop()
652 case wasm::kExprF64Sub: in Binop()
655 case wasm::kExprF64Mul: in Binop()
658 case wasm::kExprF64Div: in Binop()
661 case wasm::kExprF64Eq: in Binop()
664 case wasm::kExprF64Ne: in Binop()
665 return Invert(Binop(wasm::kExprF64Eq, left, right)); in Binop()
666 case wasm::kExprF64Lt: in Binop()
669 case wasm::kExprF64Le: in Binop()
672 case wasm::kExprF64Gt: in Binop()
676 case wasm::kExprF64Ge: in Binop()
680 case wasm::kExprF32Min: in Binop()
683 case wasm::kExprF64Min: in Binop()
686 case wasm::kExprF32Max: in Binop()
689 case wasm::kExprF64Max: in Binop()
692 case wasm::kExprF64Pow: in Binop()
694 case wasm::kExprF64Atan2: in Binop()
697 case wasm::kExprF64Mod: in Binop()
699 case wasm::kExprI32AsmjsDivS: in Binop()
701 case wasm::kExprI32AsmjsDivU: in Binop()
703 case wasm::kExprI32AsmjsRemS: in Binop()
705 case wasm::kExprI32AsmjsRemU: in Binop()
707 case wasm::kExprI32AsmjsStoreMem8: in Binop()
709 case wasm::kExprI32AsmjsStoreMem16: in Binop()
711 case wasm::kExprI32AsmjsStoreMem: in Binop()
713 case wasm::kExprF32AsmjsStoreMem: in Binop()
715 case wasm::kExprF64AsmjsStoreMem: in Binop()
723 Node* WasmGraphBuilder::Unop(wasm::WasmOpcode opcode, Node* input, in Unop()
724 wasm::WasmCodePosition position) { in Unop()
728 case wasm::kExprI32Eqz: in Unop()
731 case wasm::kExprF32Abs: in Unop()
734 case wasm::kExprF32Neg: { in Unop()
738 case wasm::kExprF32Sqrt: in Unop()
741 case wasm::kExprF64Abs: in Unop()
744 case wasm::kExprF64Neg: { in Unop()
748 case wasm::kExprF64Sqrt: in Unop()
751 case wasm::kExprI32SConvertF64: in Unop()
753 case wasm::kExprI32UConvertF64: in Unop()
755 case wasm::kExprI32AsmjsSConvertF64: in Unop()
757 case wasm::kExprI32AsmjsUConvertF64: in Unop()
759 case wasm::kExprF32ConvertF64: in Unop()
762 case wasm::kExprF64SConvertI32: in Unop()
765 case wasm::kExprF64UConvertI32: in Unop()
768 case wasm::kExprF32SConvertI32: in Unop()
771 case wasm::kExprF32UConvertI32: in Unop()
774 case wasm::kExprI32SConvertF32: in Unop()
776 case wasm::kExprI32UConvertF32: in Unop()
778 case wasm::kExprI32AsmjsSConvertF32: in Unop()
780 case wasm::kExprI32AsmjsUConvertF32: in Unop()
782 case wasm::kExprF64ConvertF32: in Unop()
785 case wasm::kExprF32ReinterpretI32: in Unop()
788 case wasm::kExprI32ReinterpretF32: in Unop()
791 case wasm::kExprI32Clz: in Unop()
794 case wasm::kExprI32Ctz: { in Unop()
806 case wasm::kExprI32Popcnt: { in Unop()
814 case wasm::kExprF32Floor: { in Unop()
819 case wasm::kExprF32Ceil: { in Unop()
824 case wasm::kExprF32Trunc: { in Unop()
829 case wasm::kExprF32NearestInt: { in Unop()
835 case wasm::kExprF64Floor: { in Unop()
840 case wasm::kExprF64Ceil: { in Unop()
845 case wasm::kExprF64Trunc: { in Unop()
850 case wasm::kExprF64NearestInt: { in Unop()
856 case wasm::kExprF64Acos: { in Unop()
859 case wasm::kExprF64Asin: { in Unop()
862 case wasm::kExprF64Atan: in Unop()
865 case wasm::kExprF64Cos: { in Unop()
869 case wasm::kExprF64Sin: { in Unop()
873 case wasm::kExprF64Tan: { in Unop()
877 case wasm::kExprF64Exp: { in Unop()
881 case wasm::kExprF64Log: in Unop()
884 case wasm::kExprI32ConvertI64: in Unop()
887 case wasm::kExprI64SConvertI32: in Unop()
890 case wasm::kExprI64UConvertI32: in Unop()
893 case wasm::kExprF64ReinterpretI64: in Unop()
896 case wasm::kExprI64ReinterpretF64: in Unop()
899 case wasm::kExprI64Clz: in Unop()
902 case wasm::kExprI64Ctz: { in Unop()
918 case wasm::kExprI64Popcnt: { in Unop()
929 case wasm::kExprI64Eqz: in Unop()
932 case wasm::kExprF32SConvertI64: in Unop()
938 case wasm::kExprF32UConvertI64: in Unop()
944 case wasm::kExprF64SConvertI64: in Unop()
950 case wasm::kExprF64UConvertI64: in Unop()
956 case wasm::kExprI64SConvertF32: in Unop()
958 case wasm::kExprI64SConvertF64: in Unop()
960 case wasm::kExprI64UConvertF32: in Unop()
962 case wasm::kExprI64UConvertF64: in Unop()
964 case wasm::kExprI32AsmjsLoadMem8S: in Unop()
966 case wasm::kExprI32AsmjsLoadMem8U: in Unop()
968 case wasm::kExprI32AsmjsLoadMem16S: in Unop()
970 case wasm::kExprI32AsmjsLoadMem16U: in Unop()
972 case wasm::kExprI32AsmjsLoadMem: in Unop()
974 case wasm::kExprF32AsmjsLoadMem: in Unop()
976 case wasm::kExprF64AsmjsLoadMem: in Unop()
1059 Node* WasmGraphBuilder::Unreachable(wasm::WasmCodePosition position) { in Unreachable()
1110 wasm::LocalType wasmtype) { in BuildChangeEndianness()
1226 if (wasmtype == wasm::kAstI64) { in BuildChangeEndianness()
1234 } else if (wasmtype == wasm::kAstI32) { in BuildChangeEndianness()
1249 wasm::kExprF32ReinterpretI32, in BuildF32CopySign()
1250 Binop(wasm::kExprI32Ior, in BuildF32CopySign()
1251 Binop(wasm::kExprI32And, Unop(wasm::kExprI32ReinterpretF32, left), in BuildF32CopySign()
1253 Binop(wasm::kExprI32And, Unop(wasm::kExprI32ReinterpretF32, right), in BuildF32CopySign()
1262 wasm::kExprF64ReinterpretI64, in BuildF64CopySign()
1263 Binop(wasm::kExprI64Ior, in BuildF64CopySign()
1264 Binop(wasm::kExprI64And, Unop(wasm::kExprI64ReinterpretF64, left), in BuildF64CopySign()
1266 Binop(wasm::kExprI64And, Unop(wasm::kExprI64ReinterpretF64, right), in BuildF64CopySign()
1278 Binop(wasm::kExprI32Ior, Binop(wasm::kExprI32And, high_word_left, in BuildF64CopySign()
1280 Binop(wasm::kExprI32And, high_word_right, in BuildF64CopySign()
1288 wasm::WasmCodePosition position) { in BuildI32SConvertF32()
1291 Node* trunc = Unop(wasm::kExprF32Trunc, input); in BuildI32SConvertF32()
1296 Node* check = Unop(wasm::kExprF32SConvertI32, result); in BuildI32SConvertF32()
1297 Node* overflow = Binop(wasm::kExprF32Ne, trunc, check); in BuildI32SConvertF32()
1298 trap_->AddTrapIfTrue(wasm::kTrapFloatUnrepresentable, overflow, position); in BuildI32SConvertF32()
1304 wasm::WasmCodePosition position) { in BuildI32SConvertF64()
1307 Node* trunc = Unop(wasm::kExprF64Trunc, input); in BuildI32SConvertF64()
1312 Node* check = Unop(wasm::kExprF64SConvertI32, result); in BuildI32SConvertF64()
1313 Node* overflow = Binop(wasm::kExprF64Ne, trunc, check); in BuildI32SConvertF64()
1314 trap_->AddTrapIfTrue(wasm::kTrapFloatUnrepresentable, overflow, position); in BuildI32SConvertF64()
1320 wasm::WasmCodePosition position) { in BuildI32UConvertF32()
1323 Node* trunc = Unop(wasm::kExprF32Trunc, input); in BuildI32UConvertF32()
1328 Node* check = Unop(wasm::kExprF32UConvertI32, result); in BuildI32UConvertF32()
1329 Node* overflow = Binop(wasm::kExprF32Ne, trunc, check); in BuildI32UConvertF32()
1330 trap_->AddTrapIfTrue(wasm::kTrapFloatUnrepresentable, overflow, position); in BuildI32UConvertF32()
1336 wasm::WasmCodePosition position) { in BuildI32UConvertF64()
1339 Node* trunc = Unop(wasm::kExprF64Trunc, input); in BuildI32UConvertF64()
1344 Node* check = Unop(wasm::kExprF64UConvertI32, result); in BuildI32UConvertF64()
1345 Node* overflow = Binop(wasm::kExprF64Ne, trunc, check); in BuildI32UConvertF64()
1346 trap_->AddTrapIfTrue(wasm::kTrapFloatUnrepresentable, overflow, position); in BuildI32UConvertF64()
1405 return Unop(wasm::kExprI64UConvertI32, in BuildI64Ctz()
1418 return Unop(wasm::kExprI64UConvertI32, in BuildI64Popcnt()
1614 wasm::WasmCodePosition position) { in BuildI64SConvertF32()
1626 trap_->ZeroCheck64(wasm::kTrapFloatUnrepresentable, overflow, position); in BuildI64SConvertF32()
1632 wasm::WasmCodePosition position) { in BuildI64UConvertF32()
1644 trap_->ZeroCheck64(wasm::kTrapFloatUnrepresentable, overflow, position); in BuildI64UConvertF32()
1650 wasm::WasmCodePosition position) { in BuildI64SConvertF64()
1662 trap_->ZeroCheck64(wasm::kTrapFloatUnrepresentable, overflow, position); in BuildI64SConvertF64()
1668 wasm::WasmCodePosition position) { in BuildI64UConvertF64()
1680 trap_->ZeroCheck64(wasm::kTrapFloatUnrepresentable, overflow, position); in BuildI64UConvertF64()
1688 const MachineType result_type, wasm::WasmCodePosition position) { in BuildFloatToIntConversionInstruction()
1704 trap_->ZeroCheck32(wasm::kTrapFloatUnrepresentable, in BuildFloatToIntConversionInstruction()
1719 jsgraph()->Uint32Constant(wasm::WasmModule::kV8MaxPages)), in GrowMemory()
1729 wasm::ModuleEnv* module = module_; in GrowMemory()
1775 Node* WasmGraphBuilder::Catch(Node* input, wasm::WasmCodePosition position) { in Catch()
1820 wasm::WasmCodePosition position) { in BuildI32DivS()
1822 trap_->ZeroCheck32(wasm::kTrapDivByZero, right, position); in BuildI32DivS()
1830 trap_->TrapIfEq32(wasm::kTrapDivUnrepresentable, left, kMinInt, position); in BuildI32DivS()
1841 wasm::WasmCodePosition position) { in BuildI32RemS()
1844 trap_->ZeroCheck32(wasm::kTrapRemByZero, right, position); in BuildI32RemS()
1857 wasm::WasmCodePosition position) { in BuildI32DivU()
1861 trap_->ZeroCheck32(wasm::kTrapDivByZero, right, position)); in BuildI32DivU()
1865 wasm::WasmCodePosition position) { in BuildI32RemU()
1869 trap_->ZeroCheck32(wasm::kTrapRemByZero, right, position)); in BuildI32RemU()
1981 wasm::WasmCodePosition position) { in BuildI64DivS()
1985 MachineType::Int64(), wasm::kTrapDivByZero, position); in BuildI64DivS()
1987 trap_->ZeroCheck64(wasm::kTrapDivByZero, right, position); in BuildI64DivS()
1995 trap_->TrapIfEq64(wasm::kTrapDivUnrepresentable, left, in BuildI64DivS()
2008 wasm::WasmCodePosition position) { in BuildI64RemS()
2012 MachineType::Int64(), wasm::kTrapRemByZero, position); in BuildI64RemS()
2014 trap_->ZeroCheck64(wasm::kTrapRemByZero, right, position); in BuildI64RemS()
2027 wasm::WasmCodePosition position) { in BuildI64DivU()
2031 MachineType::Int64(), wasm::kTrapDivByZero, position); in BuildI64DivU()
2035 trap_->ZeroCheck64(wasm::kTrapDivByZero, right, position)); in BuildI64DivU()
2038 wasm::WasmCodePosition position) { in BuildI64RemU()
2042 MachineType::Int64(), wasm::kTrapRemByZero, position); in BuildI64RemU()
2046 trap_->ZeroCheck64(wasm::kTrapRemByZero, right, position)); in BuildI64RemU()
2052 wasm::WasmCodePosition position) { in BuildDiv64Call()
2079 trap_->ZeroCheck32(static_cast<wasm::TrapReason>(trap_zero), call, position); in BuildDiv64Call()
2080 trap_->TrapIfEq32(wasm::kTrapDivUnrepresentable, call, -1, position); in BuildDiv64Call()
2110 Node* WasmGraphBuilder::BuildWasmCall(wasm::FunctionSig* sig, Node** args, in BuildWasmCall()
2112 wasm::WasmCodePosition position) { in BuildWasmCall()
2125 wasm::ModuleEnv::GetWasmCallDescriptor(jsgraph()->zone(), sig); in BuildWasmCall()
2149 wasm::WasmCodePosition position) { in CallDirect()
2156 wasm::FunctionSig* sig = module_->GetFunctionSignature(index); in CallDirect()
2163 wasm::WasmCodePosition position) { in CallIndirect()
2169 wasm::FunctionSig* sig = module_->GetSignature(sig_index); in CallIndirect()
2180 trap_->AddTrapIfFalse(wasm::kTrapFuncInvalid, in_bounds, position); in CallIndirect()
2196 auto map = const_cast<wasm::SignatureMap&>( in CallIndirect()
2201 trap_->AddTrapIfFalse(wasm::kTrapFuncSigMismatch, sig_match, position); in CallIndirect()
2224 return Binop(wasm::kExprI32Ror, left, in BuildI32Rol()
2227 return Binop(wasm::kExprI32Ror, left, in BuildI32Rol()
2228 Binop(wasm::kExprI32Sub, jsgraph()->Int32Constant(32), right)); in BuildI32Rol()
2237 return Binop(wasm::kExprI64Ror, left, in BuildI64Rol()
2240 return Binop(wasm::kExprI64Ror, left, in BuildI64Rol()
2241 Binop(wasm::kExprI64Sub, jsgraph()->Int64Constant(64), right)); in BuildI64Rol()
2246 return Unop(wasm::kExprI32Eqz, node); in Invert()
2345 Node* WasmGraphBuilder::ToJS(Node* node, wasm::LocalType type) { in ToJS()
2347 case wasm::kAstI32: in ToJS()
2349 case wasm::kAstS128: in ToJS()
2350 case wasm::kAstI64: in ToJS()
2356 case wasm::kAstF32: in ToJS()
2360 case wasm::kAstF64: in ToJS()
2362 case wasm::kAstStmt: in ToJS()
2498 wasm::LocalType type) { in FromJS()
2507 case wasm::kAstI32: { in FromJS()
2512 case wasm::kAstS128: in FromJS()
2513 case wasm::kAstI64: in FromJS()
2519 case wasm::kAstF32: in FromJS()
2523 case wasm::kAstF64: in FromJS()
2525 case wasm::kAstStmt: in FromJS()
2617 wasm::FunctionSig* sig) { in BuildJSToWasmWrapper()
2647 if (jsgraph()->machine()->Is32() && sig->GetParam(i) == wasm::kAstI64) { in BuildJSToWasmWrapper()
2659 wasm::ModuleEnv::GetWasmCallDescriptor(jsgraph()->zone(), sig); in BuildJSToWasmWrapper()
2661 desc = wasm::ModuleEnv::GetI32WasmCallDescriptor(jsgraph()->zone(), desc); in BuildJSToWasmWrapper()
2666 sig->GetReturn(0) == wasm::kAstI64) { in BuildJSToWasmWrapper()
2672 retval, sig->return_count() == 0 ? wasm::kAstStmt : sig->GetReturn()); in BuildJSToWasmWrapper()
2680 wasm::FunctionSig* sig) { in AddParameterNodes()
2687 if (jsgraph()->machine()->Is32() && sig->GetParam(i) == wasm::kAstI64) { in AddParameterNodes()
2697 wasm::FunctionSig* sig) { in BuildWasmToJSWrapper()
2784 sig->return_count() == 0 ? wasm::kAstStmt : sig->GetReturn()); in BuildWasmToJSWrapper()
2787 sig->GetReturn() == wasm::kAstI64) { in BuildWasmToJSWrapper()
2822 wasm::ModuleEnv* module = module_; in CurrentMemoryPages()
2867 wasm::WasmOpcodes::MachineTypeFor(module_->GetGlobalType(index)); in GetGlobal()
2881 wasm::WasmOpcodes::MachineTypeFor(module_->GetGlobalType(index)); in SetGlobal()
2896 wasm::WasmCodePosition position) { in BoundsCheckMem()
2899 byte memsize = wasm::WasmOpcodes::MemSize(memtype); in BoundsCheckMem()
2912 trap_->TrapIfEq32(wasm::kTrapMemOutOfBounds, jsgraph()->Int32Constant(0), in BoundsCheckMem()
2923 trap_->AddTrapIfFalse(wasm::kTrapMemOutOfBounds, cond, position); in BoundsCheckMem()
2945 trap_->AddTrapIfFalse(wasm::kTrapMemOutOfBounds, cond, position); in BoundsCheckMem()
2949 Node* WasmGraphBuilder::LoadMem(wasm::LocalType type, MachineType memtype, in LoadMem()
2952 wasm::WasmCodePosition position) { in LoadMem()
2986 if (type == wasm::kAstI64 && in LoadMem()
3005 wasm::WasmCodePosition position) { in StoreMem()
3087 wasm::WasmCodePosition position) { in SetSourcePosition()
3088 DCHECK_NE(position, wasm::kNoCodePosition); in SetSourcePosition()
3101 Node* WasmGraphBuilder::SimdOp(wasm::WasmOpcode opcode, in SimdOp()
3104 case wasm::kExprI32x4Splat: in SimdOp()
3107 case wasm::kExprI32x4Add: in SimdOp()
3110 case wasm::kExprF32x4ExtractLane: in SimdOp()
3113 case wasm::kExprF32x4Splat: in SimdOp()
3116 case wasm::kExprF32x4Add: in SimdOp()
3124 Node* WasmGraphBuilder::SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, in SimdExtractLane()
3127 case wasm::kExprI32x4ExtractLane: in SimdExtractLane()
3130 case wasm::kExprF32x4ExtractLane: in SimdExtractLane()
3141 const wasm::WasmName& module_name, in RecordFunctionCompilation()
3142 const wasm::WasmName& func_name) { in RecordFunctionCompilation()
3159 Handle<Code> CompileJSToWasmWrapper(Isolate* isolate, wasm::ModuleEnv* module, in CompileJSToWasmWrapper()
3161 const wasm::WasmFunction* func = &module->module->functions[index]; in CompileJSToWasmWrapper()
3227 wasm::WasmName("export"), in CompileJSToWasmWrapper()
3234 wasm::FunctionSig* sig, uint32_t index, in CompileWasmToJSWrapper()
3264 wasm::ModuleEnv::GetWasmCallDescriptor(&zone, sig); in CompileWasmToJSWrapper()
3266 incoming = wasm::ModuleEnv::GetI32WasmCallDescriptor(&zone, incoming); in CompileWasmToJSWrapper()
3328 wasm::FunctionBody body = { in BuildGraphForWasmFunction()
3333 wasm::BuildTFGraph(isolate_->allocator(), &builder, body); in BuildGraphForWasmFunction()
3363 WasmCompilationUnit::WasmCompilationUnit(wasm::ErrorThrower* thrower, in WasmCompilationUnit()
3365 wasm::ModuleEnv* module_env, in WasmCompilationUnit()
3366 const wasm::WasmFunction* function, in WasmCompilationUnit()
3401 << wasm::WasmFunctionName(function_, module_env_) << std::endl; in ExecuteCompilation()
3423 CallDescriptor* descriptor = wasm::ModuleEnv::GetWasmCallDescriptor( in ExecuteCompilation()
3454 wasm::WasmName name = module_env_->module->GetName( in FinishCompilation()
3477 function_->func_index, wasm::WasmName("module"), in FinishCompilation()