Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A 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 …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVSymbolVisitor.cpp106 uint32_t BeginOffset = Begin.offset(); in visitSymbolStreamFiltered() local
108 if (BeginOffset < SymbolOffset) { in visitSymbolStreamFiltered()
112 ParentOffsets.push_back(BeginOffset); in visitSymbolStreamFiltered()
116 } else if (BeginOffset == SymbolOffset) { in visitSymbolStreamFiltered()
131 } else if (BeginOffset <= SymEndOffset) { in visitSymbolStreamFiltered()
137 BeginOffset == SymEndOffset) { in visitSymbolStreamFiltered()
138 if (auto EC = visitSymbolRecord(BeginSym, BeginOffset)) in visitSymbolStreamFiltered()
146 if (ParentRecurseDepth && BeginOffset == ParentEndOffsets.back()) { in visitSymbolStreamFiltered()
147 if (auto EC = visitSymbolRecord(BeginSym, BeginOffset)) in visitSymbolStreamFiltered()
H A DLazyRandomTypeCollection.cpp262 void LazyRandomTypeCollection::visitRange(TypeIndex Begin, uint32_t BeginOffset,
264 auto RI = Types.at(BeginOffset); in visitRange()
263 visitRange(TypeIndex Begin,uint32_t BeginOffset,TypeIndex End) visitRange() argument
H A DCodeViewRecordIO.cpp24 Limit.BeginOffset = getCurrentOffset(); in beginRecord()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp522 uint64_t BeginOffset = 0; member in __anondf5662880411::Slice
534 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable) in Slice() argument
535 : BeginOffset(BeginOffset), EndOffset(EndOffset), in Slice()
538 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
732 uint64_t BeginOffset = 0, EndOffset = 0; member in __anondf5662880411::Partition
748 uint64_t beginOffset() const { return BeginOffset; } in beginOffset()
759 assert(BeginOffset < EndOffset && "Partitions must span some bytes!"); in size()
760 return EndOffset - BeginOffset; in size()
881 P.BeginOffset = P.EndOffset; in advance()
891 P.BeginOffset = P.EndOffset; in advance()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp519 CharUnits BeginOffset; in accumulateBitFields() local
547 BeginOffset = bitsToCharUnits(BitOffset); in accumulateBitFields()
556 assert(BitOffset == Context.toBits(BeginOffset) + BitSizeSinceBegin && in accumulateBitFields()
591 BestEndOffset = BeginOffset + AccessSize; in accumulateBitFields()
618 else if (!BeginOffset.isMultipleOf(Align)) in accumulateBitFields()
655 if (BeginOffset + TypeSize <= LimitOffset) { in accumulateBitFields()
658 BestEndOffset = BeginOffset + TypeSize; in accumulateBitFields()
673 BitSizeSinceBegin = Context.toBits(LimitOffset - BeginOffset); in accumulateBitFields()
682 CharUnits AccessSize = BestEndOffset - BeginOffset; in accumulateBitFields()
698 Members.push_back(StorageInfo(BeginOffset, Type)); in accumulateBitFields()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h245 uint32_t BeginOffset; member
251 assert(CurrentOffset >= BeginOffset); in bytesRemaining()
253 uint32_t BytesUsed = CurrentOffset - BeginOffset; in bytesRemaining()
H A DLazyRandomTypeCollection.h88 void visitRange(TypeIndex Begin, uint32_t BeginOffset, TypeIndex End);
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp109 size_t BeginOffset = OS.tell(); in writeTo() local
112 assert(OS.tell() == BeginOffset + NextOffset && in writeTo()
114 (void)BeginOffset; in writeTo()
H A DDWARFEmitter.cpp944 uint64_t BeginOffset = OS.tell(); in writeListEntry() local
998 return OS.tell() - BeginOffset; in writeListEntry()
1005 uint64_t BeginOffset = OS.tell(); in writeListEntry() local
1095 return OS.tell() - BeginOffset; in writeListEntry()
H A DELFEmitter.cpp1091 uint64_t BeginOffset = CBA.tell(); in emitDWARF() local
1097 return CBA.tell() - BeginOffset; in emitDWARF()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAbbrev.cpp31 const uint64_t BeginOffset = *OffsetPtr; in extract() local
32 Offset = BeginOffset; in extract()
H A DDWARFUnitIndex.cpp94 const uint64_t BeginOffset = *OffsetPtr; in parse() local
103 *OffsetPtr = BeginOffset; in parse()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokens.h52 FileRange(FileID File, unsigned BeginOffset, unsigned EndOffset);
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp184 FileRange::FileRange(FileID File, unsigned BeginOffset, unsigned EndOffset) in FileRange() argument
185 : File(File), Begin(BeginOffset), End(EndOffset) { in FileRange()
187 assert(BeginOffset <= EndOffset); in FileRange()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1598 unsigned BeginOffset = SM.getFileOffset(ExpansionRange.getBegin()); in getLengthOnSingleLine() local
1600 StringRef Snippet = Buffer->getBuffer().slice(BeginOffset, EndOffset); in getLengthOnSingleLine()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp12534 unsigned BeginOffset = Idx * EltBitWidth; in lowerShuffleAsBroadcast() local
12535 BitOffset += BeginOffset; in lowerShuffleAsBroadcast()
12544 int BeginOffset = Idx * EltBitWidth; in lowerShuffleAsBroadcast() local
12545 int EndOffset = BeginOffset + NumSubElts * EltBitWidth; in lowerShuffleAsBroadcast()
12546 if (BeginOffset <= BitOffset && BitOffset < EndOffset) { in lowerShuffleAsBroadcast()
12547 BitOffset -= BeginOffset; in lowerShuffleAsBroadcast()