Searched defs:ElementSize (Results 1 - 11 of 11) sorted by relevance

/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp204 unsigned ElementSize = TD->getTypeAllocSize(T); local
206 ElementSize = TD->getStructLayout(ST)->getSizeInBytes();
208 // If malloc call's arg can be determined to be a multiple of ElementSize,
212 if (ComputeMultiple(MallocArg, ElementSize, Multiple,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp509 // N = N + Idx * ElementSize;
510 uint64_t ElementSize = TD.getTypeAllocSize(Ty); local
518 if (ElementSize != 1) {
519 IdxN = FastEmit_ri_(VT, ISD::MUL, IdxN, IdxNIsKill, ElementSize, VT);
H A DSelectionDAG.cpp3001 unsigned ElementSize = VT.getSizeInBits(); local
3002 unsigned Shift = ElementSize * N2C->getZExtValue();
3004 return getConstant(ShiftedVal.trunc(ElementSize), VT);
H A DSelectionDAGBuilder.cpp3149 // N = N + Idx * ElementSize;
3150 APInt ElementSize = APInt(TLI.getPointerTy().getSizeInBits(), local
3160 if (ElementSize != 1) {
3161 if (ElementSize.isPowerOf2()) {
3162 unsigned Amt = ElementSize.logBase2();
3167 SDValue Scale = DAG.getConstant(ElementSize, TLI.getPointerTy());
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp961 unsigned ElementSize = local
964 InitializeMemory(CP->getOperand(i), (char*)Addr+i*ElementSize);
974 unsigned ElementSize = local
977 InitializeMemory(CPA->getOperand(i), (char*)Addr+i*ElementSize);
/external/clang/lib/AST/
H A DType.cpp83 uint64_t ElementSize local
85 llvm::APSInt TotalSize(llvm::APInt(SizeExtended.getBitWidth(), ElementSize));
H A DExprConstant.cpp4974 CharUnits ElementSize; local
4975 if (!HandleSizeof(Info, E->getExprLoc(), ElementType, ElementSize))
4991 llvm::APInt(65, (int64_t)ElementSize.getQuantity(), true), false);
5234 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); local
5235 Result += IdxResult.getSExtValue() * ElementSize;
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1153 unsigned int ElementSize =0; local
1163 ElementSize = TD->getTypeStoreSize(ETy);
1173 AggBuffer aggBuffer(ElementSize, O, *this);
1178 O << ElementSize/8; local
1182 O << ElementSize/4; local
1188 O << ElementSize; local
1197 if (ElementSize) {
1199 O << ElementSize; local
1206 if (ElementSize) {
1208 O << ElementSize; local
1320 int64_t ElementSize =0; local
1827 int ElementSize = TD->getTypeAllocSize(CPV->getType()); local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1498 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); local
1499 Type *ElementIntTy = IntegerType::get(C->getContext(), ElementSize);
1503 i*ElementSize));
/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp1278 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy); local
1282 StartOffset + I * ElementSize);
H A DItaniumCXXABI.cpp893 llvm::Value *ElementSize = llvm::ConstantInt::get(SizeTy, local
895 CGF.Builder.CreateStore(ElementSize, CookiePtr);

Completed in 204 milliseconds