Lines Matching refs:IndentStr
96 std::string IndentStr = std::string(Indent, ' '); in EmitAction() local
99 O << IndentStr << "if ("; in EmitAction()
105 if (i != 0) O << " ||\n " << IndentStr; in EmitAction()
118 O << IndentStr << "}\n"; in EmitAction()
122 O << IndentStr << "if (!" << CC->getName() in EmitAction()
124 << IndentStr << " return false;\n"; in EmitAction()
128 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
131 O << IndentStr << "static const MCPhysReg RegList" << ++Counter in EmitAction()
133 O << IndentStr << " "; in EmitAction()
137 O << "\n" << IndentStr << "};\n"; in EmitAction()
138 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
141 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
143 O << IndentStr << " return false;\n"; in EmitAction()
144 O << IndentStr << "}\n"; in EmitAction()
153 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
161 O << IndentStr << "static const MCPhysReg RegList" << RegListNumber in EmitAction()
163 O << IndentStr << " "; in EmitAction()
167 O << "\n" << IndentStr << "};\n"; in EmitAction()
169 O << IndentStr << "static const MCPhysReg RegList" in EmitAction()
171 O << IndentStr << " "; in EmitAction()
175 O << "\n" << IndentStr << "};\n"; in EmitAction()
177 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
181 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
183 O << IndentStr << " return false;\n"; in EmitAction()
184 O << IndentStr << "}\n"; in EmitAction()
189 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction()
194 O << "\n" << IndentStr in EmitAction()
202 << IndentStr in EmitAction()
206 O << ");\n" << IndentStr in EmitAction()
209 O << IndentStr << "return false;\n"; in EmitAction()
217 O << IndentStr << "static const MCPhysReg ShadowRegList" in EmitAction()
219 O << IndentStr << " "; in EmitAction()
223 O << "\n" << IndentStr << "};\n"; in EmitAction()
225 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction()
228 O << IndentStr << "State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset" in EmitAction()
230 O << IndentStr << "return false;\n"; in EmitAction()
234 O << IndentStr << "LocVT = " << getEnumName(DestVT) <<";\n"; in EmitAction()
236 O << IndentStr << "LocInfo = CCValAssign::FPExt;\n"; in EmitAction()
238 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
239 << IndentStr << " LocInfo = CCValAssign::SExt;\n" in EmitAction()
240 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
241 << IndentStr << " LocInfo = CCValAssign::ZExt;\n" in EmitAction()
242 << IndentStr << "else\n" in EmitAction()
243 << IndentStr << " LocInfo = CCValAssign::AExt;\n"; in EmitAction()
248 O << IndentStr << "LocVT = " << getEnumName(DestVT) << ";\n"; in EmitAction()
254 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
255 << IndentStr << " LocInfo = CCValAssign::SExtUpper;\n" in EmitAction()
256 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
257 << IndentStr << " LocInfo = CCValAssign::ZExtUpper;\n" in EmitAction()
258 << IndentStr << "else\n" in EmitAction()
259 << IndentStr << " LocInfo = CCValAssign::AExtUpper;\n"; in EmitAction()
263 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
264 O << IndentStr << "LocInfo = CCValAssign::BCvt;\n"; in EmitAction()
267 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
268 O << IndentStr << "LocInfo = CCValAssign::Trunc;\n"; in EmitAction()
271 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
272 O << IndentStr << "LocInfo = CCValAssign::Indirect;\n"; in EmitAction()
276 O << IndentStr << "State.HandleByVal(ValNo, ValVT, LocVT, LocInfo, " in EmitAction()
278 O << IndentStr << "return false;\n"; in EmitAction()
280 O << IndentStr in EmitAction()
283 O << IndentStr << " return false;\n"; in EmitAction()