Lines Matching refs:IndentStr

127   std::string IndentStr = std::string(Indent, ' ');  in EmitAction()  local
130 O << IndentStr << "if ("; in EmitAction()
136 if (i != 0) O << " ||\n " << IndentStr; in EmitAction()
149 O << IndentStr << "}\n"; in EmitAction()
153 O << IndentStr << "if (!" << CC->getName() in EmitAction()
155 << IndentStr << " return false;\n"; in EmitAction()
162 O << IndentStr << "if (unsigned Reg = State.AllocateReg(" << Name in EmitAction()
169 O << IndentStr << "static const MCPhysReg RegList" << ++Counter in EmitAction()
171 O << IndentStr << " "; in EmitAction()
181 O << "\n" << IndentStr << "};\n"; in EmitAction()
182 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
185 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
190 O << IndentStr << " (void)State.AllocateStack("; in EmitAction()
195 << IndentStr in EmitAction()
203 << IndentStr in EmitAction()
209 O << IndentStr << " return false;\n"; in EmitAction()
210 O << IndentStr << "}\n"; in EmitAction()
219 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
227 O << IndentStr << "static const MCPhysReg RegList" << RegListNumber in EmitAction()
229 O << IndentStr << " "; in EmitAction()
233 O << "\n" << IndentStr << "};\n"; in EmitAction()
235 O << IndentStr << "static const MCPhysReg RegList" in EmitAction()
237 O << IndentStr << " "; in EmitAction()
241 O << "\n" << IndentStr << "};\n"; in EmitAction()
243 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
247 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
249 O << IndentStr << " return false;\n"; in EmitAction()
250 O << IndentStr << "}\n"; in EmitAction()
255 O << IndentStr << "int64_t Offset" << ++Counter in EmitAction()
260 O << "\n" << IndentStr in EmitAction()
268 << IndentStr in EmitAction()
272 O << ");\n" << IndentStr in EmitAction()
275 O << IndentStr << "return false;\n"; in EmitAction()
283 O << IndentStr << "static const MCPhysReg ShadowRegList" in EmitAction()
285 O << IndentStr << " "; in EmitAction()
289 O << "\n" << IndentStr << "};\n"; in EmitAction()
291 O << IndentStr << "int64_t Offset" << ++Counter in EmitAction()
294 O << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset" in EmitAction()
296 O << IndentStr << "return false;\n"; in EmitAction()
300 O << IndentStr << "LocVT = " << getEnumName(DestVT) <<";\n"; in EmitAction()
302 O << IndentStr << "LocInfo = CCValAssign::FPExt;\n"; in EmitAction()
304 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
305 << IndentStr << " LocInfo = CCValAssign::SExt;\n" in EmitAction()
306 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
307 << IndentStr << " LocInfo = CCValAssign::ZExt;\n" in EmitAction()
308 << IndentStr << "else\n" in EmitAction()
309 << IndentStr << " LocInfo = CCValAssign::AExt;\n"; in EmitAction()
314 O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n"; in EmitAction()
320 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
321 << IndentStr << " LocInfo = CCValAssign::SExtUpper;\n" in EmitAction()
322 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
323 << IndentStr << " LocInfo = CCValAssign::ZExtUpper;\n" in EmitAction()
324 << IndentStr << "else\n" in EmitAction()
325 << IndentStr << " LocInfo = CCValAssign::AExtUpper;\n"; in EmitAction()
329 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
330 O << IndentStr << "LocInfo = CCValAssign::BCvt;\n"; in EmitAction()
333 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
334 O << IndentStr << "LocInfo = CCValAssign::Trunc;\n"; in EmitAction()
337 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
338 O << IndentStr << "LocInfo = CCValAssign::Indirect;\n"; in EmitAction()
342 O << IndentStr << "State.HandleByVal(ValNo, ValVT, LocVT, LocInfo, " in EmitAction()
344 O << IndentStr << "return false;\n"; in EmitAction()
346 O << IndentStr in EmitAction()
349 O << IndentStr << " return false;\n"; in EmitAction()