Lines Matching refs:IndentStr
83 std::string IndentStr = std::string(Indent, ' '); in EmitAction() local
86 O << IndentStr << "if ("; in EmitAction()
92 if (i != 0) O << " ||\n " << IndentStr; in EmitAction()
105 O << IndentStr << "}\n"; in EmitAction()
109 O << IndentStr << "if (!" << CC->getName() in EmitAction()
111 << IndentStr << " return false;\n"; in EmitAction()
115 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
118 O << IndentStr << "static const MCPhysReg RegList" << ++Counter in EmitAction()
120 O << IndentStr << " "; in EmitAction()
125 O << "\n" << IndentStr << "};\n"; in EmitAction()
126 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
129 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
131 O << IndentStr << " return false;\n"; in EmitAction()
132 O << IndentStr << "}\n"; in EmitAction()
140 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
148 O << IndentStr << "static const MCPhysReg RegList" << RegListNumber in EmitAction()
150 O << IndentStr << " "; in EmitAction()
155 O << "\n" << IndentStr << "};\n"; in EmitAction()
157 O << IndentStr << "static const MCPhysReg RegList" in EmitAction()
159 O << IndentStr << " "; in EmitAction()
164 O << "\n" << IndentStr << "};\n"; in EmitAction()
166 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
170 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
172 O << IndentStr << " return false;\n"; in EmitAction()
173 O << IndentStr << "}\n"; in EmitAction()
178 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction()
183 O << "\n" << IndentStr in EmitAction()
190 O << "\n" << IndentStr in EmitAction()
194 O << ");\n" << IndentStr in EmitAction()
197 O << IndentStr << "return false;\n"; in EmitAction()
205 O << IndentStr << "static const MCPhysReg ShadowRegList" in EmitAction()
207 O << IndentStr << " "; in EmitAction()
212 O << "\n" << IndentStr << "};\n"; in EmitAction()
214 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction()
218 O << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset" in EmitAction()
220 O << IndentStr << "return false;\n"; in EmitAction()
224 O << IndentStr << "LocVT = " << getEnumName(DestVT) <<";\n"; in EmitAction()
226 O << IndentStr << "LocInfo = CCValAssign::FPExt;\n"; in EmitAction()
228 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
229 << IndentStr << IndentStr << "LocInfo = CCValAssign::SExt;\n" in EmitAction()
230 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
231 << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExt;\n" in EmitAction()
232 << IndentStr << "else\n" in EmitAction()
233 << IndentStr << IndentStr << "LocInfo = CCValAssign::AExt;\n"; in EmitAction()
238 O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n"; in EmitAction()
243 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
244 << IndentStr << IndentStr << "LocInfo = CCValAssign::SExtUpper;\n" in EmitAction()
245 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
246 << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExtUpper;\n" in EmitAction()
247 << IndentStr << "else\n" in EmitAction()
248 << IndentStr << IndentStr << "LocInfo = CCValAssign::AExtUpper;\n"; in EmitAction()
252 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
253 O << IndentStr << "LocInfo = CCValAssign::BCvt;\n"; in EmitAction()
256 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
257 O << IndentStr << "LocInfo = CCValAssign::Indirect;\n"; in EmitAction()
261 O << IndentStr in EmitAction()
264 O << IndentStr << "return false;\n"; in EmitAction()
266 O << IndentStr in EmitAction()
269 O << IndentStr << IndentStr << "return false;\n"; in EmitAction()