Lines Matching full:webassembly
1 //===-- WebAssemblyInstrInfo.cpp - WebAssembly Instruction Information ----===//
11 /// \brief This file contains the WebAssembly implementation of the
32 : WebAssemblyGenInstrInfo(WebAssembly::ADJCALLSTACKDOWN, in WebAssemblyInstrInfo()
33 WebAssembly::ADJCALLSTACKUP), in WebAssemblyInstrInfo()
39 case WebAssembly::CONST_I32: in isReallyTriviallyReMaterializable()
40 case WebAssembly::CONST_I64: in isReallyTriviallyReMaterializable()
41 case WebAssembly::CONST_F32: in isReallyTriviallyReMaterializable()
42 case WebAssembly::CONST_F64: in isReallyTriviallyReMaterializable()
64 if (RC == &WebAssembly::I32RegClass) in copyPhysReg()
65 CopyLocalOpcode = WebAssembly::COPY_LOCAL_I32; in copyPhysReg()
66 else if (RC == &WebAssembly::I64RegClass) in copyPhysReg()
67 CopyLocalOpcode = WebAssembly::COPY_LOCAL_I64; in copyPhysReg()
68 else if (RC == &WebAssembly::F32RegClass) in copyPhysReg()
69 CopyLocalOpcode = WebAssembly::COPY_LOCAL_F32; in copyPhysReg()
70 else if (RC == &WebAssembly::F64RegClass) in copyPhysReg()
71 CopyLocalOpcode = WebAssembly::COPY_LOCAL_F64; in copyPhysReg()
106 case WebAssembly::BR_IF: in analyzeBranch()
117 case WebAssembly::BR_UNLESS: in analyzeBranch()
128 case WebAssembly::BR: in analyzeBranch()
173 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(TBB); in InsertBranch()
180 BuildMI(&MBB, DL, get(WebAssembly::BR_IF)).addMBB(TBB).addOperand(Cond[1]); in InsertBranch()
182 BuildMI(&MBB, DL, get(WebAssembly::BR_UNLESS)) in InsertBranch()
189 BuildMI(&MBB, DL, get(WebAssembly::BR)).addMBB(FBB); in InsertBranch()