Home
last modified time | relevance | path

Searched refs:LastPos (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DSandboxVectorizer.cpp89 size_t LastPos = DelimPos != 0 ? DelimPos + 1 : DelimPos; in allowFile() local
90 DelimPos = AllowFiles.find(AllowFilesDelim, LastPos); in allowFile()
91 auto FileNameToMatch = AllowFiles.substr(LastPos, DelimPos - LastPos); in allowFile()
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.cpp362 int LastPos = -1; in __nsan_dump_shadow_mem() local
370 if (ValueTy == LastValueTy && pos == LastPos + 1) { in __nsan_dump_shadow_mem()
371 ++LastPos; in __nsan_dump_shadow_mem()
374 LastPos = pos == 0 ? 0 : -1; in __nsan_dump_shadow_mem()
383 if (LastPos == sizeof(float) - 1) { in __nsan_dump_shadow_mem()
392 if (LastPos == sizeof(double) - 1) { in __nsan_dump_shadow_mem()
401 if (LastPos == sizeof(long double) - 1) { in __nsan_dump_shadow_mem()
/freebsd/contrib/llvm-project/llvm/lib/CGData/
H A DCodeGenDataWriter.cpp25 const uint64_t LastPos = FDOStream.tell(); in patch() local
34 FDOStream.seek(LastPos); in patch()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp279 const uint64_t LastPos = FDOStream.tell(); in patch() local
288 FDOStream.seek(LastPos); in patch()
331 uint32_t Pos = 0, LastPos = 0; in stripDirPrefix() local
335 LastPos = Pos; in stripDirPrefix()
341 return PathNameStr.substr(LastPos); in stripDirPrefix()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp2207 size_t LastPos = 0; in Check() local
2216 LastPos = CheckDag(SM, Buffer, NotStrings, Req, Diags); in Check()
2217 if (LastPos == StringRef::npos) in Check()
2222 size_t LastMatchEnd = LastPos; in Check()
2242 FirstMatchPos = LastPos + MatchPos; in Check()
2253 size_t MatchPos = FirstMatchPos - LastPos; in Check()
2254 StringRef MatchBuffer = Buffer.substr(LastPos); in Check()
2255 StringRef SkippedRegion = Buffer.substr(LastPos, MatchPos); in Check()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp3218 size_t Pos = 0, LastPos = 0; in replaceCRLF() local
3221 Pos = Code.find("\r\n", LastPos); in replaceCRLF()
3222 if (Pos == LastPos) { in replaceCRLF()
3223 ++LastPos; in replaceCRLF()
3227 NewCode += Code.substr(LastPos); in replaceCRLF()
3230 NewCode += Code.substr(LastPos, Pos - LastPos) + "\n"; in replaceCRLF()
3231 LastPos = Pos + 2; in replaceCRLF()