/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 416 unsigned EltSize = In->getPrimitiveSizeInBits()/8; local 417 if (EltSize == AllocaSize) 423 if (Offset % EltSize == 0 && AllocaSize % EltSize == 0 && 424 (!VectorTy || EltSize == VectorTy->getElementType() 428 VectorTy = VectorType::get(In, AllocaSize/EltSize); 781 unsigned EltSize = TD.getTypeAllocSizeInBits(VTy->getElementType()); local 782 Elt = Offset/EltSize; 783 assert(EltSize*Elt == Offset && "Invalid modulus in validity checking"); 821 uint64_t EltSize local 917 uint64_t EltSize = TD.getTypeAllocSizeInBits(EltTy); local 949 uint64_t EltSize = TD.getTypeAllocSizeInBits(AT->getElementType()); local 1842 uint64_t EltSize; local 2030 uint64_t EltSize = TD->getTypeAllocSize(T); local 2038 uint64_t EltSize = TD->getTypeAllocSize(T); local 2130 uint64_t EltSize = TD->getTypeAllocSize(IdxTy) - NewOffset; local 2146 uint64_t EltSize = TD->getTypeAllocSize(IdxTy); local 2281 unsigned EltSize = TD->getTypeSizeInBits(ValTy); local 2311 unsigned EltSize = TD->getTypeAllocSize(EltTy); local [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Allocator.h | 170 // Round EltSize up to the specified alignment. 171 size_t EltSize = (sizeof(T)+Alignment-1)&(-Alignment); local 172 return static_cast<T*>(Allocate(Num * EltSize, Alignment));
|
/external/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 94 uint64_t EltSize = TLI.getTargetData()->getTypeAllocSize(EltTy); local 97 StartingOffset + i * EltSize);
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 225 bool isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize); 233 unsigned getVSPLTImmediate(SDNode *N, unsigned EltSize);
|
H A D | PPCISelLowering.cpp | 679 bool PPC::isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize) { argument 681 (EltSize == 1 || EltSize == 2 || EltSize == 4)); 693 for (unsigned i = 1; i != EltSize; ++i) 697 for (unsigned i = EltSize, e = 16; i != e; i += EltSize) { 699 for (unsigned j = 0; j != EltSize; ++j) 724 unsigned PPC::getVSPLTImmediate(SDNode *N, unsigned EltSize) { argument 726 assert(isSplatShuffleMask(SVOp, EltSize)); 741 unsigned EltSize = 16/N->getNumOperands(); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 322 uint64_t EltSize = TD.getTypeAllocSize(CS->getOperand(Index)->getType()); local 324 if (ByteOffset < EltSize && 353 uint64_t EltSize = TD.getTypeAllocSize(EltTy); local 354 uint64_t Index = ByteOffset / EltSize; 355 uint64_t Offset = ByteOffset - Index * EltSize; 367 uint64_t BytesWritten = EltSize - Offset; 368 assert(BytesWritten <= EltSize && "Not indexing into this element?");
|
/external/clang/lib/CodeGen/ |
H A D | TargetInfo.cpp | 1451 uint64_t EltSize = getContext().getTypeSize(AT->getElementType()); 1457 if (Size > 128 && EltSize != 256) 1460 for (uint64_t i=0, Offset=OffsetBase; i<ArraySize; ++i, Offset += EltSize) { 1722 unsigned EltSize = (unsigned)Context.getTypeSize(AT->getElementType()); 1728 unsigned EltOffset = i*EltSize; 1811 unsigned EltSize = TD.getTypeAllocSize(EltTy); 1812 IROffset -= IROffset/EltSize*EltSize; 1897 unsigned EltSize = getTargetData().getTypeAllocSize(EltTy); 1898 unsigned EltOffset = IROffset/EltSize*EltSiz [all...] |
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 1235 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); local 1253 Res |= EltAsInt.zextOrTrunc(VecSize).rotr(i*EltSize+BaseEltSize); 1255 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize); 3633 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); local 3639 unsigned FloatEltSize = EltSize; 3645 Elt = SValInt.rotl(i*EltSize+FloatEltSize).trunc(FloatEltSize); 3647 Elt = SValInt.rotr(i*EltSize).trunc(FloatEltSize); 3654 Elt = SValInt.rotl(i*EltSize+EltSize).zextOrTrunc(EltSize); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 784 uint64_t EltSize = TD->getTypeAllocSize(AT->getElementType()); local 785 assert(EltSize && "Cannot index into a zero-sized array"); 786 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize)); 787 Offset %= EltSize;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypes.cpp | 993 unsigned EltSize = EltVT.getSizeInBits() / 8; // FIXME: should be ABI size. local 996 DAG.getConstant(EltSize, Index.getValueType()));
|
H A D | LegalizeDAG.cpp | 598 unsigned EltSize = EltVT.getSizeInBits()/8; local 599 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT)); 1364 unsigned EltSize = 1367 DAG.getConstant(EltSize, Idx.getValueType())); 1406 unsigned EltSize = 1410 DAG.getConstant(EltSize, Idx.getValueType()));
|
H A D | SelectionDAG.cpp | 138 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); local 141 EltSize) 145 .bitcastToAPInt().countTrailingOnes() < EltSize)
|
H A D | DAGCombiner.cpp | 8707 unsigned EltSize = (unsigned)TD.getTypeAllocSize(Elts[0]->getType()); local 8708 SDValue One = DAG.getIntPtrConstant(EltSize);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 4207 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local 4211 if (hasDominantValue && EltSize <= 32) { 4273 if (EltSize >= 32) { 4276 EVT EltVT = EVT::getFloatingPointVT(EltSize); 4460 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local 4461 return (EltSize >= 32 || 4592 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local 4593 if (EltSize <= 32) { 4687 if (EltSize >= 32) { 4690 EVT EltVT = EVT::getFloatingPointVT(EltSize); 4799 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local 4859 unsigned EltSize = VT.getVectorElementType().getSizeInBits() / 2; local 8403 unsigned EltSize = Op.getValueType().getVectorElementType().getSizeInBits(); local [all...] |
/external/llvm/lib/VMCore/ |
H A D | Constants.cpp | 2430 unsigned EltSize = getElementByteSize(); local 2432 if (memcmp(Base, Base+i*EltSize, EltSize))
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 709 uint64_t EltSize = TD.getTypeAllocSize(STy->getElementType()); local 726 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i);
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 4043 unsigned EltSize = VT.getVectorElementType().getSizeInBits() >> 3; local 4060 return (Val - i) * EltSize; 13785 unsigned EltSize = local 13787 uint64_t Offset = EltSize * cast<ConstantSDNode>(Idx)->getZExtValue();
|