Searched refs:SourceStr (Results 1 – 3 of 3) sorted by relevance
/llvm-project/offload/include/Shared/ |
H A D | SourceInfo.h | 43 const std::string SourceStr; variable 69 std::size_t Begin = SourceStr.find(';'); in getSubstring() 70 std::size_t End = SourceStr.find(';', Begin + 1); in getSubstring() 73 End = SourceStr.find(';', Begin + 1); in getSubstring() 75 return SourceStr.substr(Begin + 1, End - Begin - 1); in getSubstring() 86 : SourceStr(initStr(Loc)), Name(getSubstring(1)), in SourceInfo() 91 : SourceStr(initStr(Name)), Name(getSubstring(0)), in SourceInfo() 97 const char *getProfileLocation() const { return SourceStr.data(); } in getProfileLocation()
|
/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLink.h | 1087 auto SourceStr = Source.toStringRef(TmpBuffer); 1088 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size()); 1089 llvm::copy(SourceStr, AllocatedBuffer); 1090 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size()); 1126 auto SourceStr = Source.toStringRef(TmpBuffer); in createMutableContentBlock() 1127 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size() + 1); in createMutableContentBlock() 1128 llvm::copy(SourceStr, AllocatedBuffer); 1129 AllocatedBuffer[SourceStr.size()] = '\0'; 1130 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size() + 1); 1069 auto SourceStr = Source.toStringRef(TmpBuffer); allocateContent() local 1098 auto SourceStr = Source.toStringRef(TmpBuffer); allocateCString() local
|
/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 1445 SmallString<16> SourceStr; in checkFortifiedBuiltinMemoryFunction() 1447 SourceSize->toString(SourceStr, /*Radix=*/10); in checkFortifiedBuiltinMemoryFunction() 1450 << FunctionName << DestinationStr << SourceStr); in checkFortifiedBuiltinMemoryFunction() local
|