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

/freebsd-9.3-release/contrib/llvm/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
2273 unsigned EltSize = TD->getTypeSizeInBits(ValTy); local
2303 unsigned EltSize = TD->getTypeAllocSize(EltTy); local
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DAllocator.h171 // Round EltSize up to the specified alignment.
172 size_t EltSize = (sizeof(T)+Alignment-1)&(-Alignment); local
173 return static_cast<T*>(Allocate(Num * EltSize, Alignment));
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp319 uint64_t EltSize = TD.getTypeAllocSize(CS->getOperand(Index)->getType()); local
321 if (ByteOffset < EltSize &&
350 uint64_t EltSize = TD.getTypeAllocSize(EltTy); local
351 uint64_t Index = ByteOffset / EltSize;
352 uint64_t Offset = ByteOffset - Index * EltSize;
364 uint64_t BytesWritten = EltSize - Offset;
365 assert(BytesWritten <= EltSize && "Not indexing into this element?");
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DAnalysis.cpp92 uint64_t EltSize = TLI.getDataLayout()->getTypeAllocSize(EltTy); local
95 StartingOffset + i * EltSize);
/freebsd-9.3-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h239 /// VRRC = VADD_SPLAT Elt, EltSize - Temporary node to be expanded
319 bool isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize);
327 unsigned getVSPLTImmediate(SDNode *N, unsigned EltSize);
H A DPPCISelDAGToDAG.cpp1317 int EltSize = N->getConstantOperandVal(1); local
1321 if (EltSize == 1) {
1326 } else if (EltSize == 2) {
1332 assert(EltSize == 4 && "Invalid element size on VADD_SPLAT!");
H A DPPCISelLowering.cpp830 bool PPC::isSplatShuffleMask(ShuffleVectorSDNode *N, unsigned EltSize) { argument
832 (EltSize == 1 || EltSize == 2 || EltSize == 4));
844 for (unsigned i = 1; i != EltSize; ++i)
848 for (unsigned i = EltSize, e = 16; i != e; i += EltSize) {
850 for (unsigned j = 0; j != EltSize; ++j)
875 unsigned PPC::getVSPLTImmediate(SDNode *N, unsigned EltSize) { argument
877 assert(isSplatShuffleMask(SVOp, EltSize));
892 unsigned EltSize = 16/N->getNumOperands(); local
5276 SDValue EltSize = DAG.getConstant(Size, MVT::i32); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DTargetInfo.cpp1595 uint64_t EltSize = getContext().getTypeSize(AT->getElementType());
1601 if (Size > 128 && EltSize != 256)
1604 for (uint64_t i=0, Offset=OffsetBase; i<ArraySize; ++i, Offset += EltSize) {
1866 unsigned EltSize = (unsigned)Context.getTypeSize(AT->getElementType());
1872 unsigned EltOffset = i*EltSize;
1955 unsigned EltSize = TD.getTypeAllocSize(EltTy);
1956 IROffset -= IROffset/EltSize*EltSize;
2044 unsigned EltSize = getDataLayout().getTypeAllocSize(EltTy);
2045 unsigned EltOffset = IROffset/EltSize*EltSiz
[all...]
H A DCGBuiltin.cpp1671 int EltSize = VTy->getScalarSizeInBits(); local
1677 if (ShiftAmt == EltSize) {
/freebsd-9.3-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4031 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4032 if (hasDominantValue && EltSize <= 64) {
4220 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4221 if (EltSize > 64)
4298 assert((EltSize % 8 == 0) && "Bitsize of vector element is incorrect");
4299 unsigned VecSize = EltSize * V1EltNum;
4300 unsigned Index = (EltSize/8) * ShuffleMask[0];
4359 EltVT = (EltSize == 64) ? MVT::f64 : MVT::f32;
4361 EltVT = (EltSize == 64) ? MVT::i64 : MVT::i32;
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp814 uint64_t EltSize = TD->getTypeAllocSize(AT->getElementType()); local
815 assert(EltSize && "Cannot index into a zero-sized array");
816 NewIndices.push_back(ConstantInt::get(IntPtrTy,Offset/EltSize));
817 Offset %= EltSize;
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp980 unsigned EltSize = EltVT.getSizeInBits() / 8; // FIXME: should be ABI size. local
983 DAG.getConstant(EltSize, Index.getValueType()));
H A DLegalizeDAG.cpp611 unsigned EltSize = EltVT.getSizeInBits()/8; local
612 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT));
1392 unsigned EltSize =
1395 DAG.getConstant(EltSize, Idx.getValueType()));
1430 unsigned EltSize =
1434 DAG.getConstant(EltSize, Idx.getValueType()));
H A DSelectionDAG.cpp122 unsigned EltSize = N->getValueType(0).getVectorElementType().getSizeInBits(); local
124 if (CN->getAPIntValue().countTrailingOnes() < EltSize)
127 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingOnes() < EltSize)
H A DDAGCombiner.cpp10517 unsigned EltSize = (unsigned)TD.getTypeAllocSize(Elts[0]->getType()); local
10518 SDValue One = DAG.getIntPtrConstant(EltSize);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp1528 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); local
1546 Res |= EltAsInt.zextOrTrunc(VecSize).rotr(i*EltSize+BaseEltSize);
1548 Res |= EltAsInt.zextOrTrunc(VecSize).rotl(i*EltSize);
5308 unsigned EltSize = Info.Ctx.getTypeSize(EltTy);
5313 unsigned FloatEltSize = EltSize;
5319 Elt = SValInt.rotl(i*EltSize+FloatEltSize).trunc(FloatEltSize);
5321 Elt = SValInt.rotr(i*EltSize).trunc(FloatEltSize);
5328 Elt = SValInt.rotl(i*EltSize+EltSize).zextOrTrunc(EltSize);
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4875 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4879 if (hasDominantValue && EltSize <= 32) {
4959 if (EltSize >= 32) {
4962 EVT EltVT = EVT::getFloatingPointVT(EltSize);
5164 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
5165 return (EltSize >= 32 ||
5314 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
5315 if (EltSize <= 32) {
5415 if (EltSize >= 32) {
5418 EVT EltVT = EVT::getFloatingPointVT(EltSize);
5530 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
5657 unsigned EltSize = VT.getVectorElementType().getSizeInBits() / 2; local
9557 unsigned EltSize = Op.getValueType().getVectorElementType().getSizeInBits(); local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp755 unsigned EltSize = Ty.getVectorElementType().getSizeInBits(); local
763 EltSize, !Subtarget->isLittle()) ||
764 (SplatBitSize != EltSize) ||
765 (SplatValue.getZExtValue() >= EltSize))
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp715 uint32_t EltSize = MS.TD->getTypeSizeInBits(VT->getElementType()); local
716 return VectorType::get(IntegerType::get(*MS.C, EltSize),
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DConstants.cpp2548 unsigned EltSize = getElementByteSize(); local
2550 if (memcmp(Base, Base+i*EltSize, EltSize))
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp519 uint64_t EltSize = TD.getTypeAllocSize(STy->getElementType()); local
536 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i);
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp1414 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
1427 if ( EltSize >= 32) {
3729 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
3731 (VT.getSizeInBits() >= 256) && (EltSize == 32);
4158 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4159 if (EltSize < 32)
4164 if (VT.is128BitVector() || (VT.is256BitVector() && EltSize == 64)) {
4202 unsigned EltSize = VT.getVectorElementType().getSizeInBits(); local
4203 if (VT.getSizeInBits() < 256 || EltSize < 32)
4205 bool symetricMaskRequired = (EltSize
4475 unsigned EltSize = VT.is512BitVector() ? 1 : local
16503 unsigned EltSize = local
[all...]

Completed in 785 milliseconds