Home
last modified time | relevance | path

Searched refs:UIntTy (Results 1 – 19 of 19) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DSourceLocationEncoding.h43 using UIntTy = SourceLocation::UIntTy; variable
46 static UIntTy encodeRaw(UIntTy Raw) { in encodeRaw()
49 static UIntTy decodeRaw(UIntTy Raw) { in decodeRaw()
88 using UIntTy = SourceLocation::UIntTy; variable
94 UIntTy &Prev;
98 static UIntTy zigZag(UIntTy V) { in zigZag()
99 UIntTy Sign = (V & (1 << (UIntBits - 1))) ? UIntTy(-1) : UIntTy(0); in zigZag()
102 static UIntTy zagZig(UIntTy V) { return (V >> 1) ^ -(V & 1); } in zagZig()
106 EncodedTy encodeRaw(UIntTy Raw) { in encodeRaw()
112 UIntTy Delta = Rotated - Prev; in encodeRaw()
[all …]
H A DASTWriter.h350 SourceLocation::UIntTy Loc;
468 std::vector<SourceLocation::UIntTy> NonAffectingOffsetAdjustments;
489 SourceLocation::UIntTy getAdjustedOffset(SourceLocation::UIntTy Offset) const;
492 SourceLocation::UIntTy getAdjustment(SourceLocation::UIntTy Offset) const;
H A DASTBitCodes.h179 SourceLocation::UIntTy Begin;
182 SourceLocation::UIntTy End;
203 SourceLocation::UIntTy Begin;
205 SourceLocation::UIntTy End;
243 SourceLocation::UIntTy Loc = 0;
H A DModuleFile.h285 SourceLocation::UIntTy SLocEntryBaseOffset = 0;
296 ContinuousRangeMap<SourceLocation::UIntTy, SourceLocation::IntTy, 2>
H A DASTReader.h2159 int getSLocEntryID(SourceLocation::UIntTy SLocOffset) override;
2162 llvm::Expected<SourceLocation::UIntTy> readSLocOffset(ModuleFile *F,
2223 SourceLocation ReadUntranslatedSourceLocation(SourceLocation::UIntTy Raw,
2230 SourceLocation::UIntTy Raw,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h483 SourceLocation::UIntTy Offset : OffsetBits;
485 SourceLocation::UIntTy IsExpansion : 1;
526 static SLocEntry get(SourceLocation::UIntTy Offset, in get()
733 SourceLocation::UIntTy NextLocalOffset;
739 SourceLocation::UIntTy CurrentLoadedOffset;
743 static const SourceLocation::UIntTy MaxLoadedOffset =
744 1ULL << (8 * sizeof(SourceLocation::UIntTy) - 1);
1372 SourceLocation::UIntTy LocOffs = Loc.getOffset();
1566 SourceLocation::UIntTy Offs = Loc.getOffset();
1692 SourceLocation::UIntTy LHSOffset = LHS.getOffset(); in isBeforeInSLocAddrSpace()
[all …]
H A DSourceLocation.h95 using UIntTy = uint32_t;
99 UIntTy ID = 0;
101 enum : UIntTy { MacroIDBit = 1ULL << (8 * sizeof(UIntTy) - 1) };
117 UIntTy getOffset() const { return ID & ~MacroIDBit; }
119 static SourceLocation getFileLoc(UIntTy ID) {
126 static SourceLocation getMacroLoc(UIntTy ID) {
148 UIntTy getRawEncoding() const { return ID; }
154 static SourceLocation getFromRawEncoding(UIntTy Encoding) {
174 return getFromRawEncoding((SourceLocation::UIntTy)(uintptr_t)Encoding);
498 constexpr clang::SourceLocation::UIntTy Zero = 0;
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp452 std::pair<int, SourceLocation::UIntTy>
537 SourceLocation::UIntTy LoadedOffset) { in createFileID()
557 SourceLocation::UIntTy LoadedOffset, in createFileID()
571 SourceLocation::UIntTy LoadedOffset, in createFileID()
636 SourceLocation::UIntTy LoadedOffset) { in createExpansionLoc()
831 SourceLocation::UIntTy MidOffset = in getFileIDLocal()
1562 SourceLocation::UIntTy NextOffset; in getFileIDSize()
1770 SourceLocation::UIntTy SpellBeginOffs = SpellLoc.getOffset(); in associateFileChunkWithMacroArgExp()
1783 SourceLocation::UIntTy SpellFIDBeginOffs = Entry.getOffset(); in associateFileChunkWithMacroArgExp()
1877 SourceLocation::UIntTy MacroArgBeginOffs = I->first; in getMacroArgExpandedLocation()
[all …]
H A DSourceLocation.cpp54 return llvm::DenseMapInfo<UIntTy>::getHashValue(ID); in getHashValue()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp360 unsigned Length = sizeof(SourceLocation::UIntTy); in getLocalDataLength()
372 Length += sizeof(SourceLocation::UIntTy); in getLocalDataLength()
397 SourceLocation::UIntTy Raw; in LoadSourceLocation()
437 LoadSourceLocation(Data, Offset + sizeof(SourceLocation::UIntTy))); in getLocalSourceRange()
492 SourceLocation::UIntTy Raw = Loc.getRawEncoding(); in SaveSourceLocation()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h37 SourceLocation::UIntTy Loc;
47 SourceLocation::UIntTy UintData;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h473 template <class UIntTy>
474 void emitBlob(ArrayRef<UIntTy> Bytes, bool ShouldEmitSize = true) {
483 assert(llvm::all_of(Bytes, [](UIntTy B) { return isUInt<8>(B); }));
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclarationName.h673 SourceLocation::UIntTy BeginOpNameLoc;
674 SourceLocation::UIntTy EndOpNameLoc;
679 SourceLocation::UIntTy OpNameLoc;
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp973 SourceLocation::UIntTy relativeOffset = 0; in getExpansionLocForMacroDefLoc()
1038 SourceLocation::UIntTy FullLength = in updateConsecutiveMacroArgTokens()
H A DModuleMap.cpp1475 SourceLocation::UIntTy Location;
H A DLexer.cpp598 const SourceLocation::UIntTy StartOffset = 1; in ComputePreamble()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2251 SourceLocation::UIntTy NextOffset = SourceMgr.getNextLocalOffset(); in WriteSourceManagerBlock()
5473 SourceLocation::UIntTy
5474 ASTWriter::getAdjustedOffset(SourceLocation::UIntTy Offset) const { in getAdjustedOffset()
5478 SourceLocation::UIntTy
5479 ASTWriter::getAdjustment(SourceLocation::UIntTy Offset) const { in getAdjustment()
5492 auto Contains = [](const SourceRange &Range, SourceLocation::UIntTy Offset) { in getAdjustment()
H A DASTReader.cpp1462 llvm::Expected<SourceLocation::UIntTy>
1498 int ASTReader::getSLocEntryID(SourceLocation::UIntTy SLocOffset) { in getSLocEntryID()
1509 [&](SourceLocation::UIntTy Offset, std::size_t LocalIndex) { in getSLocEntryID()
1603 SourceLocation::UIntTy BaseOffset = F->SLocEntryBaseOffset; in ReadSLocEntry()
3631 SourceLocation::UIntTy SLocSpaceSize = Record[1]; in ReadASTBlock()
4041 ContinuousRangeMap<SourceLocation::UIntTy, SourceLocation::IntTy, in ReadModuleOffsetMap()
4076 SourceLocation::UIntTy SLocOffset = in ReadModuleOffsetMap()
4101 constexpr SourceLocation::UIntTy SLocNone = in ReadModuleOffsetMap()
4102 std::numeric_limits<SourceLocation::UIntTy>::max(); in ReadModuleOffsetMap()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp11353 SourceLocation::UIntTy LocEncoding; in getAddressOfLocalVariable()
11359 SourceLocation::UIntTy LocEncoding, Address Addr, in getAddressOfLocalVariable()