/external/llvm/include/llvm/ADT/ |
H A D | SparseBitVector.h | 43 template <unsigned ElementSize = 128> 45 : public ilist_node<SparseBitVectorElement<ElementSize> > { 51 BITWORDS_PER_ELEMENT = (ElementSize + BITWORD_SIZE - 1) / BITWORD_SIZE, 52 BITS_PER_ELEMENT = ElementSize 266 template <unsigned ElementSize> 267 struct ilist_traits<SparseBitVectorElement<ElementSize> > 268 : public ilist_default_traits<SparseBitVectorElement<ElementSize> > { 269 typedef SparseBitVectorElement<ElementSize> Element; 282 template <unsigned ElementSize = 128> 284 typedef ilist<SparseBitVectorElement<ElementSize> > ElementLis [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1350 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8); 1351 APInt NumSkippedElements = Offset.sdiv(ElementSize); 1354 Offset -= NumSkippedElements * ElementSize; 1362 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); 1363 APInt NumSkippedElements = Offset.sdiv(ElementSize); 1367 Offset -= NumSkippedElements * ElementSize; 1416 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); 1417 if (ElementSize == 0) 1419 APInt NumSkippedElements = Offset.sdiv(ElementSize); 1421 Offset -= NumSkippedElements * ElementSize; 1624 isVectorPromotionViableForSlice( const DataLayout &DL, AllocaSlices &S, uint64_t SliceBeginOffset, uint64_t SliceEndOffset, VectorType *Ty, uint64_t ElementSize, AllocaSlices::const_iterator I) argument 2011 uint64_t ElementSize; member in class:__anon26329::AllocaSliceRewriter 3009 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy); local 3054 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy); local [all...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1526 unsigned int ElementSize = 0; local 1536 ElementSize = TD->getTypeStoreSize(ETy); 1544 AggBuffer aggBuffer(ElementSize, O, *this); 1549 O << ElementSize / 8; local 1552 O << ElementSize / 4; local 1557 O << ElementSize; local 1565 if (ElementSize) { 1567 O << ElementSize; local 1573 if (ElementSize) { 1575 O << ElementSize; local 1683 int64_t ElementSize = 0; local 2222 int ElementSize = TD->getTypeAllocSize(CPV->getType()); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 220 unsigned ElementSize = DL->getTypeAllocSize(T); local 222 ElementSize = DL->getStructLayout(ST)->getSizeInBytes(); 224 // If malloc call's arg can be determined to be a multiple of ElementSize, 228 if (ComputeMultiple(MallocArg, ElementSize, Multiple,
|
H A D | ScalarEvolution.cpp | 3306 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, *GTI); 3312 const SCEV *LocalOffset = getMulExpr(IndexS, ElementSize, Wrap); 7380 const SCEV *ElementSize) const { 7382 if (Terms.size() < 1 || !ElementSize) 7410 SCEVDivision::divide(SE, Term, ElementSize, &Q, &R); 7434 Sizes.push_back(ElementSize); 7552 const SCEV *ElementSize) const { 7561 SE.findArrayDimensions(Terms, Sizes, ElementSize);
|
H A D | DependenceAnalysis.cpp | 3186 const SCEV *ElementSize) const { 3210 SE->findArrayDimensions(Terms, Sizes, ElementSize);
|
/external/clang/lib/AST/ |
H A D | Type.cpp | 79 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 D | ExprConstant.cpp | 6760 CharUnits ElementSize; 6761 if (!HandleSizeof(Info, E->getExprLoc(), ElementType, ElementSize)) 6767 if (ElementSize.isZero()) { 6786 llvm::APInt(65, (int64_t)ElementSize.getQuantity(), true), false); 7034 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); 7035 Result += IdxResult.getSExtValue() * ElementSize;
|
/external/llvm/include/llvm/Analysis/ |
H A D | DependenceAnalysis.h | 914 const SCEV *ElementSize) const;
|
H A D | ScalarEvolution.h | 904 const SCEV *ElementSize) const;
|
H A D | ScalarEvolutionExpressions.h | 436 const SCEV *ElementSize) const;
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 1174 unsigned ElementSize = local 1177 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize); 1187 unsigned ElementSize = local 1190 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize);
|
/external/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 1587 unsigned ElementSize; member in class:Rev 1590 Rev(unsigned ElementSize) : ElementSize(ElementSize) {} argument 1599 VectorSize /= ElementSize;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 530 // N = N + Idx * ElementSize; 531 uint64_t ElementSize = DL.getTypeAllocSize(Ty); local 539 if (ElementSize != 1) { 540 IdxN = FastEmit_ri_(VT, ISD::MUL, IdxN, IdxNIsKill, ElementSize, VT);
|
H A D | SelectionDAGBuilder.cpp | 3375 // N = N + Idx * ElementSize; 3376 APInt ElementSize = APInt(TLI->getPointerSizeInBits(AS), 3386 if (ElementSize != 1) { 3387 if (ElementSize.isPowerOf2()) { 3388 unsigned Amt = ElementSize.logBase2(); 3393 SDValue Scale = DAG.getConstant(ElementSize, IdxN.getValueType());
|
H A D | SelectionDAG.cpp | 3335 unsigned ElementSize = VT.getSizeInBits(); local 3336 unsigned Shift = ElementSize * N2C->getZExtValue(); 3338 return getConstant(ShiftedVal.trunc(ElementSize), VT);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1632 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); local 1633 Type *ElementIntTy = IntegerType::get(C->getContext(), ElementSize); 1636 unsigned ShiftI = Shift+i*ElementSize;
|
/external/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 1265 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy); local 1269 StartOffset + I * ElementSize);
|
H A D | TargetInfo.cpp | 4300 // ElementSize is in number of floats. 4301 unsigned ElementSize = getContext().getTypeSize(Base) == 64 ? 2 : 4; local 4302 markAllocatedVFPs(ElementSize, 4303 Members * ElementSize);
|
/external/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 7403 CharUnits ElementSize = Context.getTypeSizeInChars(rpointee); local 7404 if (ElementSize.isZero()) {
|