Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp75 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 …]
DCodeGenFunction.cpp1469 CharUnits eltSize = getContext().getTypeSizeInChars(eltType); in EmitNullInitialization() local
1470 if (!eltSize.isOne()) in EmitNullInitialization()
1471 SizeVal = Builder.CreateNUWMul(SizeVal, CGM.getSize(eltSize)); in EmitNullInitialization()
DCGExprScalar.cpp2016 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()
DCGExpr.cpp2820 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()
DCGObjCMac.cpp4800 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/
Ddraw_pt.c121 } 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()
Ddraw_private.h159 unsigned eltSize; /* saved eltSize for flushing */ member
194 unsigned eltSize; member
Ddraw_pt_vsplit.c207 switch (vsplit->draw->pt.user.eltSize) { in vsplit_prepare()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_build_util.cpp471 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()
Dnv50_ir_build_util.h143 uint32_t base, int len, int vecDim, int eltSize,
167 uint8_t eltSize; // in bytes variable
/external/lz4/examples/
DframeCompress.c31 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/
DTypeGen.py128 eltSize = self.elementType.sizeof()
129 assert not (self.size % eltSize)
130 self.numElements = self.size // eltSize