Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
H A DTestingSupport.cpp114 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in convertForTestingMain()
118 for (unsigned Pad = offsetToAlignment(OS.tell(), Align(8)); Pad; --Pad) in convertForTestingMain()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DArchiveWriter.cpp182 unsigned Pad = offsetToAlignment(PosAfterHeader, Align(8)); in printBSDMemberHeader()
249 unsigned Pad = offsetToAlignment(Size, Align(2)); in computeStringTable()
306 uint32_t Pad = offsetToAlignment(Size, Align(isBSDLike(Kind) ? 8 : 2)); in computeSymbolTableSize()
485 isDarwin(Kind) ? offsetToAlignment(Data.size(), Align(8)) : 0; in computeMemberData()
487 offsetToAlignment(Data.size() + MemberPadding, Align(2)); in computeMemberData()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp94 return offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
100 return Alignment.value() + offsetToAlignment(Offset, Alignment); in GetAlignmentAdjustment()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DAlignment.h196 inline uint64_t offsetToAlignment(uint64_t Value, Align Alignment) { in offsetToAlignment() function
203 return offsetToAlignment(reinterpret_cast<uintptr_t>(Addr), Alignment); in offsetToAlignedAddr()
H A DOnDiskHashTable.h211 uint64_t N = offsetToAlignment(TableOff, Align(alignof(offset_type))); in Emit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMachObjectWriter.cpp130 return offsetToAlignment(EndAddr, Align(NextSec.getAlignment())); in getPaddingSize()
449 offsetToAlignment(BytesWritten, is64Bit() ? Align(8) : Align(4))); in writeLinkerOptionsLoadCommand()
838 offsetToAlignment(SectionDataFileSize, is64Bit() ? Align(8) : Align(4)); in writeObject()
1004 offsetToAlignment(LOHRawSize, is64Bit() ? Align(8) : Align(4))); in writeObject()
H A DMCAssembler.cpp330 unsigned Size = offsetToAlignment(Offset, Align(AF.getAlignment())); in computeFragmentSize()
1092 ? offsetToAlignment(AlignedOffset, BoundaryAlignment) in relaxBoundaryAlign()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOLayoutBuilder.cpp163 offsetToAlignment(SegFileSize, Align(1ull << Sec->Align)); in layoutSegments()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp597 offsetToAlignment(uint64_t(LaterStart - EarlierStart), PrefAlign); in tryToShorten()
609 uint64_t Off = offsetToAlignment(ToRemoveSize, PrefAlign); in tryToShorten()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp379 unsigned Padding = offsetToAlignment(HeaderSize, Align(TupleSize)); in emitUnitRangesEntries()
/netbsd-src/external/apache2/llvm/dist/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()
3591 if (offsetToAlignment(Offset.getImm(), Align(2))) in expandUncondBranchMMPseudo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsConstantIslandPass.cpp952 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp768 offsetToAlignment((uint64_t)Addr, Align(Alignment)); in emitCommonSymbols()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclBase.cpp103 llvm::offsetToAlignment(sizeof(Module *), llvm::Align(alignof(Decl))); in operator new()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp1088 Growth += offsetToAlignment(CPEEnd, NextBlockAlignment); in isWaterInRange()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2953 unsigned Padding = offsetToAlignment( in emitDebugARanges()