Home
last modified time | relevance | path

Searched refs:SourceStr (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/include/
H A DSourceInfo.h42 const std::string SourceStr; variable
68 std::size_t Begin = SourceStr.find(';'); in getSubstring()
69 std::size_t End = SourceStr.find(';', Begin + 1); in getSubstring()
72 End = SourceStr.find(';', Begin + 1); in getSubstring()
74 return SourceStr.substr(Begin + 1, End - Begin - 1); in getSubstring()
85 : SourceStr(initStr(Loc)), Name(getSubstring(1)), in SourceInfo()
90 : SourceStr(initStr(Name)), Name(getSubstring(0)), in SourceInfo()
96 const char *getProfileLocation() const { return SourceStr.data(); } in getProfileLocation()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h998 auto SourceStr = Source.toStringRef(TmpBuffer); in allocateString() local
999 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size()); in allocateString()
1000 llvm::copy(SourceStr, AllocatedBuffer); in allocateString()
1001 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size()); in allocateString()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp1298 SmallString<16> SourceStr; in checkFortifiedBuiltinMemoryFunction() local
1300 SourceSize->toString(SourceStr, /*Radix=*/10); in checkFortifiedBuiltinMemoryFunction()
1303 << FunctionName << DestinationStr << SourceStr); in checkFortifiedBuiltinMemoryFunction()