Home | History | Annotate | Download | only in WebAssembly

Lines Matching refs:WebAssembly

1 //===-- WebAssemblyRegisterInfo.cpp - WebAssembly Register Information ----===//
11 /// \brief This file contains the WebAssembly implementation of the
48 for (auto Reg : {WebAssembly::SP32, WebAssembly::SP64, WebAssembly::FP32,
49 WebAssembly::FP64})
72 MI.getOperand(2).ChangeToRegister(WebAssembly::SP32, /*IsDef=*/false);
78 unsigned OffsetReg = MRI.createVirtualRegister(&WebAssembly::I32RegClass);
79 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(WebAssembly::CONST_I32), OffsetReg)
81 BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(WebAssembly::ADD_I32), OffsetReg)
82 .addReg(WebAssembly::SP32)
92 /* !hasFP */ {WebAssembly::SP32, WebAssembly::SP64},
93 /* hasFP */ {WebAssembly::FP32, WebAssembly::FP64}};
101 assert(Kind == 0 && "Only one kind of pointer on WebAssembly");
103 return &WebAssembly::I64RegClass;
104 return &WebAssembly::I32RegClass;