Lines Matching refs:WebAssembly
37 : WebAssemblyGenInstrInfo(WebAssembly::ADJCALLSTACKDOWN, in WebAssemblyInstrInfo()
38 WebAssembly::ADJCALLSTACKUP, in WebAssemblyInstrInfo()
39 WebAssembly::CATCHRET), in WebAssemblyInstrInfo()
45 case WebAssembly::CONST_I32: in isReallyTriviallyReMaterializable()
46 case WebAssembly::CONST_I64: in isReallyTriviallyReMaterializable()
47 case WebAssembly::CONST_F32: in isReallyTriviallyReMaterializable()
48 case WebAssembly::CONST_F64: in isReallyTriviallyReMaterializable()
70 if (RC == &WebAssembly::I32RegClass) in copyPhysReg()
71 CopyOpcode = WebAssembly::COPY_I32; in copyPhysReg()
72 else if (RC == &WebAssembly::I64RegClass) in copyPhysReg()
73 CopyOpcode = WebAssembly::COPY_I64; in copyPhysReg()
74 else if (RC == &WebAssembly::F32RegClass) in copyPhysReg()
75 CopyOpcode = WebAssembly::COPY_F32; in copyPhysReg()
76 else if (RC == &WebAssembly::F64RegClass) in copyPhysReg()
77 CopyOpcode = WebAssembly::COPY_F64; in copyPhysReg()
78 else if (RC == &WebAssembly::V128RegClass) in copyPhysReg()
79 CopyOpcode = WebAssembly::COPY_V128; in copyPhysReg()
80 else if (RC == &WebAssembly::FUNCREFRegClass) in copyPhysReg()
81 CopyOpcode = WebAssembly::COPY_FUNCREF; in copyPhysReg()
82 else if (RC == &WebAssembly::EXTERNREFRegClass) in copyPhysReg()
83 CopyOpcode = WebAssembly::COPY_EXTERNREF; in copyPhysReg()
123 case WebAssembly::BR_IF: in analyzeBranch()
131 case WebAssembly::BR_UNLESS: in analyzeBranch()
139 case WebAssembly::BR: in analyzeBranch()
184 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(TBB); in insertBranch()
191 BuildMI(&MBB, DL, get(WebAssembly::BR_IF)).addMBB(TBB).add(Cond[1]); in insertBranch()
193 BuildMI(&MBB, DL, get(WebAssembly::BR_UNLESS)).addMBB(TBB).add(Cond[1]); in insertBranch()
197 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(FBB); in insertBranch()
211 {WebAssembly::TI_LOCAL, "wasm-local"}, in getSerializableTargetIndices()
212 {WebAssembly::TI_GLOBAL_FIXED, "wasm-global-fixed"}, in getSerializableTargetIndices()
213 {WebAssembly::TI_OPERAND_STACK, "wasm-operand-stack"}, in getSerializableTargetIndices()
214 {WebAssembly::TI_GLOBAL_RELOC, "wasm-global-reloc"}, in getSerializableTargetIndices()
215 {WebAssembly::TI_LOCAL_INDIRECT, "wasm-local-indirect"}}; in getSerializableTargetIndices()
221 return WebAssembly::getCalleeOp(MI); in getCalleeOperand()