Home
last modified time | relevance | path

Searched refs:AlignedOffset (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/compiler-rt/lib/xray/
Dxray_segmented_array.h157 auto AlignedOffset = Base + (RelOff * AlignedElementStorageSize); variable
158 return *reinterpret_cast<U *>(AlignedOffset);
372 auto AlignedOffset = Base + (Offset * AlignedElementStorageSize); in AppendEmplace() local
373 DCHECK_LE(AlignedOffset + sizeof(T), in AppendEmplace()
377 new (AlignedOffset) T{std::forward<Args>(args)...}; in AppendEmplace()
379 return reinterpret_cast<T *>(AlignedOffset); in AppendEmplace()
404 auto AlignedOffset = Base + (Offset * AlignedElementStorageSize); in Append() local
405 DCHECK_LE(AlignedOffset + sizeof(T), in Append()
409 new (AlignedOffset) T(E); in Append()
411 return reinterpret_cast<T *>(AlignedOffset); in Append()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64CompressJumpTables.cpp81 unsigned AlignedOffset; in scanFunction() local
83 AlignedOffset = Offset; in scanFunction()
85 AlignedOffset = alignTo(Offset, Alignment); in scanFunction()
86 BlockInfo[MBB.getNumber()] = AlignedOffset; in scanFunction()
87 Offset = AlignedOffset + computeBlockSize(MBB); in scanFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CompressJumpTables.cpp81 unsigned AlignedOffset; in scanFunction() local
83 AlignedOffset = Offset; in scanFunction()
85 AlignedOffset = alignTo(Offset, Alignment); in scanFunction()
86 BlockInfo[MBB.getNumber()] = AlignedOffset; in scanFunction()
87 Offset = AlignedOffset + computeBlockSize(MBB); in scanFunction()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DFileWriter.cpp73 off_t AlignedOffset = (Offset + Align - 1) / Align * Align; in alignTo() local
74 if (AlignedOffset == Offset) in alignTo()
76 off_t PadCount = AlignedOffset - Offset; in alignTo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DFileWriter.cpp73 off_t AlignedOffset = (Offset + Align - 1) / Align * Align; in alignTo() local
74 if (AlignedOffset == Offset) in alignTo()
76 off_t PadCount = AlignedOffset - Offset; in alignTo()
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp41 uint64_t AlignedOffset = alignTo(CurrentOffset, Align); in padToAlignment() local
42 for (; CurrentOffset != AlignedOffset; ++CurrentOffset) in padToAlignment()
44 return AlignedOffset; // == CurrentOffset; in padToAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCAssembler.cpp1003 uint64_t AlignedOffset = Layout.getFragmentOffset(BF.getNextNode()); in relaxBoundaryAlign() local
1014 AlignedOffset -= OldSize; in relaxBoundaryAlign()
1016 uint64_t NewSize = needPadding(AlignedOffset, AlignedSize, BoundaryAlignment) in relaxBoundaryAlign()
1017 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
/external/llvm-project/llvm/lib/ObjectYAML/
DELFEmitter.cpp81 uint64_t AlignedOffset = alignTo(CurrentOffset, Align == 0 ? 1 : Align); in padToAlignment() local
82 uint64_t PaddingSize = AlignedOffset - CurrentOffset; in padToAlignment()
87 return AlignedOffset; in padToAlignment()
1394 uint64_t AlignedOffset; in alignToOffset() local
1404 AlignedOffset = *Offset; in alignToOffset()
1406 AlignedOffset = alignTo(CurrentOffset, std::max(Align, (uint64_t)1)); in alignToOffset()
1409 CBA.writeZeros(AlignedOffset - CurrentOffset); in alignToOffset()
1410 return AlignedOffset; in alignToOffset()
/external/llvm-project/llvm/lib/MC/
DMCAssembler.cpp1071 uint64_t AlignedOffset = Layout.getFragmentOffset(&BF); in relaxBoundaryAlign() local
1078 uint64_t NewSize = needPadding(AlignedOffset, AlignedSize, BoundaryAlignment) in relaxBoundaryAlign()
1079 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFEmitter.cpp55 uint64_t AlignedOffset = alignTo(CurrentOffset, Align); in padToAlignment() local
56 OS.write_zeros(AlignedOffset - CurrentOffset); in padToAlignment()
57 return AlignedOffset; // == CurrentOffset; in padToAlignment()