Home
last modified time | relevance | path

Searched refs:WordSize (Results 1 – 25 of 25) sorted by relevance

/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeHeader.cpp97 size_t PadLen = (WordSize - (FieldsLen & (WordSize - 1))) & (WordSize - 1); in Write()
189 BufPtr += WordSize; in ReadPrefix()
192 if (BufPtr + WordSize > BufEnd) in ReadPrefix()
198 BufPtr += WordSize; in ReadPrefix()
205 HeaderSize = NumBytes + (2 * WordSize); in ReadFields()
225 BufPtr += 2 * WordSize; in Read()
240 unsigned char Buffer[2 * WordSize]; in Read()
248 bool failed = Bytes->readBytes(Header, NumBytes, 2 * WordSize) != NumBytes || in Read()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitcodeHeader.h55 static const int WordSize = 4; variable
80 return (kTagLenSize + Len + (WordSize - 1)) & ~(WordSize - 1); in GetTotalSize()
171 static const int WordSize = NaClBitcodeHeaderField::WordSize;
/external/llvm-project/lld/MachO/
DSyntheticSections.cpp154 lastRebase.offset += WordSize; in encodeRebase()
200 addNonLazyBindingEntries(sym, this, sym->gotIndex * WordSize); in addEntry()
207 write64le(&buf[i * WordSize], defined->getVA()); in writeTo()
257 lastBinding.offset += WordSize; in encodeBinding()
449 uint8_t *arr = bAlloc.Allocate<uint8_t>(WordSize); in ImageLoaderCacheSection()
450 memset(arr, 0, WordSize); in ImageLoaderCacheSection()
451 data = {arr, WordSize}; in ImageLoaderCacheSection()
461 return in.stubs->getEntries().size() * WordSize; in getSize()
481 off += WordSize; in writeTo()
502 in.rebase->addEntry(in.lazyPointers, dysym->stubsIndex * WordSize); in addEntry()
[all …]
DSyntheticSections.h74 align = WordSize; in LinkEditSection()
91 return llvm::alignTo(getRawSize(), WordSize); in getSize()
132 uint64_t getSize() const override { return entries.size() * WordSize; } in getSize()
339 uint64_t getSize() const override { return WordSize; } in getSize()
DTarget.h29 WordSize = 8, enumerator
DUnwindInfoSection.cpp72 align = WordSize; // TODO(gkm): make this 4 KiB ? in UnwindInfoSection()
DWriter.cpp304 return alignTo(sizeof(rpath_command) + path.size() + 1, WordSize); in getSize()
/external/llvm-project/llvm/tools/llvm-readobj/
DObjDumper.cpp118 size_t WordSize = strnlen(reinterpret_cast<const char *>(CurrentWord), in printSectionsAsString() local
120 if (!WordSize) { in printSectionsAsString()
125 printAsPrintable(W.startLine(), CurrentWord, WordSize); in printSectionsAsString()
127 CurrentWord += WordSize + 1; in printSectionsAsString()
/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp70 const int WordSize = 2; in isInRage() local
72 assert((DistanceInBytes % WordSize == 0) && in isInRage()
75 int Words = DistanceInBytes / WordSize; in isInRage()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp70 const int WordSize = 2; in isInRage() local
72 assert((DistanceInBytes % WordSize == 0) && in isInRage()
75 int Words = DistanceInBytes / WordSize; in isInRage()
/external/llvm-project/lld/MachO/Arch/
DX86_64.cpp188 in.lazyPointers->addr + sym.stubsIndex * WordSize); in writeStub()
208 in.stubHelper->stubBinder->gotIndex * WordSize); in writeStubHelperHeader()
291 return in.got->addr + sym.gotIndex * WordSize; in resolveSymbolVA()
305 return in.tlvPointers->addr + sym.gotIndex * WordSize; in resolveSymbolVA()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DELF.cpp313 const size_t WordSize = sizeof(Word); in decode_relrs() local
317 const size_t NBits = 8*WordSize - 1; in decode_relrs()
327 Base = Entry + WordSize; in decode_relrs()
339 Offset += WordSize; in decode_relrs()
343 Base += NBits * WordSize; in decode_relrs()
/external/llvm-project/llvm/lib/Object/
DELF.cpp332 const size_t WordSize = sizeof(Word); in decode_relrs() local
336 const size_t NBits = 8*WordSize - 1; in decode_relrs()
346 Base = Entry + WordSize; in decode_relrs()
358 Offset += WordSize; in decode_relrs()
362 Base += NBits * WordSize; in decode_relrs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86AsmPrinter.cpp599 int WordSize = TT.isArch64Bit() ? 8 : 4; in EmitStartOfAsmFile() local
600 EmitAlignment(WordSize == 4 ? Align(4) : Align(8)); in EmitStartOfAsmFile()
602 OutStreamer->EmitIntValue(8 + WordSize, 4 /*size*/); // Elf_Prop size in EmitStartOfAsmFile()
610 EmitAlignment(WordSize == 4 ? Align(4) : Align(8)); // padding in EmitStartOfAsmFile()
/external/llvm-project/llvm/lib/Target/X86/
DX86AsmPrinter.cpp646 int WordSize = TT.isArch64Bit() ? 8 : 4; in emitStartOfAsmFile() local
647 emitAlignment(WordSize == 4 ? Align(4) : Align(8)); in emitStartOfAsmFile()
649 OutStreamer->emitIntValue(8 + WordSize, 4 /*size*/); // Elf_Prop size in emitStartOfAsmFile()
657 emitAlignment(WordSize == 4 ? Align(4) : Align(8)); // padding in emitStartOfAsmFile()
/external/llvm-project/llvm/lib/XRay/
DInstrumentationMap.cpp167 const int WordSize = Is32Bit ? 4 : 8; in loadObj() local
201 Entry.Function += C - Contents.bytes_begin() + WordSize + Address; in loadObj()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp593 unsigned WordSize) { in createMaskInstrs() argument
605 assert(ValueSize < WordSize); in createMaskInstrs()
608 Ret.WordType = Type::getIntNTy(Ctx, WordSize * 8); in createMaskInstrs()
615 Builder.CreateAnd(AddrInt, ~(uint64_t)(WordSize - 1)), WordPtrType, in createMaskInstrs()
618 Value *PtrLSB = Builder.CreateAnd(AddrInt, WordSize - 1, "PtrLSB"); in createMaskInstrs()
625 Builder.CreateShl(Builder.CreateXor(PtrLSB, WordSize - ValueSize), 3); in createMaskInstrs()
772 const int WordSize = TLI->getMinCmpXchgSizeInBits() / 8; in expandPartwordCmpXchg() local
786 Builder, CI, CI->getCompareOperand()->getType(), Addr, WordSize); in expandPartwordCmpXchg()
DIntrinsicLowering.cpp274 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() local
277 for (unsigned n = 0; n < WordSize; ++n) { in LowerCTPOP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp641 unsigned WordSize) { in createMaskInstrs() argument
653 assert(ValueSize < WordSize); in createMaskInstrs()
656 Ret.WordType = Type::getIntNTy(Ctx, WordSize * 8); in createMaskInstrs()
663 Builder.CreateAnd(AddrInt, ~(uint64_t)(WordSize - 1)), WordPtrType, in createMaskInstrs()
666 Value *PtrLSB = Builder.CreateAnd(AddrInt, WordSize - 1, "PtrLSB"); in createMaskInstrs()
673 Builder.CreateShl(Builder.CreateXor(PtrLSB, WordSize - ValueSize), 3); in createMaskInstrs()
855 const int WordSize = TLI->getMinCmpXchgSizeInBits() / 8; in expandPartwordCmpXchg() local
869 Builder, CI, CI->getCompareOperand()->getType(), Addr, WordSize); in expandPartwordCmpXchg()
DIntrinsicLowering.cpp161 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() local
164 for (unsigned n = 0; n < WordSize; ++n) { in LowerCTPOP()
/external/llvm-project/llvm/lib/CodeGen/
DIntrinsicLowering.cpp160 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() local
163 for (unsigned n = 0; n < WordSize; ++n) { in LowerCTPOP()
DAtomicExpandPass.cpp874 const int WordSize = TLI->getMinCmpXchgSizeInBits() / 8; in expandPartwordCmpXchg() local
888 Builder, CI, CI->getCompareOperand()->getType(), Addr, WordSize); in expandPartwordCmpXchg()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp4904 const CharUnits WordSize = CGM.getPointerSize(); in buildBitmap() local
4912 if ((beginOfScan % WordSize) != 0) continue; in buildBitmap()
4920 assert(request.Offset + request.SizeInWords * WordSize <= InstanceBegin); in buildBitmap()
4924 unsigned beginOfScanInWords = beginOfScan / WordSize; in buildBitmap()
4954 (InstanceEnd - InstanceBegin + WordSize - CharUnits::One()) / WordSize; in buildBitmap()
/external/llvm-project/clang/lib/CodeGen/
DCGObjCMac.cpp5507 const CharUnits WordSize = CGM.getPointerSize(); in buildBitmap() local
5515 if ((beginOfScan % WordSize) != 0) continue; in buildBitmap()
5523 assert(request.Offset + request.SizeInWords * WordSize <= InstanceBegin); in buildBitmap()
5527 unsigned beginOfScanInWords = beginOfScan / WordSize; in buildBitmap()
5557 (InstanceEnd - InstanceBegin + WordSize - CharUnits::One()) / WordSize; in buildBitmap()
DTargetInfo.cpp1964 CharUnits WordSize = CharUnits::fromQuantity(4); in addFieldToArgStruct() local
1965 assert(StackOffset.isMultipleOf(WordSize) && "unaligned inalloca struct"); in addFieldToArgStruct()
1978 StackOffset += IsIndirect ? WordSize : getContext().getTypeSizeInChars(Type); in addFieldToArgStruct()
1982 StackOffset = FieldEnd.alignTo(WordSize); in addFieldToArgStruct()