| /openbsd-src/gnu/llvm/llvm/tools/llvm-cov/ |
| H A D | TestingSupport.cpp | 115 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 D | ArchiveWriter.cpp | 224 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 D | Alignment.h | 197 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 D | OnDiskHashTable.h | 210 uint64_t N = offsetToAlignment(TableOff, Align(alignof(offset_type))); in Emit()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCBranchSelector.cpp | 94 return offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment() 100 return Alignment.value() + offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCDXContainerWriter.cpp | 139 W.OS.write_zeros(offsetToAlignment(Size, Align(4))); in writeObject()
|
| H A D | MachObjectWriter.cpp | 132 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 D | MCAssembler.cpp | 334 unsigned Size = offsetToAlignment(Offset, AF.getAlignment()); in computeFragmentSize() 1082 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
|
| H A D | WasmObjectWriter.cpp | 396 uint64_t Paddings = offsetToAlignment(Offset, Align(Alignment)); in writeStringWithAlignment()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVFrameLowering.cpp | 280 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 D | MachOLayoutBuilder.cpp | 162 offsetToAlignment(SegFileSize, Align(1ull << Sec->Align)); in layoutSegments()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86AsmPrinter.cpp | 148 emitNops(offsetToAlignment(PrefixBytes, MF.getAlignment())); in EmitKCFITypePadding()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 555 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 D | DWARFStreamer.cpp | 342 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitDwarfDebugArangesTable()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/ |
| H A D | CSKYConstantIslandPass.cpp | 757 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/AsmParser/ |
| H A D | MipsAsmParser.cpp | 1901 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 D | MipsConstantIslandPass.cpp | 952 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyld.cpp | 779 offsetToAlignment((uint64_t)Addr, Align(Alignment)); in emitCommonSymbols()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | DeclBase.cpp | 103 llvm::offsetToAlignment(sizeof(Module *), llvm::Align(alignof(Decl))); in operator new()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMConstantIslandPass.cpp | 1134 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 550 offsetToAlignment(MaxFrameAlignment->value(), FieldAlignment); in addField()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 3059 unsigned Padding = offsetToAlignment( in emitDebugARanges()
|