Home
last modified time | relevance | path

Searched refs:WAReg (Results 1 – 8 of 8) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp147 unsigned WAReg = Op.getReg(); in printOperand() local
148 if (int(WAReg) >= 0) in printOperand() local
149 printRegName(O, WAReg); in printOperand()
151 O << "$pop" << WebAssemblyFunctionInfo::getWARegStackId(WAReg); in printOperand()
152 else if (WAReg != WebAssemblyFunctionInfo::UnusedReg) in printOperand()
153 O << "$push" << WebAssemblyFunctionInfo::getWARegStackId(WAReg); in printOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMachineFunctionInfo.h99 void setWAReg(unsigned VReg, unsigned WAReg) { in setWAReg() argument
100 assert(WAReg != UnusedReg); in setWAReg()
103 WARegs[I] = WAReg; in setWAReg()
DWebAssemblyAsmPrinter.cpp66 unsigned WAReg = MFI->getWAReg(RegNo); in regToString() local
67 assert(WAReg != WebAssemblyFunctionInfo::UnusedReg); in regToString()
68 return '$' + utostr(WAReg); in regToString()
DWebAssemblyMCInstLower.cpp163 unsigned WAReg = MFI.getWAReg(MO.getReg()); in Lower() local
164 MCOp = MCOperand::createReg(WAReg); in Lower()