/external/llvm/include/llvm/ADT/ |
H A 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 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...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1238 APInt ElementSize(Offset.getBitWidth(), ElementSizeInBits / 8); 1239 APInt NumSkippedElements = Offset.sdiv(ElementSize); 1242 Offset -= NumSkippedElements * ElementSize; 1250 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); 1251 APInt NumSkippedElements = Offset.sdiv(ElementSize); 1255 Offset -= NumSkippedElements * ElementSize; 1303 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); 1304 if (ElementSize == 0) 1306 APInt NumSkippedElements = Offset.sdiv(ElementSize); 1308 Offset -= NumSkippedElements * ElementSize; 1473 isVectorPromotionViableForSlice( const DataLayout &DL, AllocaSlices &S, uint64_t SliceBeginOffset, uint64_t SliceEndOffset, VectorType *Ty, uint64_t ElementSize, AllocaSlices::const_iterator I) argument 1860 uint64_t ElementSize; member in class:__anon21674::AllocaSliceRewriter 2887 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy); local 2932 uint64_t ElementSize = DL.getTypeAllocSize(ElementTy); local [all...] |
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1207 unsigned int ElementSize = 0; local 1217 ElementSize = TD->getTypeStoreSize(ETy); 1225 AggBuffer aggBuffer(ElementSize, O, *this); 1230 O << ElementSize / 8; local 1233 O << ElementSize / 4; local 1238 O << ElementSize; local 1246 if (ElementSize) { 1248 O << ElementSize; local 1254 if (ElementSize) { 1256 O << ElementSize; local 1364 int64_t ElementSize = 0; local 1867 int ElementSize = TD->getTypeAllocSize(CPV->getType()); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 211 unsigned ElementSize = TD->getTypeAllocSize(T); local 213 ElementSize = TD->getStructLayout(ST)->getSizeInBytes(); 215 // If malloc call's arg can be determined to be a multiple of ElementSize, 219 if (ComputeMultiple(MallocArg, ElementSize, Multiple,
|
H A D | ScalarEvolution.cpp | 3208 const SCEV *ElementSize = getSizeOfExpr(*GTI); 3214 const SCEV *LocalOffset = getMulExpr(IndexS, 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 | 6560 CharUnits ElementSize; 6561 if (!HandleSizeof(Info, E->getExprLoc(), ElementType, ElementSize)) 6577 llvm::APInt(65, (int64_t)ElementSize.getQuantity(), true), false); 6824 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); 6825 Result += IdxResult.getSExtValue() * ElementSize;
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 1125 unsigned ElementSize = local 1128 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize); 1138 unsigned ElementSize = local 1141 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 526 // 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 D | SelectionDAGBuilder.cpp | 3196 // N = N + Idx * ElementSize; 3197 APInt ElementSize = APInt(TLI->getPointerTy().getSizeInBits(), local 3207 if (ElementSize != 1) { 3208 if (ElementSize.isPowerOf2()) { 3209 unsigned Amt = ElementSize.logBase2(); 3214 SDValue Scale = DAG.getConstant(ElementSize, IdxN.getValueType());
|
H A D | SelectionDAG.cpp | 3065 unsigned ElementSize = VT.getSizeInBits(); local 3066 unsigned Shift = ElementSize * N2C->getZExtValue(); 3068 return getConstant(ShiftedVal.trunc(ElementSize), VT);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1532 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); local 1533 Type *ElementIntTy = IntegerType::get(C->getContext(), ElementSize); 1537 i*ElementSize));
|
/external/v8/src/ |
H A D | elements.cc | 614 int ElementSize> 648 int filler_size = (old_capacity - length) * ElementSize;
|
/external/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 1278 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy); local 1282 StartOffset + I * ElementSize);
|
H A D | TargetInfo.cpp | 3357 // ElementSize is in number of floats. 3358 unsigned ElementSize = getContext().getTypeSize(Base) == 64 ? 2 : 4; 3359 markAllocatedVFPs(VFPRegs, AllocatedVFP, ElementSize, 3360 Members * ElementSize);
|
/external/chromium_org/v8/src/ |
H A D | elements.cc | 899 int ElementSize> 945 int filler_size = (old_capacity - length) * ElementSize;
|