Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/tools/llvm-cov/
H A DTestingSupport.cpp115 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in convertForTestingMain()
119 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in convertForTestingMain()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DArchiveWriter.cpp224 unsigned Pad = offsetToAlignment(PosAfterHeader, Align(8)); in printBSDMemberHeader()
317 unsigned Pad = offsetToAlignment(Size, Align(2)); in computeStringTable()
378 : offsetToAlignment(Size, Align(isBSDLike(Kind) ? 8 : 2)); in computeSymbolTableSize()
565 isDarwin(Kind) ? offsetToAlignment(Data.size(), Align(8)) : 0; in computeMemberData()
567 offsetToAlignment(Data.size() + MemberPadding, Align(2)); in computeMemberData()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp94 return offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
100 return Alignment.value() + offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
/openbsd-src/gnu/llvm/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()
883 offsetToAlignment(SectionDataFileSize, is64Bit() ? Align(8) : Align(4)); in writeObject()
1054 offsetToAlignment(LOHRawSize, is64Bit() ? Align(8) : Align(4))); in writeObject()
H A DMCAssembler.cpp334 unsigned Size = offsetToAlignment(Offset, AF.getAlignment()); in computeFragmentSize()
1082 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
H A DWasmObjectWriter.cpp396 uint64_t Paddings = offsetToAlignment(Offset, Align(Alignment)); in writeStringWithAlignment()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp280 offsetToAlignment(ScalarLocalVarSize, RVFI->getRVVStackAlign())) in determineFrameLayout()
964 if (auto AlignmentPadding = offsetToAlignment(StackSize, RVVStackAlign)) { in assignRVVStackObjectOffsets()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.cpp162 offsetToAlignment(SegFileSize, Align(1ull << Sec->Align)); in layoutSegments()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp148 emitNops(offsetToAlignment(PrefixBytes, MF.getAlignment())); in EmitKCFITypePadding()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp555 offsetToAlignment(uint64_t(KillingStart - DeadStart), PrefAlign); in tryToShorten()
567 uint64_t Off = offsetToAlignment(ToRemoveSize, PrefAlign); in tryToShorten()
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp342 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitDwarfDebugArangesTable()
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp757 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1901 if (offsetToAlignment(Offset.getImm(), in processInstruction()
1931 if (offsetToAlignment(Offset.getImm(), in processInstruction()
1947 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1960 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1971 if (offsetToAlignment(Offset.getImm(), Align(4))) in processInstruction()
1984 if (offsetToAlignment(Offset.getImm(), Align(2))) in processInstruction()
3633 if (offsetToAlignment(Offset.getImm(), Align(2))) in expandUncondBranchMMPseudo()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp952 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp779 offsetToAlignment((uint64_t)Addr, Align(Alignment)); in emitCommonSymbols()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclBase.cpp103 llvm::offsetToAlignment(sizeof(Module *), llvm::Align(alignof(Decl))); in operator new()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp1134 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp550 offsetToAlignment(MaxFrameAlignment->value(), FieldAlignment); in addField()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp3059 unsigned Padding = offsetToAlignment( in emitDebugARanges()