/external/clang/lib/CodeGen/ |
D | SwiftCallingConv.cpp | 75 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData() local 77 addTypedData(eltType, begin + i * eltSize); in addTypedData() 83 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData() local 85 addTypedData(eltLLVMType, begin, begin + eltSize); in addTypedData() 86 addTypedData(eltLLVMType, begin + eltSize, begin + 2 * eltSize); in addTypedData() 239 auto eltSize = (end - begin) / numElts; in addLegalTypedData() local 240 assert(eltSize == getTypeStoreSize(CGM, eltTy)); in addLegalTypedData() 242 addLegalTypedData(eltTy, begin, begin + eltSize); in addLegalTypedData() 243 begin += eltSize; in addLegalTypedData() 320 CharUnits eltSize = (end - begin) / vecTy->getNumElements(); in addEntry() local [all …]
|
D | CodeGenFunction.cpp | 1469 CharUnits eltSize = getContext().getTypeSizeInChars(eltType); in EmitNullInitialization() local 1470 if (!eltSize.isOne()) in EmitNullInitialization() 1471 SizeVal = Builder.CreateNUWMul(SizeVal, CGM.getSize(eltSize)); in EmitNullInitialization()
|
D | CGExprScalar.cpp | 2016 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in VisitUnaryExprOrTypeTraitExpr() local 2017 if (!eltSize.isOne()) in VisitUnaryExprOrTypeTraitExpr() 2018 size = CGF.Builder.CreateNUWMul(CGF.CGM.getSize(eltSize), numElts); in VisitUnaryExprOrTypeTraitExpr() 2663 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub() local 2664 if (!eltSize.isOne()) in EmitSub() 2665 divisor = CGF.Builder.CreateNUWMul(CGF.CGM.getSize(eltSize), divisor); in EmitSub()
|
D | CGExpr.cpp | 2820 CharUnits eltSize) { in getArrayElementAlign() argument 2824 CharUnits offset = constantIdx->getZExtValue() * eltSize; in getArrayElementAlign() 2829 return arrayAlign.alignmentOfArrayElement(eltSize); in getArrayElementAlign() 2860 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in emitArraySubscriptGEP() local 2862 getArrayElementAlign(addr.getAlignment(), indices.back(), eltSize); in emitArraySubscriptGEP()
|
D | CGObjCMac.cpp | 4800 CharUnits eltSize = CGM.getContext().getTypeSizeInChars(recType); in visitField() local 4806 IvarsInfo.push_back(IvarInfo(firstEntry.Offset + eltIndex * eltSize, in visitField()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt.c | 121 } else if (draw->pt.eltSize != draw->pt.user.eltSize) { in draw_pt_arrays() 138 draw->pt.eltSize = draw->pt.user.eltSize; in draw_pt_arrays() 247 if (draw->pt.user.eltSize) { in draw_print_arrays() 250 switch (draw->pt.user.eltSize) { in draw_print_arrays() 389 if (draw->pt.user.eltSize) { in draw_pt_arrays_restart() 394 switch (draw->pt.user.eltSize) { in draw_pt_arrays_restart() 484 draw->pt.user.eltSize = info->index_size ? draw->pt.user.eltSizeIB : 0; in draw_vbo()
|
D | draw_private.h | 159 unsigned eltSize; /* saved eltSize for flushing */ member 194 unsigned eltSize; member
|
D | draw_pt_vsplit.c | 207 switch (vsplit->draw->pt.user.eltSize) { in vsplit_prepare()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_build_util.cpp | 471 uint32_t base, int len, int vecDim, int eltSize, in setup() argument 479 this->eltSize = eltSize; in setup() 486 baseSym->reg.size = eltSize; in setup() 502 return up->getScratch(eltSize); in acquire() 520 return up->mkLoadv(typeOfSize(eltSize), static_cast<Symbol *>(sym), ptr); in load() 552 sym->reg.size = eltSize; in mkSymbol() 553 sym->reg.type = typeOfSize(eltSize); in mkSymbol() 554 sym->setAddress(baseSym, baseAddr + idx * eltSize); in mkSymbol()
|
D | nv50_ir_build_util.h | 143 uint32_t base, int len, int vecDim, int eltSize, 167 uint8_t eltSize; // in bytes variable
|
/external/lz4/examples/ |
D | frameCompress.c | 31 static void safe_fwrite(void* buf, size_t eltSize, size_t nbElt, FILE* f) in safe_fwrite() argument 33 size_t const writtenSize = fwrite(buf, eltSize, nbElt, f); in safe_fwrite() 34 size_t const expectedSize = eltSize * nbElt; in safe_fwrite() 35 assert(expectedSize / nbElt == eltSize); /* check overflow */ in safe_fwrite()
|
/external/clang/utils/ABITest/ |
D | TypeGen.py | 128 eltSize = self.elementType.sizeof() 129 assert not (self.size % eltSize) 130 self.numElements = self.size // eltSize
|