Home
last modified time | relevance | path

Searched refs:WAReg (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp144 unsigned WAReg = Op.getReg(); in printOperand() local
145 if (int(WAReg) >= 0) in printOperand() local
146 printRegName(O, WAReg); in printOperand()
148 O << "$pop" << WebAssemblyFunctionInfo::getWARegStackId(WAReg); in printOperand()
149 else if (WAReg != WebAssemblyFunctionInfo::UnusedReg) in printOperand()
150 O << "$push" << WebAssemblyFunctionInfo::getWARegStackId(WAReg); in printOperand()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp115 unsigned WAReg = MFI->getWAReg(RegNo); in regToString() local
116 assert(WAReg != WebAssemblyFunctionInfo::UnusedReg); in regToString()
117 return '$' + utostr(WAReg); in regToString()
197 unsigned WAReg = MFI->getWAReg(VReg); in EmitFunctionBodyStart() local
199 if (WAReg == WebAssemblyFunctionInfo::UnusedReg) in EmitFunctionBodyStart()
202 if (WAReg < MFI->getParams().size()) in EmitFunctionBodyStart()
205 if (int(WAReg) < 0) in EmitFunctionBodyStart() local
DWebAssemblyMachineFunctionInfo.h74 void setWAReg(unsigned VReg, unsigned WAReg) { in setWAReg() argument
75 assert(WAReg != UnusedReg); in setWAReg()
77 WARegs[TargetRegisterInfo::virtReg2Index(VReg)] = WAReg; in setWAReg()
DWebAssemblyMCInstLower.cpp78 unsigned WAReg = MFI.getWAReg(MO.getReg()); in Lower() local
79 MCOp = MCOperand::createReg(WAReg); in Lower()