• Home
  • Raw
  • Download

Lines Matching refs:CStr

198 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) {  in ParseConstraint()  argument
200 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
201 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
202 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
204 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
207 throw "Illegal format for @earlyclobber constraint: '" + CStr + "'"; in ParseConstraint()
220 std::string::size_type pos = CStr.find_first_of('='); in ParseConstraint()
222 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
223 std::string Name = CStr.substr(start, pos - start); in ParseConstraint()
228 throw "Illegal format for tied-to constraint: '" + CStr + "'"; in ParseConstraint()
232 Name = CStr.substr(pos+1); in ParseConstraint()
235 throw "Illegal format for tied-to constraint: '" + CStr + "'"; in ParseConstraint()
240 throw "Illegal tied-to operand constraint '" + CStr + "'"; in ParseConstraint()
251 static void ParseConstraints(const std::string &CStr, CGIOperandList &Ops) { in ParseConstraints() argument
252 if (CStr.empty()) return; in ParseConstraints()
257 bidx = CStr.find_first_not_of(delims); in ParseConstraints()
259 eidx = CStr.find_first_of(delims, bidx); in ParseConstraints()
261 eidx = CStr.length(); in ParseConstraints()
263 ParseConstraint(CStr.substr(bidx, eidx - bidx), Ops); in ParseConstraints()
264 bidx = CStr.find_first_not_of(delims, eidx); in ParseConstraints()