Lines Matching refs:IndentStr
122 std::string IndentStr = std::string(Indent, ' '); in EmitAction() local
125 O << IndentStr << "if ("; in EmitAction()
131 if (i != 0) O << " ||\n " << IndentStr; in EmitAction()
144 O << IndentStr << "}\n"; in EmitAction()
148 O << IndentStr << "if (!" << CC->getName() in EmitAction()
150 << IndentStr << " return false;\n"; in EmitAction()
157 O << IndentStr << "if (unsigned Reg = State.AllocateReg(" << Name in EmitAction()
164 O << IndentStr << "static const MCPhysReg RegList" << ++Counter in EmitAction()
166 O << IndentStr << " "; in EmitAction()
176 O << "\n" << IndentStr << "};\n"; in EmitAction()
177 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
180 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
185 O << IndentStr << " (void)State.AllocateStack("; in EmitAction()
190 << IndentStr in EmitAction()
198 << IndentStr in EmitAction()
204 O << IndentStr << " return false;\n"; in EmitAction()
205 O << IndentStr << "}\n"; in EmitAction()
214 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
222 O << IndentStr << "static const MCPhysReg RegList" << RegListNumber in EmitAction()
224 O << IndentStr << " "; in EmitAction()
228 O << "\n" << IndentStr << "};\n"; in EmitAction()
230 O << IndentStr << "static const MCPhysReg RegList" in EmitAction()
232 O << IndentStr << " "; in EmitAction()
236 O << "\n" << IndentStr << "};\n"; in EmitAction()
238 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
242 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
244 O << IndentStr << " return false;\n"; in EmitAction()
245 O << IndentStr << "}\n"; in EmitAction()
250 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction()
255 O << "\n" << IndentStr in EmitAction()
263 << IndentStr in EmitAction()
267 O << ");\n" << IndentStr in EmitAction()
270 O << IndentStr << "return false;\n"; in EmitAction()
278 O << IndentStr << "static const MCPhysReg ShadowRegList" in EmitAction()
280 O << IndentStr << " "; in EmitAction()
284 O << "\n" << IndentStr << "};\n"; in EmitAction()
286 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction()
289 O << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset" in EmitAction()
291 O << IndentStr << "return false;\n"; in EmitAction()
295 O << IndentStr << "LocVT = " << getEnumName(DestVT) <<";\n"; in EmitAction()
297 O << IndentStr << "LocInfo = CCValAssign::FPExt;\n"; in EmitAction()
299 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
300 << IndentStr << " LocInfo = CCValAssign::SExt;\n" in EmitAction()
301 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
302 << IndentStr << " LocInfo = CCValAssign::ZExt;\n" in EmitAction()
303 << IndentStr << "else\n" in EmitAction()
304 << IndentStr << " LocInfo = CCValAssign::AExt;\n"; in EmitAction()
309 O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n"; in EmitAction()
315 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
316 << IndentStr << " LocInfo = CCValAssign::SExtUpper;\n" in EmitAction()
317 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
318 << IndentStr << " LocInfo = CCValAssign::ZExtUpper;\n" in EmitAction()
319 << IndentStr << "else\n" in EmitAction()
320 << IndentStr << " LocInfo = CCValAssign::AExtUpper;\n"; in EmitAction()
324 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
325 O << IndentStr << "LocInfo = CCValAssign::BCvt;\n"; in EmitAction()
328 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
329 O << IndentStr << "LocInfo = CCValAssign::Trunc;\n"; in EmitAction()
332 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
333 O << IndentStr << "LocInfo = CCValAssign::Indirect;\n"; in EmitAction()
337 O << IndentStr << "State.HandleByVal(ValNo, ValVT, LocVT, LocInfo, " in EmitAction()
339 O << IndentStr << "return false;\n"; in EmitAction()
341 O << IndentStr in EmitAction()
344 O << IndentStr << " return false;\n"; in EmitAction()