Lines Matching full:wordsize
182 (incr % target->wordSize) == 0) { in emitIncrement()
194 if (state.skipLength == target->wordSize) { in flushRebase()
204 encodeULEB128(state.skipLength - target->wordSize, os); in flushRebase()
209 encodeULEB128(state.skipLength - target->wordSize, os); in flushRebase()
242 RebaseState state{1, target->wordSize}; in encodeRebases()
270 state.skipLength = target->wordSize; in encodeRebases()
305 align = target->wordSize; in NonLazyPointerSectionBase()
343 addNonLazyBindingEntries(sym, isec, sym->gotIndex * target->wordSize); in addEntry()
349 assert(target->wordSize == 8 && "Only 64-bit platforms are supported"); in writeChainedRebase()
367 assert(target->wordSize == 8 && "Only 64-bit platforms are supported"); in writeChainedBind()
387 writeChainedFixup(&buf[i * target->wordSize], entry, 0); in writeTo()
391 write64le(&buf[i * target->wordSize], defined->getVA()); in writeTo()
455 lastBinding.offset += target->wordSize; in encodeBinding()
502 // multiple of wordSize away that is within BIND_IMMEDIATE_MASK, the in optimizeOpcodes()
503 // opcode can be scaled by wordSize into a single byte and dyld will in optimizeOpcodes()
510 ((p.data / target->wordSize) < BIND_IMMEDIATE_MASK) && in optimizeOpcodes()
511 ((p.data % target->wordSize) == 0)) { in optimizeOpcodes()
513 p.data /= target->wordSize; in optimizeOpcodes()
735 sym->stubsIndex * target->wordSize); in addBindingsForStub()
737 sym->stubsIndex * target->wordSize); in addBindingsForStub()
744 sym->stubsIndex * target->wordSize); in addBindingsForStub()
746 sym->stubsIndex * target->wordSize); in addBindingsForStub()
855 size_t wordSize = target->wordSize; in makeSelRef() local
856 uint8_t *selrefData = bAlloc().Allocate<uint8_t>(wordSize); in makeSelRef()
861 ArrayRef<uint8_t>{selrefData, wordSize}, in makeSelRef()
862 /*align=*/wordSize); in makeSelRef()
965 align = target->wordSize; in LazyPointerSection()
970 return in.stubs->getEntries().size() * target->wordSize; in getSize()
990 off += target->wordSize; in writeTo()
1013 sym->stubsIndex * target->wordSize); in addEntry()
1029 in.lazyPointers->addr - dataSeg->addr + sym.stubsIndex * target->wordSize; in encode()
1121 entries = target->wordSize == 8 ? collectDataInCodeEntries<LP64>() in finalizeContents()
2128 assert(selRef->data.size() == sizeof(target->wordSize) && in writeRelativeOffsetForIsec()
2137 inSecOff += target->wordSize; in writeRelativeOffsetForIsec()
2162 (structCount * pointersPerStruct * target->wordSize) == in writeRelativeMethodList()
2197 uint32_t pointerCount = oldPointersSize / target->wordSize; in computeRelativeMethodListSize()
2454 assert(target->wordSize == 8 && "Only 64-bit platforms are supported"); in finalizeContents()