Home
last modified time | relevance | path

Searched refs:wordSize (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/lld/MachO/
H A DTarget.h51 wordSize = LP::wordSize; in TargetInfo()
52 p2WordSize = llvm::CTLog2<LP::wordSize>(); in TargetInfo()
127 size_t wordSize; variable
163 static constexpr size_t wordSize = 8; member
179 static constexpr size_t wordSize = 4; member
H A DObjC.cpp58 if (target->wordSize == 8) in objectHasObjCSection()
185 : catLayout(target->wordSize), classLayout(target->wordSize), in ObjcCategoryChecker()
186 roClassLayout(target->wordSize), listHeaderLayout(target->wordSize), in ObjcCategoryChecker()
187 methodLayout(target->wordSize) {} in ObjcCategoryChecker()
536 : catLayout(target->wordSize), classLayout(target->wordSize), in ObjcCategoryMerger()
537 roClassLayout(target->wordSize), listHeaderLayout(target->wordSize), in ObjcCategoryMerger()
538 methodLayout(target->wordSize), in ObjcCategoryMerger()
539 protocolListHeaderLayout(target->wordSize), in ObjcCategoryMerger()
666 off <= catLayout.classPropsOffset; off += target->wordSize) { in collectCategoryWriterInfoFromCategory()
684 assert((isec && (secOffset + target->wordSize <= isec->data.size())) && in parseProtocolListInfo()
[all …]
H A DLayout.h57 className##Layout(size_t wordSize) { \
58 if (wordSize == 8) \
61 assert(wordSize == 4); \
H A DSyntheticSections.cpp182 (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()
[all …]
H A DWriter.cpp136 target->wordSize); in getSize()
331 target->wordSize); in getSize()
366 target->wordSize); in getSize()
393 target->wordSize); in getSize()
418 target->wordSize); in getSize()
1036 osec->align = target->wordSize; in createOutputSections()
1042 osec->align = std::max<uint32_t>(osec->align, target->wordSize); in createOutputSections()
1248 if (offset < target->wordSize) in buildFixupChains()
1379 uint8_t *arr = bAlloc().Allocate<uint8_t>(target->wordSize); in createSyntheticSections()
1380 memset(arr, 0, target->wordSize); in createSyntheticSections()
[all …]
H A DMapFile.cpp154 osec->addr + sym->gotIndex * target->wordSize, in printNonLazyPointerSection()
155 target->wordSize, sym->getName().str().data()); in printNonLazyPointerSection()
244 printStubsEntries(os, readerToFileOrdinal, osec, target->wordSize); in writeMapFile()
H A DInputFiles.cpp301 return target->wordSize == 8 ? 32 : 20; in getRecordSize()
307 return target->wordSize == 8 ? 32 : 16; in getRecordSize()
313 return target->wordSize; in getRecordSize()
316 return target->wordSize; in getRecordSize()
974 if (target->wordSize == 8) in ObjFile()
979 if (target->wordSize == 8) in ObjFile()
1147 isec->data = isec->data.slice(target->wordSize, 8 + target->wordSize); in registerCompactUnwind()
1227 return target->wordSize; in pointerEncodingToSize()
2157 if (target->wordSize == 8) in addLazySymbols()
2349 if (target->wordSize == 8) in extract()
H A DSyntheticSections.h62 align = target->wordSize; in LinkEditSection()
122 return entries.size() * target->wordSize; in getSize()
127 return addr + gotIndex * target->wordSize; in getVA()
H A DUnwindInfoSection.cpp136 UnwindInfoSectionImpl() : cuLayout(target->wordSize) {} in UnwindInfoSectionImpl()
387 target->wordSize; in relocateCompactUnwind()
H A DDriver.cpp2075 if (target->wordSize == 8) in link()
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64Common.h136 in.got->addr + in.stubHelper->stubBinder->gotIndex * LP::wordSize; in writeStubHelperHeader()
171 uint64_t gotOffset = msgSendIndex * LP::wordSize; in writeObjCMsgSendFastStub()
H A DX86_64.cpp162 in.stubHelper->stubBinder->gotIndex * LP64::wordSize); in writeStubHelperHeader()
194 objcMsgSendAddr + objcMsgSendIndex * LP64::wordSize); in writeObjCMsgSendStub()