Searched refs:EltSize (Results 1 - 15 of 15) sorted by relevance

/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp416 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
1833 uint64_t EltSize; local
2021 uint64_t EltSize = TD->getTypeAllocSize(T); local
2029 uint64_t EltSize = TD->getTypeAllocSize(T); local
2121 uint64_t EltSize = TD->getTypeAllocSize(IdxTy) - NewOffset; local
2137 uint64_t EltSize = TD->getTypeAllocSize(IdxTy); local
2272 unsigned EltSize = TD->getTypeSizeInBits(ValTy); local
2302 unsigned EltSize = TD->getTypeAllocSize(EltTy); local
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Support/
H A DAllocator.h170 // 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));
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/
H A DAnalysis.cpp94 uint64_t EltSize = TLI.getTargetData()->getTypeAllocSize(EltTy); local
97 StartingOffset + i * EltSize);
/macosx-10.10/llvmCore-3425.0.34/lib/Target/PowerPC/
H A DPPCISelLowering.h225 bool isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize);
233 unsigned getVSPLTImmediate(SDNode *N, unsigned EltSize);
H A DPPCISelLowering.cpp679 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...]
/macosx-10.10/llvmCore-3425.0.34/lib/Analysis/
H A DConstantFolding.cpp322 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?");
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp784 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;
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp1020 unsigned EltSize = EltVT.getSizeInBits() / 8; // FIXME: should be ABI size. local
1023 DAG.getConstant(EltSize, Index.getValueType()));
H A DLegalizeDAG.cpp598 unsigned EltSize = EltVT.getSizeInBits()/8; local
599 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT));
1376 unsigned EltSize =
1379 DAG.getConstant(EltSize, Idx.getValueType()));
1418 unsigned EltSize =
1422 DAG.getConstant(EltSize, Idx.getValueType()));
H A DSelectionDAG.cpp138 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); local
140 if (CN->getAPIntValue().countTrailingOnes() < EltSize)
143 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingOnes() < EltSize)
H A DDAGCombiner.cpp9136 unsigned EltSize = (unsigned)TD.getTypeAllocSize(Elts[0]->getType()); local
9137 SDValue One = DAG.getIntPtrConstant(EltSize);
/macosx-10.10/llvmCore-3425.0.34/lib/Target/ARM/
H A DARMISelLowering.cpp4224 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4228 if (hasDominantValue && EltSize <= 32) {
4307 if (EltSize >= 32) {
4310 EVT EltVT = EVT::getFloatingPointVT(EltSize);
4494 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4495 return (EltSize >= 32 ||
4626 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4627 if (EltSize <= 32) {
4721 if (EltSize >= 32) {
4724 EVT EltVT = EVT::getFloatingPointVT(EltSize);
4833 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4893 unsigned EltSize = VT.getVectorElementType().getSizeInBits() / 2; local
8438 unsigned EltSize = Op.getValueType().getVectorElementType().getSizeInBits(); local
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/
H A DConstants.cpp2430 unsigned EltSize = getElementByteSize(); local
2432 if (memcmp(Base, Base+i*EltSize, EltSize))
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/IPO/
H A DGlobalOpt.cpp709 uint64_t EltSize = TD.getTypeAllocSize(STy->getElementType()); local
726 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i);
/macosx-10.10/llvmCore-3425.0.34/lib/Target/X86/
H A DX86ISelLowering.cpp4058 unsigned EltSize = VT.getVectorElementType().getSizeInBits() >> 3; local
4075 return (Val - i) * EltSize;
14001 unsigned EltSize = local
14003 uint64_t Offset = EltSize * cast<ConstantSDNode>(Idx)->getZExtValue();

Completed in 392 milliseconds