Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp234 static void ParseConstraint(StringRef CStr, CGIOperandList &Ops, in ParseConstraint() argument
237 StringRef::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
238 StringRef::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
239 StringRef Tok = CStr.substr(start, wpos - start); in ParseConstraint()
241 StringRef Name = CStr.substr(wpos+1); in ParseConstraint()
246 Rec->getName() + "': '" + CStr + "'"); in ParseConstraint()
261 StringRef::size_type pos = CStr.find_first_of('='); in ParseConstraint()
264 Rec->getLoc(), "Unrecognized constraint '" + CStr + in ParseConstraint()
266 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
269 wpos = CStr.find_first_of(" \t", start); in ParseConstraint()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Option/
H A DOptTable.cpp344 const char *CStr = Args.getArgString(Index); in parseOneArgGrouped() local
345 StringRef Str(CStr); in parseOneArgGrouped()
347 return new Arg(getOption(TheInputOptionID), Str, Index++, CStr); in parseOneArgGrouped()
388 return new Arg(getOption(TheUnknownOptionID), Str, Index++, CStr); in parseOneArgGrouped()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c67 value cstr_to_string_option(const char *CStr, mlsize_t Len) { in cstr_to_string_option() argument
68 if (!CStr) in cstr_to_string_option()
71 memcpy((char *)String_val(String), CStr, Len); in cstr_to_string_option()
528 const char *CStr = LLVMGetStructName(Ty); in llvm_struct_name() local
530 if (!CStr) in llvm_struct_name()
532 Len = strlen(CStr); in llvm_struct_name()
533 return cstr_to_string_option(CStr, Len); in llvm_struct_name()
830 const char *CStr = LLVMGetMDString(V, &Len); in llvm_get_mdstring() local
831 return cstr_to_string_option(CStr, Len); in llvm_get_mdstring()
965 const char *CStr; in llvm_string_of_const() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp88 const char *CStr = StrData.getCStr(&Offset, &Err); in dumpDebugStrings() local
91 DebugStr.push_back(CStr); in dumpDebugStrings()
295 NewValue.CStr = Val.getValue(); in dumpDebugInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp203 if (!FormValue.CStr.empty() || !IO.outputting()) in mapping()
204 IO.mapOptional("CStr", FormValue.CStr); in mapping()
H A DDWARFEmitter.cpp378 OS.write(FormVal->CStr.data(), FormVal->CStr.size()); in writeDIE()
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c382 static void PrintCString(const char *CStr) { in PrintCString() argument
383 if (CStr != NULL && CStr[0] != '\0') { in PrintCString()
384 for ( ; *CStr; ++CStr) { in PrintCString()
385 const char C = *CStr; in PrintCString()
398 static void PrintCStringWithPrefix(const char *Prefix, const char *CStr) { in PrintCStringWithPrefix() argument
400 PrintCString(CStr); in PrintCStringWithPrefix()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp1262 const char *CStr = NTE.getString(); in verifyNameIndexEntries() local
1263 if (!CStr) { in verifyNameIndexEntries()
1269 StringRef Str(CStr); in verifyNameIndexEntries()
H A DDWARFContext.cpp535 const char *CStr = StrData.getCStr(&Offset, &Err); in dump() local
541 OS.write_escaped(CStr); in dump()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h94 StringRef CStr; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4130 StringRef CStr(S.getPointer()); in validateCoherencyBits() local
4131 S = SMLoc::getFromPointer(&CStr.data()[CStr.find("scc")]); in validateCoherencyBits()
4147 StringRef CStr(S.getPointer()); in validateCoherencyBits() local
4148 S = SMLoc::getFromPointer(&CStr.data()[CStr.find("glc")]); in validateCoherencyBits()