Home
last modified time | relevance | path

Searched refs:BeginOffset (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/llvm/lib/XRay/
DRecordInitializer.cpp36 auto BeginOffset = OffsetPtr; in visit() local
54 assert(OffsetPtr - BeginOffset <= MetadataRecord::kMetadataBodySize); in visit()
55 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - BeginOffset); in visit()
65 auto BeginOffset = OffsetPtr; in visit() local
80 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - BeginOffset); in visit()
109 auto BeginOffset = OffsetPtr; in visit() local
143 assert(OffsetPtr > BeginOffset && in visit()
144 OffsetPtr - BeginOffset <= MetadataRecord::kMetadataBodySize); in visit()
145 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - BeginOffset); in visit()
182 auto BeginOffset = OffsetPtr; in visit() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DRecordInitializer.cpp36 auto BeginOffset = OffsetPtr; in visit() local
54 assert(OffsetPtr - BeginOffset <= MetadataRecord::kMetadataBodySize); in visit()
55 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - BeginOffset); in visit()
65 auto BeginOffset = OffsetPtr; in visit() local
80 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - BeginOffset); in visit()
109 auto BeginOffset = OffsetPtr; in visit() local
143 assert(OffsetPtr > BeginOffset && in visit()
144 OffsetPtr - BeginOffset <= MetadataRecord::kMetadataBodySize); in visit()
145 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - BeginOffset); in visit()
182 auto BeginOffset = OffsetPtr; in visit() local
[all …]
/external/clang/lib/AST/
DRawCommentList.cpp126 unsigned BeginOffset; in RawComment() local
127 std::tie(BeginFileID, BeginOffset) = in RawComment()
129 if (BeginOffset != 0) { in RawComment()
134 (!Invalid && !onlyWhitespaceOnLineBefore(Buffer, BeginOffset)); in RawComment()
154 unsigned BeginOffset; in getRawTextSlow() local
157 std::tie(BeginFileID, BeginOffset) = in getRawTextSlow()
161 const unsigned Length = EndOffset - BeginOffset; in getRawTextSlow()
174 return StringRef(BufferStart + BeginOffset, Length); in getRawTextSlow()
/external/llvm-project/clang/lib/AST/
DRawCommentList.cpp127 unsigned BeginOffset; in RawComment() local
128 std::tie(BeginFileID, BeginOffset) = in RawComment()
130 if (BeginOffset != 0) { in RawComment()
135 (!Invalid && !onlyWhitespaceOnLineBefore(Buffer, BeginOffset)); in RawComment()
155 unsigned BeginOffset; in getRawTextSlow() local
158 std::tie(BeginFileID, BeginOffset) = in getRawTextSlow()
162 const unsigned Length = EndOffset - BeginOffset; in getRawTextSlow()
175 return StringRef(BufferStart + BeginOffset, Length); in getRawTextSlow()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAbbrev.cpp28 const uint32_t BeginOffset = *OffsetPtr; in extract() local
29 Offset = BeginOffset; in extract()
44 return BeginOffset != *OffsetPtr; in extract()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAbbrev.cpp31 const uint64_t BeginOffset = *OffsetPtr; in extract() local
32 Offset = BeginOffset; in extract()
47 return BeginOffset != *OffsetPtr; in extract()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAbbrev.cpp31 const uint64_t BeginOffset = *OffsetPtr; in extract() local
32 Offset = BeginOffset; in extract()
47 return BeginOffset != *OffsetPtr; in extract()
DDWARFUnitIndex.cpp93 const uint64_t BeginOffset = *OffsetPtr; in parse() local
102 *OffsetPtr = BeginOffset; in parse()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp122 uint64_t BeginOffset; member in __anon2c0db6510211::Slice
132 Slice() : BeginOffset(), EndOffset() {} in Slice()
133 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() argument
134 : BeginOffset(BeginOffset), EndOffset(EndOffset), in Slice()
137 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
326 uint64_t BeginOffset, EndOffset; member in llvm::sroa::Partition
342 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
353 assert(BeginOffset < EndOffset && "Partitions must span some bytes!"); in size()
354 return EndOffset - BeginOffset; in size()
476 P.BeginOffset = P.EndOffset; in advance()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp161 uint64_t BeginOffset = 0; member in __anon9e1ab6b30111::Slice
173 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() argument
174 : BeginOffset(BeginOffset), EndOffset(EndOffset), in Slice()
177 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
365 uint64_t BeginOffset = 0, EndOffset = 0; member in llvm::sroa::Partition
381 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
392 assert(BeginOffset < EndOffset && "Partitions must span some bytes!"); in size()
393 return EndOffset - BeginOffset; in size()
516 P.BeginOffset = P.EndOffset; in advance()
526 P.BeginOffset = P.EndOffset; in advance()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp150 uint64_t BeginOffset = 0; member in __anon5648543f0111::Slice
162 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() argument
163 : BeginOffset(BeginOffset), EndOffset(EndOffset), in Slice()
166 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
362 uint64_t BeginOffset = 0, EndOffset = 0; member in llvm::sroa::Partition
378 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
389 assert(BeginOffset < EndOffset && "Partitions must span some bytes!"); in size()
390 return EndOffset - BeginOffset; in size()
513 P.BeginOffset = P.EndOffset; in advance()
523 P.BeginOffset = P.EndOffset; in advance()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h244 uint32_t BeginOffset; member
250 assert(CurrentOffset >= BeginOffset); in bytesRemaining()
252 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining()
DLazyRandomTypeCollection.h89 void visitRange(TypeIndex Begin, uint32_t BeginOffset, TypeIndex End);
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h245 uint32_t BeginOffset; member
251 assert(CurrentOffset >= BeginOffset); in bytesRemaining()
253 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining()
DLazyRandomTypeCollection.h89 void visitRange(TypeIndex Begin, uint32_t BeginOffset, TypeIndex End);
/external/llvm-project/llvm/lib/ObjectYAML/
DMinidumpEmitter.cpp108 size_t BeginOffset = OS.tell(); in writeTo() local
111 assert(OS.tell() == BeginOffset + NextOffset && in writeTo()
113 (void)BeginOffset; in writeTo()
DDWARFEmitter.cpp756 uint64_t BeginOffset = OS.tell(); in writeListEntry() local
810 return OS.tell() - BeginOffset; in writeListEntry()
817 uint64_t BeginOffset = OS.tell(); in writeListEntry() local
907 return OS.tell() - BeginOffset; in writeListEntry()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMinidumpEmitter.cpp108 size_t BeginOffset = OS.tell(); in writeTo() local
111 assert(OS.tell() == BeginOffset + NextOffset && in writeTo()
113 (void)BeginOffset; in writeTo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DLazyRandomTypeCollection.cpp264 void LazyRandomTypeCollection::visitRange(TypeIndex Begin, uint32_t BeginOffset, in visitRange() argument
266 auto RI = Types.at(BeginOffset); in visitRange()
DCodeViewRecordIO.cpp21 Limit.BeginOffset = getCurrentOffset(); in beginRecord()
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DLazyRandomTypeCollection.cpp264 void LazyRandomTypeCollection::visitRange(TypeIndex Begin, uint32_t BeginOffset, in visitRange() argument
266 auto RI = Types.at(BeginOffset); in visitRange()
DCodeViewRecordIO.cpp21 Limit.BeginOffset = getCurrentOffset(); in beginRecord()
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp248 size_t BeginOffset = 0; in isValidFileRange() local
249 std::tie(BeginFID, BeginOffset) = Mgr.getDecomposedLoc(R.getBegin()); in isValidFileRange()
255 return BeginFID.isValid() && BeginFID == EndFID && BeginOffset <= EndOffset; in isValidFileRange()
451 size_t BeginOffset = SM.getFileOffset(R.getBegin()); in toSourceCode() local
453 return Buf->getBuffer().substr(BeginOffset, EndOffset - BeginOffset); in toSourceCode()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DTokens.h53 FileRange(FileID File, unsigned BeginOffset, unsigned EndOffset);
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp142 FileRange::FileRange(FileID File, unsigned BeginOffset, unsigned EndOffset) in FileRange() argument
143 : File(File), Begin(BeginOffset), End(EndOffset) { in FileRange()
145 assert(BeginOffset <= EndOffset); in FileRange()

12