Home
last modified time | relevance | path

Searched refs:offsetToAlignment (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp317 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in write()
322 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in write()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp90 return offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
96 return Alignment.value() + offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DArchiveWriter.cpp245 unsigned Pad = offsetToAlignment(PosAfterHeader, Align(8)); in printBSDMemberHeader()
344 unsigned Pad = offsetToAlignment(Size, Align(2)); in computeStringTable()
405 : offsetToAlignment(Size, Align(isBSDLike(Kind) ? 8 : 2)); in computeSymbolTableSize()
421 uint32_t Pad = offsetToAlignment(Size, Align(2)); in computeSymbolMapSize()
435 uint32_t Pad = offsetToAlignment(Size, Align(2)); in computeECSymbolsSize()
902 isDarwin(Kind) ? offsetToAlignment(Data.size(), Align(8)) : 0; in computeMemberData()
904 offsetToAlignment(Data.size() + MemberPadding, Align(2)); in computeMemberData()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h197 inline uint64_t offsetToAlignment(uint64_t Value, Align Alignment) { in offsetToAlignment() function
204 return offsetToAlignment(reinterpret_cast<uintptr_t>(Addr), Alignment); in offsetToAlignedAddr()
H A DOnDiskHashTable.h210 uint64_t N = offsetToAlignment(TableOff, Align(alignof(offset_type))); in Emit()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCDXContainerWriter.cpp116 W.OS.write_zeros(offsetToAlignment(Size, Align(4))); in writeObject()
H A DMachObjectWriter.cpp136 return offsetToAlignment(EndAddr, NextSec.getAlign()); in getPaddingSize()
497 offsetToAlignment(BytesWritten, is64Bit() ? Align(8) : Align(4))); in writeLinkerOptionsLoadCommand()
897 offsetToAlignment(SectionDataFileSize, is64Bit() ? Align(8) : Align(4)); in writeObject()
1076 offsetToAlignment(LOHRawSize, is64Bit() ? Align(8) : Align(4))); in writeObject()
H A DMCAssembler.cpp234 unsigned Size = offsetToAlignment(Offset, AF.getAlignment()); in computeFragmentSize()
987 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
H A DWasmObjectWriter.cpp391 uint64_t Paddings = offsetToAlignment(Offset, Align(Alignment)); in writeStringWithAlignment()
/freebsd/contrib/llvm-project/llvm/lib/CGData/
H A DStableFunctionMapRecord.cpp100 uint32_t Padding = offsetToAlignment(Writer.OS.tell(), Align(4)); in serialize()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp163 offsetToAlignment(SegFileSize, Align(1ull << Sec->Align)); in layoutSegments()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp158 emitNops(offsetToAlignment(PrefixBytes, MF.getAlignment())); in EmitKCFITypePadding()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp647 offsetToAlignment(uint64_t(KillingStart - DeadStart), PrefAlign); in tryToShorten()
659 uint64_t Off = offsetToAlignment(ToRemoveSize, PrefAlign); in tryToShorten()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp517 offsetToAlignment(ScalarLocalVarSize, RVFI->getRVVStackAlign())) in determineFrameLayout()
1606 offsetToAlignment(StackSize, Align(RVVStackAlignVScale))) { in assignRVVStackObjectOffsets()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp751 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1859 if (offsetToAlignment(Offset.getImm(), in processInstruction()
1889 if (offsetToAlignment(Offset.getImm(), in processInstruction()
1905 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1918 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1929 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1942 if (offsetToAlignment(Offset.getImm(), Align(2))) in processInstruction()
3603 if (offsetToAlignment(Offset.getImm(), Align(2))) in expandUncondBranchMMPseudo()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp950 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp782 offsetToAlignment((uint64_t)Addr, Align(Alignment)); in emitCommonSymbols()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp452 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitDwarfDebugArangesTable()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp100 llvm::offsetToAlignment(sizeof(Module *), llvm::Align(alignof(Decl))); in operator new()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp853 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitAranges()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp270 offsetToAlignment(MaxFrameAlignment->value(), FieldAlignment); in addField()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp1129 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()

12