Lines Matching refs:WebAssembly
133 BuildMI(MBB, InsertStore, DL, TII->get(WebAssembly::GLOBAL_SET_I32)) in writeSPToGlobal()
148 writeSPToGlobal(WebAssembly::SP32, MF, MBB, I, DL); in eliminateCallFramePseudoInstr()
168 while (InsertPt != MBB.end() && WebAssembly::isArgument(*InsertPt)) in emitPrologue()
174 unsigned SPReg = WebAssembly::SP32; in emitPrologue()
180 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::GLOBAL_GET_I32), SPReg) in emitPrologue()
188 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::COPY), BasePtr) in emitPrologue()
194 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::CONST_I32), OffsetReg) in emitPrologue()
196 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::SUB_I32), in emitPrologue()
197 WebAssembly::SP32) in emitPrologue()
206 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::CONST_I32), BitmaskReg) in emitPrologue()
208 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::AND_I32), in emitPrologue()
209 WebAssembly::SP32) in emitPrologue()
210 .addReg(WebAssembly::SP32) in emitPrologue()
217 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::COPY), WebAssembly::FP32) in emitPrologue()
218 .addReg(WebAssembly::SP32); in emitPrologue()
221 writeSPToGlobal(WebAssembly::SP32, MF, MBB, InsertPt, DL); in emitPrologue()
248 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::CONST_I32), OffsetReg) in emitEpilogue()
253 BuildMI(MBB, InsertPt, DL, TII->get(WebAssembly::ADD_I32), SPReg) in emitEpilogue()
254 .addReg(hasFP(MF) ? WebAssembly::FP32 : WebAssembly::SP32) in emitEpilogue()
257 SPReg = hasFP(MF) ? WebAssembly::FP32 : WebAssembly::SP32; in emitEpilogue()