Home
last modified time | relevance | path

Searched refs:WordSize (Results 1 – 6 of 6) 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()
249 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()
174 static const int WordSize = NaClBitcodeHeaderField::WordSize;
/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/lib/CodeGen/
DIntrinsicLowering.cpp274 unsigned WordSize = (BitSize + 63) / 64; in LowerCTPOP() local
277 for (unsigned n = 0; n < WordSize; ++n) { in LowerCTPOP()
/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()