Searched refs:ElementSize (Results 1 – 12 of 12) sorted by relevance
/external/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 43 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/ |
D | MemoryBuiltins.cpp | 101 unsigned ElementSize = TD->getTypeAllocSize(T); in computeArraySize() local 103 ElementSize = TD->getStructLayout(ST)->getSizeInBytes(); in computeArraySize() 109 if (ComputeMultiple(MallocArg, ElementSize, Multiple, in computeArraySize()
|
D | ScalarEvolution.cpp | 3056 const SCEV *ElementSize = getSizeOfExpr(*GTI); in createNodeForGEP() local 3062 const SCEV *LocalOffset = getMulExpr(IndexS, ElementSize, in createNodeForGEP()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 952 unsigned ElementSize = in InitializeMemory() local 955 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory() 961 unsigned ElementSize = in InitializeMemory() local 964 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize); in InitializeMemory()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 553 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(E->getType()); in VisitArraySubscriptExpr() local 554 Result.Offset += Index.getSExtValue() * ElementSize; in VisitArraySubscriptExpr() 1477 CharUnits ElementSize = CharUnits::One(); in VisitBinaryOperator() local 1479 ElementSize = Info.Ctx.getTypeSizeInChars(ElementType); in VisitBinaryOperator() 1483 return Success(Diff / ElementSize, E); in VisitBinaryOperator() 1691 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); in VisitOffsetOfExpr() local 1692 Result += IdxResult.getSExtValue() * ElementSize; in VisitOffsetOfExpr()
|
D | Type.cpp | 63 uint64_t ElementSize in getNumAddressingBits() local 65 llvm::APSInt TotalSize(llvm::APInt(SizeExtended.getBitWidth(), ElementSize)); in getNumAddressingBits()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 461 uint64_t ElementSize = TD.getTypeAllocSize(Ty); in SelectGetElementPtr() local 469 if (ElementSize != 1) { in SelectGetElementPtr() 470 IdxN = FastEmit_ri_(VT, ISD::MUL, IdxN, IdxNIsKill, ElementSize, VT); in SelectGetElementPtr()
|
D | SelectionDAGBuilder.cpp | 3003 APInt ElementSize = APInt(TLI.getPointerTy().getSizeInBits(), in visitGetElementPtr() local 3013 if (ElementSize != 1) { in visitGetElementPtr() 3014 if (ElementSize.isPowerOf2()) { in visitGetElementPtr() 3015 unsigned Amt = ElementSize.logBase2(); in visitGetElementPtr() 3020 SDValue Scale = DAG.getConstant(ElementSize, TLI.getPointerTy()); in visitGetElementPtr()
|
D | SelectionDAG.cpp | 2897 unsigned ElementSize = VT.getSizeInBits(); in getNode() local 2898 unsigned Shift = ElementSize * N2C->getZExtValue(); in getNode() 2900 return getConstant(ShiftedVal.trunc(ElementSize), VT); in getNode()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1510 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); in CollectInsertionElements() local 1511 Type *ElementIntTy = IntegerType::get(C->getContext(), ElementSize); in CollectInsertionElements() 1515 i*ElementSize)); in CollectInsertionElements()
|
/external/clang/lib/CodeGen/ |
D | ItaniumCXXABI.cpp | 979 llvm::Value *ElementSize = llvm::ConstantInt::get(SizeTy, in InitializeArrayCookie() local 981 CGF.Builder.CreateStore(ElementSize, CookiePtr); in InitializeArrayCookie()
|
D | CGExprConstant.cpp | 1118 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy); in FillInNullDataMemberPointers() local 1122 StartOffset + I * ElementSize); in FillInNullDataMemberPointers()
|