Home
last modified time | relevance | path

Searched refs:SourceLocationEncoding (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DSourceLocationEncoding.h42 class SourceLocationEncoding {
90 constexpr static auto UIntBits = SourceLocationEncoding::UIntBits;
109 UIntTy Rotated = SourceLocationEncoding::encodeRaw(Raw); in encodeRaw()
122 return SourceLocationEncoding::decodeRaw(Prev = Encoded); in decodeRaw()
123 return SourceLocationEncoding::decodeRaw(Prev += zagZig(Encoded - 1)); in decodeRaw()
152 inline uint64_t SourceLocationEncoding::encode(SourceLocation Loc, in encode()
157 SourceLocationEncoding::decode(uint64_t Encoded, SourceLocationSequence *Seq) { in decode()
H A DASTReader.h2164 return SourceLocationEncoding::decode(Raw, Seq);
/llvm-project-15.0.7/clang/unittests/Serialization/
H A DSourceLocationEncodingTest.cpp26 SourceLocationEncoding::encode(SourceLocation::getFromRawEncoding(Loc)); in roundTrip()
30 SourceLocationEncoding::decode(ActualEncoded).getRawEncoding(); in roundTrip()
41 ActualEncoded.push_back(SourceLocationEncoding::encode(
51 SourceLocation Loc = SourceLocationEncoding::decode(L, Seq);
64 TEST(SourceLocationEncoding, Individual) { in TEST() argument
75 TEST(SourceLocationEncoding, Sequence) { in TEST() argument
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp5234 Record.push_back(SourceLocationEncoding::encode(Loc, Seq)); in AddSourceLocation()