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

/external/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
278 template <unsigned ElementSize = 128>
280 typedef ilist<SparseBitVectorElement<ElementSize> > ElementList;
284 BITWORD_SIZE = SparseBitVectorElement<ElementSize>::BITWORD_SIZE
328 const SparseBitVector<ElementSize> *BitVector;
340 typename SparseBitVectorElement<ElementSize>::BitWord Bits;
351 BitNumber = Iter->index() * ElementSize;
[all...]
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp101 unsigned ElementSize = TD->getTypeAllocSize(T); local
103 ElementSize = TD->getStructLayout(ST)->getSizeInBytes();
105 // If malloc call's arg can be determined to be a multiple of ElementSize,
109 if (ComputeMultiple(MallocArg, ElementSize, Multiple,
H A DScalarEvolution.cpp3151 const SCEV *ElementSize = getSizeOfExpr(*GTI);
3157 const SCEV *LocalOffset = getMulExpr(IndexS, ElementSize,
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp950 unsigned ElementSize = local
953 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize);
959 unsigned ElementSize = local
962 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize);
/external/clang/lib/AST/
H A DExprConstant.cpp588 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(E->getType());
589 Result.Offset += Index.getSExtValue() * ElementSize;
1557 CharUnits ElementSize = CharUnits::One(); local
1559 ElementSize = Info.Ctx.getTypeSizeInChars(ElementType);
1563 return Success(Diff / ElementSize, E);
1771 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); local
1772 Result += IdxResult.getSExtValue() * ElementSize;
H A DType.cpp83 uint64_t ElementSize local
85 llvm::APSInt TotalSize(llvm::APInt(SizeExtended.getBitWidth(), ElementSize));
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp465 // N = N + Idx * ElementSize;
466 uint64_t ElementSize = TD.getTypeAllocSize(Ty); local
474 if (ElementSize != 1) {
475 IdxN = FastEmit_ri_(VT, ISD::MUL, IdxN, IdxNIsKill, ElementSize, VT);
H A DSelectionDAGBuilder.cpp3080 // N = N + Idx * ElementSize;
3081 APInt ElementSize = APInt(TLI.getPointerTy().getSizeInBits(), local
3091 if (ElementSize != 1) {
3092 if (ElementSize.isPowerOf2()) {
3093 unsigned Amt = ElementSize.logBase2();
3098 SDValue Scale = DAG.getConstant(ElementSize, TLI.getPointerTy());
H A DSelectionDAG.cpp2922 unsigned ElementSize = VT.getSizeInBits(); local
2923 unsigned Shift = ElementSize * N2C->getZExtValue();
2925 return getConstant(ShiftedVal.trunc(ElementSize), VT);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1508 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); local
1509 Type *ElementIntTy = IntegerType::get(C->getContext(), ElementSize);
1513 i*ElementSize));
/external/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp959 llvm::Value *ElementSize = llvm::ConstantInt::get(SizeTy, local
961 CGF.Builder.CreateStore(ElementSize, CookiePtr);
H A DCGExprConstant.cpp1136 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy); local
1140 StartOffset + I * ElementSize);

Completed in 213 milliseconds