| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | SourceLocationEncoding.h | 45 using UIntTy = SourceLocation::UIntTy; variable 46 constexpr static unsigned UIntBits = CHAR_BIT * sizeof(UIntTy); 48 static UIntTy encodeRaw(UIntTy Raw) { in encodeRaw() 51 static UIntTy decodeRaw(UIntTy Raw) { in decodeRaw() 58 static RawLocEncoding encode(SourceLocation Loc, UIntTy BaseOffset, 64 SourceLocationEncoding::encode(SourceLocation Loc, UIntTy BaseOffset, in encode()
|
| H A D | ASTWriter.h | 387 SourceLocation::UIntTy Loc; 530 std::vector<SourceLocation::UIntTy> NonAffectingOffsetAdjustments; 560 SourceLocation::UIntTy getAdjustedOffset(SourceLocation::UIntTy Offset) const; 563 SourceLocation::UIntTy getAdjustment(SourceLocation::UIntTy Offset) const;
|
| H A D | ModuleFile.h | 294 SourceLocation::UIntTy SLocEntryBaseOffset = 0;
|
| H A D | ASTReader.h | 528 ContinuousRangeMap<SourceLocation::UIntTy, ModuleFile *, 64>; 920 SourceLocation::UIntTy RawLoc; 933 SourceLocation::UIntTy RawLoc; 1048 SourceLocation::UIntTy RawLoc; 2369 int getSLocEntryID(SourceLocation::UIntTy SLocOffset) override; 2372 llvm::Expected<SourceLocation::UIntTy> readSLocOffset(ModuleFile *F,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 482 static constexpr int OffsetBits = 8 * sizeof(SourceLocation::UIntTy) - 1; 483 SourceLocation::UIntTy Offset : OffsetBits; 485 SourceLocation::UIntTy IsExpansion : 1; 494 SourceLocation::UIntTy getOffset() const { return Offset; } in getOffset() 514 static SLocEntry getOffsetOnly(SourceLocation::UIntTy Offset) { in getOffsetOnly() 521 static SLocEntry get(SourceLocation::UIntTy Offset, const FileInfo &FI) { in get() 530 static SLocEntry get(SourceLocation::UIntTy Offset, in get() 559 virtual int getSLocEntryID(SourceLocation::UIntTy SLocOffset) = 0; 723 SmallVector<SourceLocation::UIntTy> LocalLocOffsetTable; 739 SourceLocation::UIntTy NextLocalOffset; [all …]
|
| H A D | SourceLocation.h | 98 using UIntTy = uint32_t; 102 UIntTy ID = 0; 104 enum : UIntTy { MacroIDBit = 1ULL << (8 * sizeof(UIntTy) - 1) }; 120 UIntTy getOffset() const { return ID & ~MacroIDBit; } 122 static SourceLocation getFileLoc(UIntTy ID) { 129 static SourceLocation getMacroLoc(UIntTy ID) { 151 UIntTy getRawEncoding() const { return ID; } 157 static SourceLocation getFromRawEncoding(UIntTy Encoding) { 177 return getFromRawEncoding((SourceLocation::UIntTy)(uintptr_t)Encoding); 501 constexpr clang::SourceLocation::UIntTy Zero = 0; [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 456 std::pair<int, SourceLocation::UIntTy> 458 SourceLocation::UIntTy TotalSize) { in AllocateLoadedSLocEntries() 542 SourceLocation::UIntTy LoadedOffset) { in createFileID() 562 SourceLocation::UIntTy LoadedOffset, in createFileID() 576 SourceLocation::UIntTy LoadedOffset, in createFileID() 599 SourceLocation::UIntTy LoadedOffset) { in createFileIDImpl() 661 SourceLocation::UIntTy LoadedOffset) { in createExpansionLoc() 680 SourceLocation::UIntTy LoadedOffset) { in createExpansionLocImpl() 796 FileID SourceManager::getFileIDSlow(SourceLocation::UIntTy SLocOffset) const { in getFileIDSlow() 811 FileID SourceManager::getFileIDLocal(SourceLocation::UIntTy SLocOffset) const { in getFileIDLocal() [all …]
|
| H A D | SourceLocation.cpp | 52 return llvm::DenseMapInfo<UIntTy>::getHashValue(ID); in getHashValue()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | NestedNameSpecifier.cpp | 361 unsigned Length = sizeof(SourceLocation::UIntTy); in getLocalDataLength() 373 Length += sizeof(SourceLocation::UIntTy); in getLocalDataLength() 397 SourceLocation::UIntTy Raw; in LoadSourceLocation() 425 LoadSourceLocation(Data, Offset + sizeof(SourceLocation::UIntTy))); in getLocalSourceRange() 478 SourceLocation::UIntTy Raw = Loc.getRawEncoding(); in SaveSourceLocation()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Token.h | 38 SourceLocation::UIntTy Loc; 48 SourceLocation::UIntTy UintData;
|
| H A D | TokenLexer.h | 68 SourceLocation::UIntTy MacroStartSLocOffset;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamWriter.h | 546 template <class UIntTy> 547 void emitBlob(ArrayRef<UIntTy> Bytes, bool ShouldEmitSize = true) { 556 assert(llvm::all_of(Bytes, [](UIntTy B) { return isUInt<8>(B); }));
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | InterpreterValuePrinter.cpp | 126 QualType UIntTy = Ctx.getBitIntType(/*Unsigned=*/true, PtrBits); in HandleIntegralOrEnumType() local 127 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(UIntTy); in HandleIntegralOrEnumType()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | TokenLexer.cpp | 983 SourceLocation::UIntTy relativeOffset = 0; in getExpansionLocForMacroDefLoc() 1048 SourceLocation::UIntTy FullLength = in updateConsecutiveMacroArgTokens()
|
| H A D | ModuleMapFile.cpp | 61 SourceLocation::UIntTy Location;
|
| H A D | Lexer.cpp | 641 const SourceLocation::UIntTy StartOffset = 1; in ComputePreamble()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 2455 SourceLocation::UIntTy NextOffset = SourceMgr.getNextLocalOffset(); in WriteSourceManagerBlock() 6620 SourceLocation::UIntTy 6621 ASTWriter::getAdjustedOffset(SourceLocation::UIntTy Offset) const { in getAdjustedOffset() 6625 SourceLocation::UIntTy 6626 ASTWriter::getAdjustment(SourceLocation::UIntTy Offset) const { in getAdjustment() 6639 auto Contains = [](const SourceRange &Range, SourceLocation::UIntTy Offset) { in getAdjustment() 6654 SourceLocation::UIntTy BaseOffset = 0; in getRawSourceLocationEncoding()
|
| H A D | ASTReader.cpp | 1681 llvm::Expected<SourceLocation::UIntTy> 1717 int ASTReader::getSLocEntryID(SourceLocation::UIntTy SLocOffset) { in getSLocEntryID() 1728 [&](SourceLocation::UIntTy Offset, std::size_t LocalIndex) { in getSLocEntryID() 1822 SourceLocation::UIntTy BaseOffset = F->SLocEntryBaseOffset; in ReadSLocEntry() 3936 SourceLocation::UIntTy SLocSpaceSize = Record[1]; in ReadASTBlock()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 11449 SourceLocation::UIntTy LocEncoding; in getAddressOfLocalVariable() 11455 SourceLocation::UIntTy LocEncoding, Address Addr, in getAddressOfLocalVariable()
|