Searched refs:NumElts (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-10.1-release/contrib/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp66 unsigned NumElts = VT.getVectorNumElements(); local
70 unsigned NumLaneElts = NumElts / NumLanes;
72 for (unsigned l = 0; l != NumElts; l += NumLaneElts) {
76 if (Base >= NumLaneElts) Base += NumElts - NumLaneElts;
86 unsigned NumElts = VT.getVectorNumElements(); local
89 unsigned NumLaneElts = NumElts / NumLanes;
92 for (unsigned l = 0; l != NumElts; l += NumLaneElts) {
103 unsigned NumElts = VT.getVectorNumElements(); local
105 for (unsigned l = 0; l != NumElts; l += 8) {
119 unsigned NumElts local
137 unsigned NumElts = VT.getVectorNumElements(); local
159 unsigned NumElts = VT.getVectorNumElements(); local
179 unsigned NumElts = VT.getVectorNumElements(); local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitstreamReader.cpp141 unsigned NumElts = ReadVBR(6); local
142 for (unsigned i = 0; i != NumElts; ++i)
162 unsigned NumElts = ReadVBR(6); local
169 for (; NumElts; --NumElts)
176 unsigned NumElts = ReadVBR(6); local
180 size_t NewEnd = GetCurrentBitNo()+((NumElts+3)&~3)*8;
199 unsigned NumElts = ReadVBR(6); local
200 for (unsigned i = 0; i != NumElts; ++i)
231 unsigned NumElts local
245 unsigned NumElts = ReadVBR(6); local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp80 unsigned NumElts = CDS->getNumElements(); local
81 assert(NumElts != 0 && "Can't have an empty CDS");
83 if (CDS->getElementAsInteger(NumElts-1) != 0)
87 for (unsigned i = 0; i != NumElts-1; ++i)
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h82 unsigned NumElts; member in struct:clang::APValue::Vec
83 Vec() : Elts(0), NumElts(0) {}
88 unsigned NumElts, ArrSize; member in struct:clang::APValue::Arr
89 Arr(unsigned NumElts, unsigned ArrSize);
269 return ((const Vec*)(const void *)Data)->NumElts;
293 return ((const Arr*)(const void *)Data)->NumElts;
359 ((Vec*)(char*)Data)->NumElts = N;
H A DDeclObjC.h41 unsigned NumElts; member in class:clang::ObjCListBase
44 ObjCListBase() : List(0), NumElts(0) {}
45 unsigned size() const { return NumElts; }
46 bool empty() const { return NumElts == 0; }
66 iterator end() const { return (iterator)List+NumElts; }
69 assert(Idx < NumElts && "Invalid access");
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp340 unsigned NumElts = 2; local
344 NumElts);
348 NumElts = N->getValueType(0).getVectorNumElements();
353 IntegerToVector(N->getOperand(0), NumElts, Ops, NVT.getVectorElementType());
355 SDValue Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, NVT, &Ops[0], NumElts);
366 unsigned NumElts = VecVT.getVectorNumElements(); local
377 NewElts.reserve(NumElts*2);
379 for (unsigned i = 0; i < NumElts; ++i) {
406 unsigned NumElts = VecVT.getVectorNumElements(); local
418 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*
444 unsigned NumElts = VT.getVectorNumElements(); local
[all...]
H A DLegalizeVectorTypes.cpp1617 unsigned NumElts = VT.getVectorNumElements(); local
1618 while (!TLI.isTypeLegal(VT) && NumElts != 1) {
1619 NumElts = NumElts / 2;
1620 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts);
1623 if (NumElts != 1 && !TLI.canOpTrap(N->getOpcode(), VT)) {
1631 if (NumElts == 1)
1644 // NumElts := greatest legal vector size (at most WidenVT)
1646 // take munches of size NumElts from the beginning and add to ConcatOps
1647 // NumElts
1969 unsigned NumElts = VT.getVectorNumElements(); local
2155 unsigned NumElts = VT.getVectorNumElements(); local
2274 unsigned NumElts = VT.getVectorNumElements(); local
2385 unsigned NumElts = VT.getVectorNumElements(); local
2432 unsigned NumElts = VT.getVectorNumElements(); local
2579 unsigned NumElts = Width / LdTy.getSizeInBits(); local
2638 unsigned NumElts = WidenWidth / NewVTWidth; local
2779 unsigned NumElts = LdVT.getVectorNumElements(); local
2856 unsigned NumElts = ValWidth / NewVTWidth; local
2907 unsigned NumElts = StVT.getVectorNumElements(); local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp331 unsigned NumElts = V->getType()->getVectorNumElements(); local
334 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext())));
339 for (unsigned i = 0; i != NumElts; ++i)
345 for (unsigned i = 0; i != NumElts; ++i)
347 i+NumElts)); local
382 Mask[InsertedIdx % NumElts] =
387 Mask[InsertedIdx % NumElts] =
389 ExtractedIdx+NumElts);
410 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); local
413 Mask.assign(NumElts, UndefValu
[all...]
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp844 unsigned NumElts = VT.getVectorNumElements(); local
851 if (!isPowerOf2_32(NumElts)) {
852 NumVectorRegs = NumElts;
853 NumElts = 1;
858 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) {
859 NumElts >>= 1;
865 MVT NewVT = MVT::getVectorVT(EltTy, NumElts);
1073 unsigned NumElts = VT.getVectorNumElements(); local
1075 NumElts >
1118 unsigned NumElts = VT.getVectorNumElements(); local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp626 unsigned NumElts = ObjectVT.getVectorNumElements(); local
636 if (NumElts == 1) {
650 } else if (NumElts == 2) {
687 for (unsigned i = 0; i < NumElts; i += VecSize) {
702 if (i + 1 < NumElts) {
714 if (i + 2 < NumElts) {
724 if (i + 3 < NumElts) {
956 unsigned NumElts = ObjectVT.getVectorNumElements(); local
959 ObjectVT) == NumElts &&
964 if (NumElts
1258 unsigned NumElts = ValVT.getVectorNumElements(); local
1527 unsigned NumElts = ObjectVT.getVectorNumElements(); local
1713 unsigned NumElts = VTy->getNumElements(); local
2074 unsigned NumElts = ResVT.getVectorNumElements(); local
2159 unsigned NumElts = ResVT.getVectorNumElements(); local
[all...]
H A DNVPTXISelDAGToDAG.cpp2040 unsigned NumElts = 1; local
2045 NumElts = 1;
2048 NumElts = 2;
2051 NumElts = 4;
2057 for (unsigned i = 0; i < NumElts; ++i)
2066 switch (NumElts) {
2166 unsigned NumElts = 1; local
2173 NumElts = 1;
2176 NumElts = 2;
2179 NumElts
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/Target/
H A DTargetLowering.h1515 unsigned NumElts = VT.getVectorNumElements();
1519 if (NumElts == 1)
1529 NumElts = (unsigned)NextPowerOf2(NumElts);
1530 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts);
1541 EVT::getVectorVT(Context, EltVT, NumElts / 2));
1561 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts);
1565 EVT::getVectorVT(Context, EltVT, NumElts));
1577 NumElts = (unsigned)NextPowerOf2(NumElts);
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/ADT/
H A DSmallString.h48 void assign(size_t NumElts, char Elt) { argument
49 this->SmallVectorImpl<char>::assign(NumElts, Elt);
H A DSmallVector.h470 void assign(unsigned NumElts, const T &Elt) { argument
472 if (this->capacity() < NumElts)
473 this->grow(NumElts);
474 this->setEnd(this->begin()+NumElts);
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/
H A DAPValue.cpp108 APValue::Arr::Arr(unsigned NumElts, unsigned Size) : argument
109 Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]),
110 NumElts(NumElts), ArrSize(Size) {}
/freebsd-10.1-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3872 unsigned NumElts = VT.getVectorNumElements(); local
3878 for (unsigned i = 0; i < NumElts; ++i) {
3902 if (!V1.getNode() && V0NumElts == NumElts * 2) {
3904 DAG.getConstant(NumElts, MVT::i64));
3910 if (V1.getNode() && NumElts == V0NumElts &&
3990 unsigned NumElts = VT.getVectorNumElements(); local
4000 for (unsigned i = 0; i < NumElts; ++i) {
4013 if (++Count > (NumElts / 2)) {
4051 for (unsigned I = 0; I < NumElts; ++I) {
4086 for (unsigned i = 0 ; i < NumElts;
4109 unsigned NumElts = VT.getVectorNumElements(); local
4131 unsigned NumElts = VT.getVectorNumElements(); local
4550 uint64_t NumElts = getDataLayout()->getTypeAllocSize(I.getType()) / 8; local
4573 unsigned NumElts = 0; local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp4519 unsigned NumElts = VT.getVectorNumElements(); local
4531 for (unsigned i = 1; i < NumElts; ++i) {
4535 if (ExpectedElt == NumElts)
4549 unsigned NumElts = VT.getVectorNumElements(); local
4562 for (unsigned i = 1; i < NumElts; ++i) {
4566 if (ExpectedElt == NumElts * 2) {
4578 Imm -= NumElts;
4594 unsigned NumElts = VT.getVectorNumElements(); local
4603 for (unsigned i = 0; i < NumElts; ++i) {
4624 unsigned NumElts local
4642 unsigned NumElts = VT.getVectorNumElements(); local
4657 unsigned NumElts = VT.getVectorNumElements(); local
4704 unsigned NumElts = VT.getVectorNumElements(); local
4729 unsigned NumElts = VT.getVectorNumElements(); local
4748 unsigned NumElts = VT.getVectorNumElements(); local
4834 unsigned NumElts = VT.getVectorNumElements(); local
4998 unsigned NumElts = VT.getVectorNumElements(); local
5394 unsigned NumElts = VT.getVectorNumElements(); local
5658 unsigned NumElts = VT.getVectorNumElements(); local
9111 unsigned NumElts = N->getValueType(0).getVectorNumElements(); local
9142 unsigned NumElts = VT.getVectorNumElements(); local
9191 unsigned NumElts = VT.getVectorNumElements(); local
9309 unsigned NumElts = VT.getVectorNumElements(); local
11157 uint64_t NumElts = getDataLayout()->getTypeAllocSize(I.getType()) / 8; local
11177 unsigned NumElts = 0; local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp3636 unsigned NumElts = VT.getVectorNumElements(); local
3638 unsigned NumLaneElts = NumElts/NumLanes;
3644 for (unsigned l = 0; l != NumElts; l+=NumLaneElts) {
3659 !isUndefOrInRange(Start, l+NumElts, l+NumElts+NumLaneElts))
3667 if (Start >= (int)NumElts)
3668 Start -= NumElts - NumLaneElts;
3682 !isUndefOrInRange(Idx, l+NumElts, l+NumElts+NumLaneElts))
3689 if (Idx >= (int)NumElts)
3915 unsigned NumElts = VT.getVectorNumElements(); local
3962 unsigned NumElts = VT.getVectorNumElements(); local
4003 unsigned NumElts = VT.getVectorNumElements(); local
4046 unsigned NumElts = VT.getVectorNumElements(); local
4085 unsigned NumElts = VT.getVectorNumElements(); local
4162 unsigned NumElts = VT.getVectorNumElements(); local
4206 unsigned NumElts = VT.getVectorNumElements(); local
4309 unsigned NumElts = VT.getVectorNumElements(); local
4403 unsigned NumElts = VT.getVectorNumElements(); local
4431 unsigned NumElts = VT.getVectorNumElements(); local
4455 unsigned NumElts = VT.getVectorNumElements(); local
4478 unsigned NumElts = VT.getVectorNumElements(); local
8934 unsigned int NumElts = VT.getVectorNumElements(); local
9004 unsigned NumElts = InVT.getVectorNumElements(); local
9194 unsigned NumElts = VT == MVT::f64 ? 2 : 4; local
9228 unsigned NumElts = VT == MVT::f64 ? 2 : 4; local
10395 unsigned int NumElts = VT.getVectorNumElements(); local
12521 unsigned NumElts = VT.getVectorNumElements(); local
12762 unsigned NumElts = VT.getVectorNumElements(); local
12784 unsigned NumElts = InVec.getValueType().getVectorNumElements(); local
14072 unsigned NumElts = SVT.getVectorNumElements(); local
18538 unsigned NumElts = VT.getVectorNumElements(); local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/
H A DAMDGPUISelLowering.cpp495 unsigned NumElts = Load->getMemoryVT().getVectorNumElements(); local
499 for (unsigned i = 0, e = NumElts; i != e; ++i) {
571 unsigned NumElts = Store->getMemoryVT().getVectorNumElements(); local
576 for (unsigned i = 0, e = NumElts; i != e; ++i) {
588 return DAG.getNode(ISD::TokenFactor, SL, MVT::Other, &Chains[0], NumElts);
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DDeclSpec.h1103 /// True if this dimension was [*]. In this case, NumElts is null.
1108 /// expression class on all clients, NumElts is untyped.
1109 Expr *NumElts; member in struct:clang::DeclaratorChunk::ArrayTypeInfo
1409 bool isStatic, bool isStar, Expr *NumElts,
1419 I.Arr.NumElts = NumElts;
1922 !chunk->Arr.NumElts);
1408 getArray(unsigned TypeQuals, bool isStatic, bool isStar, Expr *NumElts, SourceLocation LBLoc, SourceLocation RBLoc) argument
/freebsd-10.1-release/contrib/llvm/lib/IR/
H A DConstantFold.cpp52 unsigned NumElts = DstTy->getNumElements(); local
53 if (NumElts != CV->getType()->getVectorNumElements())
60 for (unsigned i = 0; i != NumElts; ++i) {
846 unsigned NumElts; local
848 NumElts = ST->getNumElements();
850 NumElts = AT->getNumElements();
852 NumElts = Agg->getType()->getVectorNumElements();
855 for (unsigned i = 0; i != NumElts; ++i) {
H A DDataLayout.cpp455 int NumElts = Ty->getNumElements();
457 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t));
H A DConstants.cpp1021 Constant *ConstantVector::getSplat(unsigned NumElts, Constant *V) { argument
1026 return ConstantDataVector::getSplat(NumElts, V);
1028 SmallVector<Constant*, 32> Elts(NumElts, V);
2416 Constant *ConstantDataVector::getSplat(unsigned NumElts, Constant *V) { argument
2421 SmallVector<uint8_t, 16> Elts(NumElts, CI->getZExtValue());
2425 SmallVector<uint16_t, 16> Elts(NumElts, CI->getZExtValue());
2429 SmallVector<uint32_t, 16> Elts(NumElts, CI->getZExtValue());
2433 SmallVector<uint64_t, 16> Elts(NumElts, CI->getZExtValue());
2439 SmallVector<float, 16> Elts(NumElts, CFP->getValueAPF().convertToFloat());
2443 SmallVector<double, 16> Elts(NumElts,
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1747 /// return true with NumElts and EltTy set to the number of elements and the
1749 static bool isHomogeneousAggregate(Type *T, unsigned &NumElts, argument
1752 NumElts = AT->getNumElements();
1753 EltTy = (NumElts == 0 ? 0 : AT->getElementType());
1757 NumElts = ST->getNumContainedTypes();
1758 EltTy = (NumElts == 0 ? 0 : ST->getContainedType(0));
1759 for (unsigned n = 1; n < NumElts; ++n) {
2292 unsigned NumElts = cast<VectorType>(EltTy)->getNumElements(); local
2293 StoreVal = ConstantVector::getSplat(NumElts, StoreVal);
/freebsd-10.1-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp353 uint64_t NumElts; local
355 NumElts = AT->getNumElements();
357 NumElts = C->getType()->getVectorNumElements();
359 for (; Index != NumElts; ++Index) {

Completed in 296 milliseconds

123