Lines Matching refs:IndentStr
64 std::string IndentStr = std::string(Indent, ' '); in EmitAction() local
67 O << IndentStr << "if ("; in EmitAction()
73 if (i != 0) O << " ||\n " << IndentStr; in EmitAction()
86 O << IndentStr << "}\n"; in EmitAction()
90 O << IndentStr << "if (!" << CC->getName() in EmitAction()
92 << IndentStr << " return false;\n"; in EmitAction()
96 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
99 O << IndentStr << "static const unsigned RegList" << ++Counter in EmitAction()
101 O << IndentStr << " "; in EmitAction()
106 O << "\n" << IndentStr << "};\n"; in EmitAction()
107 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
110 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
112 O << IndentStr << " return false;\n"; in EmitAction()
113 O << IndentStr << "}\n"; in EmitAction()
122 O << IndentStr << "if (unsigned Reg = State.AllocateReg("; in EmitAction()
130 O << IndentStr << "static const unsigned RegList" << RegListNumber in EmitAction()
132 O << IndentStr << " "; in EmitAction()
137 O << "\n" << IndentStr << "};\n"; in EmitAction()
139 O << IndentStr << "static const unsigned RegList" in EmitAction()
141 O << IndentStr << " "; in EmitAction()
146 O << "\n" << IndentStr << "};\n"; in EmitAction()
148 O << IndentStr << "if (unsigned Reg = State.AllocateReg(RegList" in EmitAction()
152 O << IndentStr << " State.addLoc(CCValAssign::getReg(ValNo, ValVT, " in EmitAction()
154 O << IndentStr << " return false;\n"; in EmitAction()
155 O << IndentStr << "}\n"; in EmitAction()
160 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction()
165 O << "\n" << IndentStr << " State.getTarget().getTargetData()" in EmitAction()
170 O << "\n" << IndentStr << " State.getTarget().getTargetData()" in EmitAction()
174 O << ");\n" << IndentStr in EmitAction()
177 O << IndentStr << "return false;\n"; in EmitAction()
180 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
181 O << IndentStr << "if (ArgFlags.isSExt())\n" in EmitAction()
182 << IndentStr << IndentStr << "LocInfo = CCValAssign::SExt;\n" in EmitAction()
183 << IndentStr << "else if (ArgFlags.isZExt())\n" in EmitAction()
184 << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExt;\n" in EmitAction()
185 << IndentStr << "else\n" in EmitAction()
186 << IndentStr << IndentStr << "LocInfo = CCValAssign::AExt;\n"; in EmitAction()
189 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
190 O << IndentStr << "LocInfo = CCValAssign::BCvt;\n"; in EmitAction()
193 O << IndentStr << "LocVT = " << getEnumName(getValueType(DestTy)) <<";\n"; in EmitAction()
194 O << IndentStr << "LocInfo = CCValAssign::Indirect;\n"; in EmitAction()
198 O << IndentStr in EmitAction()
201 O << IndentStr << "return false;\n"; in EmitAction()
203 O << IndentStr in EmitAction()
206 O << IndentStr << IndentStr << "return false;\n"; in EmitAction()