/freebsd-10.0-release/contrib/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 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...] |
/freebsd-10.0-release/contrib/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));
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 92 uint64_t EltSize = TLI.getDataLayout()->getTypeAllocSize(EltTy); local 95 StartingOffset + i * EltSize);
|
/freebsd-10.0-release/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 235 /// VRRC = VADD_SPLAT Elt, EltSize - Temporary node to be expanded 311 bool isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize); 319 unsigned getVSPLTImmediate(SDNode *N, unsigned EltSize);
|
H A D | PPCISelDAGToDAG.cpp | 1332 int EltSize = N->getConstantOperandVal(1); local 1336 if (EltSize == 1) { 1341 } else if (EltSize == 2) { 1347 assert(EltSize == 4 && "Invalid element size on VADD_SPLAT!");
|
H A D | PPCISelLowering.cpp | 809 bool PPC::isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize) { argument 811 (EltSize == 1 || EltSize == 2 || EltSize == 4)); 823 for (unsigned i = 1; i != EltSize; ++i) 827 for (unsigned i = EltSize, e = 16; i != e; i += EltSize) { 829 for (unsigned j = 0; j != EltSize; ++j) 854 unsigned PPC::getVSPLTImmediate(SDNode *N, unsigned EltSize) { argument 856 assert(isSplatShuffleMask(SVOp, EltSize)); 871 unsigned EltSize = 16/N->getNumOperands(); local 5240 SDValue EltSize = DAG.getConstant(Size, MVT::i32); local [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsSEISelLowering.cpp | 330 unsigned EltSize = Ty.getVectorElementType().getSizeInBits(); local 335 EltSize, !Subtarget->isLittle()) || 336 (SplatBitSize != EltSize) || 337 (SplatValue.getZExtValue() >= EltSize))
|
/freebsd-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 311 uint64_t EltSize = TD.getTypeAllocSize(CS->getOperand(Index)->getType()); local 313 if (ByteOffset < EltSize && 342 uint64_t EltSize = TD.getTypeAllocSize(EltTy); local 343 uint64_t Index = ByteOffset / EltSize; 344 uint64_t Offset = ByteOffset - Index * EltSize; 356 uint64_t BytesWritten = EltSize - Offset; 357 assert(BytesWritten <= EltSize && "Not indexing into this element?");
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | TargetInfo.cpp | 1504 uint64_t EltSize = getContext().getTypeSize(AT->getElementType()); 1510 if (Size > 128 && EltSize != 256) 1513 for (uint64_t i=0, Offset=OffsetBase; i<ArraySize; ++i, Offset += EltSize) { 1775 unsigned EltSize = (unsigned)Context.getTypeSize(AT->getElementType()); 1781 unsigned EltOffset = i*EltSize; 1864 unsigned EltSize = TD.getTypeAllocSize(EltTy); 1865 IROffset -= IROffset/EltSize*EltSize; 1953 unsigned EltSize = getDataLayout().getTypeAllocSize(EltTy); 1954 unsigned EltOffset = IROffset/EltSize*EltSiz [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ExprConstant.cpp | 1272 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); local 1290 Res |= EltAsInt.zextOrTrunc(VecSize).rotr(i*EltSize+BaseEltSize); 1292 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize); 4344 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); 4349 unsigned FloatEltSize = EltSize; 4355 Elt = SValInt.rotl(i*EltSize+FloatEltSize).trunc(FloatEltSize); 4357 Elt = SValInt.rotr(i*EltSize).trunc(FloatEltSize); 4364 Elt = SValInt.rotl(i*EltSize+EltSize).zextOrTrunc(EltSize); [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 805 uint64_t EltSize = TD->getTypeAllocSize(AT->getElementType()); local 806 assert(EltSize && "Cannot index into a zero-sized array"); 807 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize)); 808 Offset %= EltSize;
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypes.cpp | 1023 unsigned EltSize = EltVT.getSizeInBits() / 8; // FIXME: should be ABI size. local 1026 DAG.getConstant(EltSize, Index.getValueType()));
|
H A D | LegalizeDAG.cpp | 601 unsigned EltSize = EltVT.getSizeInBits()/8; local 602 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT)); 1380 unsigned EltSize = 1383 DAG.getConstant(EltSize, Idx.getValueType())); 1422 unsigned EltSize = 1426 DAG.getConstant(EltSize, Idx.getValueType()));
|
H A D | SelectionDAG.cpp | 123 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); local 125 if (CN->getAPIntValue().countTrailingOnes() < EltSize) 128 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingOnes() < EltSize)
|
H A D | DAGCombiner.cpp | 9785 unsigned EltSize = (unsigned)TD.getTypeAllocSize(Elts[0]->getType()); local 9786 SDValue One = DAG.getIntPtrConstant(EltSize);
|
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 4586 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local 4590 if (hasDominantValue && EltSize <= 32) { 4670 if (EltSize >= 32) { 4673 EVT EltVT = EVT::getFloatingPointVT(EltSize); 4857 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local 4858 return (EltSize >= 32 || 5007 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local 5008 if (EltSize <= 32) { 5108 if (EltSize >= 32) { 5111 EVT EltVT = EVT::getFloatingPointVT(EltSize); 5223 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local 5350 unsigned EltSize = VT.getVectorElementType().getSizeInBits() / 2; local 8987 unsigned EltSize = Op.getValueType().getVectorElementType().getSizeInBits(); local [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 585 uint32_t EltSize = MS.TD->getTypeSizeInBits(VT->getElementType()); local 586 return VectorType::get(IntegerType::get(*MS.C, EltSize),
|
/freebsd-10.0-release/contrib/llvm/lib/IR/ |
H A D | Constants.cpp | 2512 unsigned EltSize = getElementByteSize(); local 2514 if (memcmp(Base, Base+i*EltSize, EltSize))
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 713 uint64_t EltSize = TD.getTypeAllocSize(STy->getElementType()); local 730 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i);
|
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 4167 unsigned EltSize = VT.getVectorElementType().getSizeInBits() >> 3; local 4184 return (Val - i) * EltSize; 15342 unsigned EltSize = local 15344 uint64_t Offset = EltSize * cast<ConstantSDNode>(Idx)->getZExtValue();
|