Home
last modified time | relevance | path

Searched refs:getAsCString (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDwarfGenerator.cpp340 assert(Include.getAsCString() && "expected a string form for include dir"); in writeV2IncludeAndFileTable()
341 writeCString(*Include.getAsCString(), Asm); in writeV2IncludeAndFileTable()
346 assert(File.Name.getAsCString() && "expected a string form for file name"); in writeV2IncludeAndFileTable()
347 writeCString(*File.Name.getAsCString(), Asm); in writeV2IncludeAndFileTable()
364 assert(Include.getAsCString() && "expected a string form for include dir"); in writeV5IncludeAndFileTable()
365 writeCString(*Include.getAsCString(), Asm); in writeV5IncludeAndFileTable()
375 assert(File.Name.getAsCString() && "expected a string form for file name"); in writeV5IncludeAndFileTable()
376 writeCString(*File.Name.getAsCString(), Asm); in writeV5IncludeAndFileTable()
DDWARFDebugLineTest.cpp173 EXPECT_STREQ(*Prologue.IncludeDirectories[0].getAsCString(), "a dir"); in checkDefaultPrologue()
177 EXPECT_STREQ(*Prologue.FileNames[0].Name.getAsCString(), "a file"); in checkDefaultPrologue()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h114 Optional<const char *> getAsCString() const;
163 return V->getAsCString(); in toString()
175 if (auto S = V->getAsCString())
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h119 Optional<const char *> getAsCString() const;
168 return V->getAsCString(); in toString()
180 if (auto S = V->getAsCString())
/external/llvm-project/llvm/lib/Transforms/IPO/
DAnnotation2Metadata.cpp69 I.addAnnotationMetadata(StrData->getAsCString()); in convertAnnotation2Metadata()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h78 Optional<const char *> getAsCString(const DWARFUnit *U) const;
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp190 Str = CA->getAsCString(); in lowerPrintfForGpu()
260 : (strlen(CA->getAsCString().data()) + 1); in lowerPrintfForGpu()
437 S = Init->isZeroValue() ? "" : CA->getAsCString().data(); in lowerPrintfForGpu()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp190 Str = CA->getAsCString(); in lowerPrintfForGpu()
260 : (strlen(CA->getAsCString().data()) + 1); in lowerPrintfForGpu()
444 S = Init->isZeroValue() ? "" : CA->getAsCString().data(); in lowerPrintfForGpu()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp496 Optional<const char *> DbgStr = getAsCString(U); in dumpString()
505 Optional<const char *> DWARFFormValue::getAsCString(const DWARFUnit *U) const { in getAsCString() function in DWARFFormValue
DDWARFDebugInfoEntry.cpp264 Optional<const char *> Result = FormValue.getAsCString(U); in getAttributeValueAsString()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp1034 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()
DDWARFFormValue.cpp581 Optional<const char *> DbgStr = getAsCString(); in dumpString()
590 Optional<const char *> DWARFFormValue::getAsCString() const { in getAsCString() function in DWARFFormValue
DDWARFExpression.cpp269 OS << " \"" << Name->getAsCString() << "\""; in print()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp583 Optional<const char *> DbgStr = getAsCString(); in dumpString()
592 Optional<const char *> DWARFFormValue::getAsCString() const { in getAsCString() function in DWARFFormValue
DDWARFDebugLine.cpp1334 if (Optional<const char *> source = Entry.Source.getAsCString()) in getSourceByIndex()
1353 Optional<const char *> Name = Entry.Name.getAsCString(); in getFileNameByIndex()
1375 IncludeDir = IncludeDirectories[Entry.DirIdx].getAsCString().getValue(); in getFileNameByIndex()
1379 IncludeDirectories[Entry.DirIdx - 1].getAsCString().getValue(); in getFileNameByIndex()
DDWARFExpression.cpp217 OS << " \"" << Name->getAsCString() << "\""; in prettyPrintBaseTypeRef()
/external/llvm-project/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp294 if (auto Val = FormValue.getValue().getAsCString()) in dumpDebugInfo()
/external/llvm/lib/LTO/
DLTOModule.cpp263 name = (".objc_class_name_" + ca->getAsCString()).str(); in objcClassNameFromExpression()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOModule.cpp254 name = (".objc_class_name_" + ca->getAsCString()).str(); in objcClassNameFromExpression()
/external/llvm-project/llvm/lib/LTO/
DLTOModule.cpp258 name = (".objc_class_name_" + ca->getAsCString()).str(); in objcClassNameFromExpression()
/external/llvm/lib/ProfileData/
DInstrProf.cpp282 Arr->isCString() ? Arr->getAsCString() : Arr->getAsString(); in getPGOFuncNameVarInitializer()
/external/llvm/include/llvm/IR/
DConstants.h625 StringRef getAsCString() const {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h663 StringRef getAsCString() const {
/external/llvm-project/llvm/include/llvm/IR/
DConstants.h665 StringRef getAsCString() const {
/external/llvm-project/llvm/lib/ProfileData/
DInstrProf.cpp426 Arr->isCString() ? Arr->getAsCString() : Arr->getAsString(); in getPGOFuncNameVarInitializer()

12