Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp302 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in write()
307 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in write()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DArchiveWriter.cpp244 unsigned Pad = offsetToAlignment(PosAfterHeader, Align(8)); in printBSDMemberHeader()
343 unsigned Pad = offsetToAlignment(Size, Align(2)); in computeStringTable()
404 : offsetToAlignment(Size, Align(isBSDLike(Kind) ? 8 : 2)); in computeSymbolTableSize()
420 uint32_t Pad = offsetToAlignment(Size, Align(2)); in computeSymbolMapSize()
434 uint32_t Pad = offsetToAlignment(Size, Align(2)); in computeECSymbolsSize()
819 isDarwin(Kind) ? offsetToAlignment(Data.size(), Align(8)) : 0; in computeMemberData()
821 offsetToAlignment(Data.size() + MemberPadding, Align(2)); in computeMemberData()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp94 return offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
100 return Alignment.value() + offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCDXContainerWriter.cpp139 W.OS.write_zeros(offsetToAlignment(Size, Align(4))); in writeObject()
H A DMachObjectWriter.cpp132 return offsetToAlignment(EndAddr, NextSec.getAlign()); in getPaddingSize()
450 offsetToAlignment(BytesWritten, is64Bit() ? Align(8) : Align(4))); in writeLinkerOptionsLoadCommand()
871 offsetToAlignment(SectionDataFileSize, is64Bit() ? Align(8) : Align(4)); in writeObject()
1042 offsetToAlignment(LOHRawSize, is64Bit() ? Align(8) : Align(4))); in writeObject()
H A DMCAssembler.cpp342 unsigned Size = offsetToAlignment(Offset, AF.getAlignment()); in computeFragmentSize()
1107 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
H A DWasmObjectWriter.cpp396 uint64_t Paddings = offsetToAlignment(Offset, Align(Alignment)); in writeStringWithAlignment()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp163 offsetToAlignment(SegFileSize, Align(1ull << Sec->Align)); in layoutSegments()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp348 offsetToAlignment(ScalarLocalVarSize, RVFI->getRVVStackAlign())) in determineFrameLayout()
1078 if (auto AlignmentPadding = offsetToAlignment(StackSize, RVVStackAlign)) { in assignRVVStackObjectOffsets()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp588 offsetToAlignment(uint64_t(KillingStart - DeadStart), PrefAlign); in tryToShorten()
600 uint64_t Off = offsetToAlignment(ToRemoveSize, PrefAlign); in tryToShorten()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp150 emitNops(offsetToAlignment(PrefixBytes, MF.getAlignment())); in EmitKCFITypePadding()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp757 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1905 if (offsetToAlignment(Offset.getImm(), in processInstruction()
1935 if (offsetToAlignment(Offset.getImm(), in processInstruction()
1951 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1964 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1975 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1988 if (offsetToAlignment(Offset.getImm(), Align(2))) in processInstruction()
3661 if (offsetToAlignment(Offset.getImm(), Align(2))) in expandUncondBranchMMPseudo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp952 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp779 offsetToAlignment((uint64_t)Addr, Align(Alignment)); in emitCommonSymbols()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp452 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitDwarfDebugArangesTable()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp103 llvm::offsetToAlignment(sizeof(Module *), llvm::Align(alignof(Decl))); in operator new()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp856 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitAranges()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp1148 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp690 offsetToAlignment(MaxFrameAlignment->value(), FieldAlignment); in addField()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp3103 unsigned Padding = offsetToAlignment( in emitDebugARanges()