Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp318 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in write()
323 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in write()
/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()
903 isDarwin(Kind) ? offsetToAlignment(Data.size(), Align(8)) : 0; in computeMemberData()
905 offsetToAlignment(Data.size() + MemberPadding, Align(2)); in computeMemberData()
/freebsd/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/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.cpp139 W.OS.write_zeros(offsetToAlignment(Size, Align(4))); in writeObject()
H A DMachObjectWriter.cpp143 return offsetToAlignment(EndAddr, NextSec.getAlign()); in getPaddingSize()
493 offsetToAlignment(BytesWritten, is64Bit() ? Align(8) : Align(4))); in writeLinkerOptionsLoadCommand()
892 offsetToAlignment(SectionDataFileSize, is64Bit() ? Align(8) : Align(4)); in writeObject()
1071 offsetToAlignment(LOHRawSize, is64Bit() ? Align(8) : Align(4))); in writeObject()
H A DMCAssembler.cpp289 unsigned Size = offsetToAlignment(Offset, AF.getAlignment()); in computeFragmentSize()
1202 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
H A DWasmObjectWriter.cpp393 uint64_t Paddings = offsetToAlignment(Offset, Align(Alignment)); in writeStringWithAlignment()
/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/RISCV/
H A DRISCVFrameLowering.cpp361 offsetToAlignment(ScalarLocalVarSize, RVFI->getRVVStackAlign())) in determineFrameLayout()
1108 if (auto AlignmentPadding = offsetToAlignment(StackSize, RVVStackAlign)) { in assignRVVStackObjectOffsets()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp149 emitNops(offsetToAlignment(PrefixBytes, MF.getAlignment())); in EmitKCFITypePadding()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp589 offsetToAlignment(uint64_t(KillingStart - DeadStart), PrefAlign); in tryToShorten()
601 uint64_t Off = offsetToAlignment(ToRemoveSize, PrefAlign); in tryToShorten()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp757 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp952 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp779 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.cpp102 llvm::offsetToAlignment(sizeof(Module *), llvm::Align(alignof(Decl))); in operator new()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp856 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitAranges()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp1148 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp693 offsetToAlignment(MaxFrameAlignment->value(), FieldAlignment); in addField()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp3091 unsigned Padding = offsetToAlignment( in emitDebugARanges()