Searched refs:getAsCString (Results 1 – 9 of 9) sorted by relevance
114 Optional<const char *> getAsCString() const;163 return V->getAsCString(); in toString()175 if (auto S = V->getAsCString())
190 Str = CA->getAsCString(); in lowerPrintfForGpu()260 : (strlen(CA->getAsCString().data()) + 1); in lowerPrintfForGpu()444 S = Init->isZeroValue() ? "" : CA->getAsCString().data(); in lowerPrintfForGpu()
1034 if (Optional<const char *> source = Entry.Source.getAsCString()) in getSourceByIndex()1053 Optional<const char *> Name = Entry.Name.getAsCString(); in getFileNameByIndex()1068 IncludeDir = IncludeDirectories[Entry.DirIdx].getAsCString().getValue(); in getFileNameByIndex()1072 IncludeDirectories[Entry.DirIdx - 1].getAsCString().getValue(); in getFileNameByIndex()
581 Optional<const char *> DbgStr = getAsCString(); in dumpString()590 Optional<const char *> DWARFFormValue::getAsCString() const { in getAsCString() function in DWARFFormValue
269 OS << " \"" << Name->getAsCString() << "\""; in print()
1118 if (Optional<const char *> Name = NameAttr->getAsCString()) in addLocalsForDie()
254 name = (".objc_class_name_" + ca->getAsCString()).str(); in objcClassNameFromExpression()
663 StringRef getAsCString() const {
422 Arr->isCString() ? Arr->getAsCString() : Arr->getAsString(); in getPGOFuncNameVarInitializer()