Lines Matching refs:IndentStr

127   std::string IndentStr = std::string(Indent, ' ');  in EmitAction()  local
130 O << IndentStr << "if ("; in EmitAction()
137 O << " ||\n " << IndentStr; in EmitAction()
150 O << IndentStr << "}\n"; in EmitAction()
154 O << IndentStr << "if (!" << CC->getName() in EmitAction()
156 << IndentStr << " return false;\n"; in EmitAction()
163 O << IndentStr << "if (unsigned Reg = State.AllocateReg(" << Name in EmitAction()
170 O << IndentStr << "static const MCPhysReg RegList" << ++Counter in EmitAction()
172 O << IndentStr << " "; in EmitAction()
182 O << "\n" << IndentStr << "};\n"; in EmitAction()
183 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
186 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
191 O << IndentStr << " (void)State.AllocateStack("; in EmitAction()
196 << IndentStr in EmitAction()
204 << IndentStr in EmitAction()
210 O << IndentStr << " return false;\n"; in EmitAction()
211 O << IndentStr << "}\n"; in EmitAction()
220 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
228 O << IndentStr << "static const MCPhysReg RegList" << RegListNumber in EmitAction()
230 O << IndentStr << " "; in EmitAction()
234 O << "\n" << IndentStr << "};\n"; in EmitAction()
236 O << IndentStr << "static const MCPhysReg RegList" in EmitAction()
238 O << IndentStr << " "; in EmitAction()
242 O << "\n" << IndentStr << "};\n"; in EmitAction()
244 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
248 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
250 O << IndentStr << " return false;\n"; in EmitAction()
251 O << IndentStr << "}\n"; in EmitAction()
256 O << IndentStr << "int64_t Offset" << ++Counter in EmitAction()
262 << IndentStr in EmitAction()
270 << IndentStr in EmitAction()
275 << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset" in EmitAction()
277 O << IndentStr << "return false;\n"; in EmitAction()
285 O << IndentStr << "static const MCPhysReg ShadowRegList" in EmitAction()
287 O << IndentStr << " "; in EmitAction()
291 O << "\n" << IndentStr << "};\n"; in EmitAction()
293 O << IndentStr << "int64_t Offset" << ++Counter in EmitAction()
296 O << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset" in EmitAction()
298 O << IndentStr << "return false;\n"; in EmitAction()
302 O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n"; in EmitAction()
304 O << IndentStr << "LocInfo = CCValAssign::FPExt;\n"; in EmitAction()
306 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
307 << IndentStr << " LocInfo = CCValAssign::SExt;\n" in EmitAction()
308 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
309 << IndentStr << " LocInfo = CCValAssign::ZExt;\n" in EmitAction()
310 << IndentStr << "else\n" in EmitAction()
311 << IndentStr << " LocInfo = CCValAssign::AExt;\n"; in EmitAction()
316 O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n"; in EmitAction()
322 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
323 << IndentStr << " LocInfo = CCValAssign::SExtUpper;\n" in EmitAction()
324 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
325 << IndentStr << " LocInfo = CCValAssign::ZExtUpper;\n" in EmitAction()
326 << IndentStr << "else\n" in EmitAction()
327 << IndentStr << " LocInfo = CCValAssign::AExtUpper;\n"; in EmitAction()
331 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) in EmitAction()
333 O << IndentStr << "LocInfo = CCValAssign::BCvt;\n"; in EmitAction()
336 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) in EmitAction()
338 O << IndentStr << "LocInfo = CCValAssign::Trunc;\n"; in EmitAction()
341 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) in EmitAction()
343 O << IndentStr << "LocInfo = CCValAssign::Indirect;\n"; in EmitAction()
347 O << IndentStr << "State.HandleByVal(ValNo, ValVT, LocVT, LocInfo, " in EmitAction()
349 O << IndentStr << "return false;\n"; in EmitAction()
351 O << IndentStr << "if (" << Action->getValueAsString("FuncName") in EmitAction()
354 O << IndentStr << " return false;\n"; in EmitAction()