Searched refs:LastPos (Results 1 – 5 of 5) sorted by relevance
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | TLSVariableHoist.cpp | 200 Instruction *LastPos = nullptr; in findInsertPos() local 208 Pos = getDomInst(LastPos, Pos); in findInsertPos() 209 LastPos = Pos; in findInsertPos() 212 assert(LastPos && "Unexpected insert position!"); in findInsertPos() 213 BasicBlock *Parent = LastPos->getParent(); in findInsertPos() 215 return LastPos->getIterator(); in findInsertPos()
|
/openbsd/gnu/llvm/llvm/lib/FileCheck/ |
H A D | FileCheck.cpp | 2270 size_t LastPos = 0; in Check() local 2279 LastPos = CheckDag(SM, Buffer, NotStrings, Req, Diags); in Check() 2280 if (LastPos == StringRef::npos) in Check() 2285 size_t LastMatchEnd = LastPos; in Check() 2305 FirstMatchPos = LastPos + MatchPos; in Check() 2316 size_t MatchPos = FirstMatchPos - LastPos; in Check() 2317 StringRef MatchBuffer = Buffer.substr(LastPos); in Check() 2318 StringRef SkippedRegion = Buffer.substr(LastPos, MatchPos); in Check()
|
/openbsd/gnu/llvm/llvm/lib/ProfileData/ |
H A D | InstrProfWriter.cpp | 67 const uint64_t LastPos = FDOStream.tell(); in patch() local 76 FDOStream.seek(LastPos); in patch()
|
H A D | InstrProf.cpp | 274 uint32_t Pos = 0, LastPos = 0; in stripDirPrefix() local 278 LastPos = Pos; in stripDirPrefix() 284 return PathNameStr.substr(LastPos); in stripDirPrefix()
|
/openbsd/gnu/llvm/clang/lib/Format/ |
H A D | Format.cpp | 2838 size_t Pos = 0, LastPos = 0; in replaceCRLF() local 2841 Pos = Code.find("\r\n", LastPos); in replaceCRLF() 2842 if (Pos == LastPos) { in replaceCRLF() 2843 ++LastPos; in replaceCRLF() 2847 NewCode += Code.substr(LastPos); in replaceCRLF() 2850 NewCode += Code.substr(LastPos, Pos - LastPos) + "\n"; in replaceCRLF() 2851 LastPos = Pos + 2; in replaceCRLF()
|