Home
last modified time | relevance | path

Searched refs:CStr (Results 1 – 2 of 2) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp201 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) { in ParseConstraint() argument
203 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
204 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
205 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
207 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
210 PrintFatalError("Illegal format for @earlyclobber constraint: '" + CStr + "'"); in ParseConstraint()
223 std::string::size_type pos = CStr.find_first_of('='); in ParseConstraint()
225 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
226 std::string Name = CStr.substr(start, pos - start); in ParseConstraint()
231 PrintFatalError("Illegal format for tied-to constraint: '" + CStr + "'"); in ParseConstraint()
[all …]
/minix3/external/bsd/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c289 static void PrintCString(const char *CStr) { in PrintCString() argument
290 if (CStr != NULL && CStr[0] != '\0') { in PrintCString()
291 for ( ; *CStr; ++CStr) { in PrintCString()
292 const char C = *CStr; in PrintCString()
305 static void PrintCStringWithPrefix(const char *Prefix, const char *CStr) { in PrintCStringWithPrefix() argument
307 PrintCString(CStr); in PrintCStringWithPrefix()