Searched refs:ElementSize (Results 1 - 15 of 15) sorted by relevance

/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/
H A DSparseBitVector.h43 template <unsigned ElementSize = 128>
45 : public ilist_node<SparseBitVectorElement<ElementSize> > {
50 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE,
51 BITS_PER_ELEMENT = ElementSize
265 template <unsigned ElementSize>
266 struct ilist_traits<SparseBitVectorElement<ElementSize> >
267 : public ilist_default_traits<SparseBitVectorElement<ElementSize> > {
268 typedef SparseBitVectorElement<ElementSize> Element;
281 template <unsigned ElementSize = 128>
283 typedef ilist<SparseBitVectorElement<ElementSize> > ElementLis
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1268 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8);
1269 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1272 Offset -= NumSkippedElements * ElementSize;
1280 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy));
1281 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1285 Offset -= NumSkippedElements * ElementSize;
1333 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy));
1334 if (ElementSize == 0)
1336 APInt NumSkippedElements = Offset.sdiv(ElementSize);
1338 Offset -= NumSkippedElements * ElementSize;
1539 isVectorPromotionViableForSlice( const DataLayout &DL, AllocaSlices &S, uint64_t SliceBeginOffset, uint64_t SliceEndOffset, VectorType *Ty, uint64_t ElementSize, AllocaSlices::const_iterator I) argument
1926 uint64_t ElementSize; member in class:__anon2680::AllocaSliceRewriter
2953 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy); local
2998 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy); local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1232 unsigned int ElementSize = 0; local
1242 ElementSize = TD->getTypeStoreSize(ETy);
1250 AggBuffer aggBuffer(ElementSize, O, *this);
1255 O << ElementSize / 8; local
1258 O << ElementSize / 4; local
1263 O << ElementSize; local
1271 if (ElementSize) {
1273 O << ElementSize; local
1279 if (ElementSize) {
1281 O << ElementSize; local
1389 int64_t ElementSize = 0; local
1892 int ElementSize = TD->getTypeAllocSize(CPV->getType()); local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp219 unsigned ElementSize = DL->getTypeAllocSize(T); local
221 ElementSize = DL->getStructLayout(ST)->getSizeInBytes();
223 // If malloc call's arg can be determined to be a multiple of ElementSize,
227 if (ComputeMultiple(MallocArg, ElementSize, Multiple,
H A DScalarEvolution.cpp3206 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, *GTI);
3212 const SCEV *LocalOffset = getMulExpr(IndexS, ElementSize, Wrap);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp79 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity(); local
87 if (llvm::isPowerOf2_64(ElementSize)) {
88 return NumElements.getActiveBits() + llvm::Log2_64(ElementSize);
93 if ((ElementSize >> 32) == 0 && NumElements.getBitWidth() <= 64 &&
95 uint64_t TotalSize = NumElements.getZExtValue() * ElementSize;
105 llvm::APSInt TotalSize(llvm::APInt(SizeExtended.getBitWidth(), ElementSize));
H A DExprConstant.cpp6710 CharUnits ElementSize;
6711 if (!HandleSizeof(Info, E->getExprLoc(), ElementType, ElementSize))
6717 if (ElementSize.isZero()) {
6736 llvm::APInt(65, (int64_t)ElementSize.getQuantity(), true), false);
6983 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType);
6984 Result += IdxResult.getSExtValue() * ElementSize;
/freebsd-9.3-release/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp1137 unsigned ElementSize = local
1140 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize);
1150 unsigned ElementSize = local
1153 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize);
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp526 // N = N + Idx * ElementSize;
527 uint64_t ElementSize = TD.getTypeAllocSize(Ty); local
535 if (ElementSize != 1) {
536 IdxN = FastEmit_ri_(VT, ISD::MUL, IdxN, IdxNIsKill, ElementSize, VT);
H A DSelectionDAGBuilder.cpp3301 // N = N + Idx * ElementSize;
3302 APInt ElementSize = APInt(TLI->getPointerSizeInBits(AS),
3312 if (ElementSize != 1) {
3313 if (ElementSize.isPowerOf2()) {
3314 unsigned Amt = ElementSize.logBase2();
3319 SDValue Scale = DAG.getConstant(ElementSize, IdxN.getValueType());
H A DSelectionDAG.cpp3146 unsigned ElementSize = VT.getSizeInBits(); local
3147 unsigned Shift = ElementSize * N2C->getZExtValue();
3149 return getConstant(ShiftedVal.trunc(ElementSize), VT);
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1576 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); local
1577 Type *ElementIntTy = IntegerType::get(C->getContext(), ElementSize);
1580 unsigned ShiftI = Shift+i*ElementSize;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp1257 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy); local
1261 StartOffset + I * ElementSize);
H A DTargetInfo.cpp3416 // ElementSize is in number of floats.
3417 unsigned ElementSize = getContext().getTypeSize(Base) == 64 ? 2 : 4;
3418 markAllocatedVFPs(VFPRegs, AllocatedVFP, ElementSize,
3419 Members * ElementSize);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp7197 CharUnits ElementSize = Context.getTypeSizeInChars(rpointee); local
7198 if (ElementSize.isZero()) {

Completed in 534 milliseconds