Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTLSVariableHoist.cpp199 Instruction *LastPos = nullptr; in findInsertPos()
207 Pos = getDomInst(LastPos, Pos); in findInsertPos()
208 LastPos = Pos; in findInsertPos()
211 assert(LastPos && "Unexpected insert position!"); in findInsertPos()
212 BasicBlock *Parent = LastPos->getParent(); in findInsertPos()
214 return LastPos->getIterator(); in findInsertPos()
200 Instruction *LastPos = nullptr; findInsertPos() local
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.cpp336 int LastPos = -1; in __nsan_dump_shadow_mem() local
344 if (ValueTy == LastValueTy && pos == LastPos + 1) { in __nsan_dump_shadow_mem()
345 ++LastPos; in __nsan_dump_shadow_mem()
348 LastPos = pos == 0 ? 0 : -1; in __nsan_dump_shadow_mem()
357 if (LastPos == sizeof(float) - 1) { in __nsan_dump_shadow_mem()
366 if (LastPos == sizeof(double) - 1) { in __nsan_dump_shadow_mem()
375 if (LastPos == sizeof(long double) - 1) { in __nsan_dump_shadow_mem()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp2170 size_t LastPos = 0; in Check() local
2179 LastPos = CheckDag(SM, Buffer, NotStrings, Req, Diags); in Check()
2180 if (LastPos == StringRef::npos) in Check()
2185 size_t LastMatchEnd = LastPos; in Check()
2205 FirstMatchPos = LastPos + MatchPos; in Check()
2216 size_t MatchPos = FirstMatchPos - LastPos; in Check()
2217 StringRef MatchBuffer = Buffer.substr(LastPos); in Check()
2218 StringRef SkippedRegion = Buffer.substr(LastPos, MatchPos); in Check()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp3049 size_t Pos = 0, LastPos = 0; in replaceCRLF() local
3052 Pos = Code.find("\r\n", LastPos); in replaceCRLF()
3053 if (Pos == LastPos) { in replaceCRLF()
3054 ++LastPos; in replaceCRLF()
3058 NewCode += Code.substr(LastPos); in replaceCRLF()
3061 NewCode += Code.substr(LastPos, Pos - LastPos) + "\n"; in replaceCRLF()
3062 LastPos = Pos + 2; in replaceCRLF()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp289 uint32_t Pos = 0, LastPos = 0; in stripDirPrefix() local
293 LastPos = Pos; in stripDirPrefix()
299 return PathNameStr.substr(LastPos); in stripDirPrefix()
H A DInstrProfWriter.cpp70 const uint64_t LastPos = FDOStream.tell(); in patch() local
79 FDOStream.seek(LastPos); in patch()