/freebsd-10.0-release/contrib/llvm/lib/Target/X86/Utils/ |
H A D | X86ShuffleDecode.cpp | 66 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.0-release/contrib/llvm/lib/Bitcode/Reader/ |
H A D | BitstreamReader.cpp | 141 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) 222 unsigned NumElts local 236 unsigned NumElts = ReadVBR(6); local [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 299 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); local 302 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); 307 for (unsigned i = 0; i != NumElts; ++i) 313 for (unsigned i = 0; i != NumElts; ++i) 315 i+NumElts)); local 350 Mask[InsertedIdx % NumElts] = 355 Mask[InsertedIdx % NumElts] = 357 ExtractedIdx+NumElts); 378 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); local 381 Mask.assign(NumElts, UndefValu [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 80 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.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | APValue.h | 82 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); 262 return ((const Vec*)(const void *)Data)->NumElts; 286 return ((const Arr*)(const void *)Data)->NumElts; 352 ((Vec*)(char*)Data)->NumElts = N;
|
H A D | DeclObjC.h | 41 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");
|
H A D | ASTContext.h | 938 QualType getVariableArrayType(QualType EltTy, Expr *NumElts, 948 QualType getDependentSizedArrayType(QualType EltTy, Expr *NumElts, 972 QualType getVectorType(QualType VectorType, unsigned NumElts, 979 QualType getExtVectorType(QualType VectorType, unsigned NumElts) const;
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 1530 unsigned NumElts = VT.getVectorNumElements(); local 1531 while (!TLI.isTypeLegal(VT) && NumElts != 1) { 1532 NumElts = NumElts / 2; 1533 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts); 1536 if (NumElts != 1 && !TLI.canOpTrap(N->getOpcode(), VT)) { 1544 if (NumElts == 1) 1557 // NumElts := greatest legal vector size (at most WidenVT) 1559 // take munches of size NumElts from the beginning and add to ConcatOps 1560 // NumElts 1875 unsigned NumElts = VT.getVectorNumElements(); local 2062 unsigned NumElts = VT.getVectorNumElements(); local 2170 unsigned NumElts = VT.getVectorNumElements(); local 2281 unsigned NumElts = VT.getVectorNumElements(); local 2328 unsigned NumElts = VT.getVectorNumElements(); local 2473 unsigned NumElts = Width / LdTy.getSizeInBits(); local 2530 unsigned NumElts = WidenWidth / NewVTWidth; local 2668 unsigned NumElts = LdVT.getVectorNumElements(); local 2742 unsigned NumElts = ValWidth / NewVTWidth; local 2792 unsigned NumElts = StVT.getVectorNumElements(); local [all...] |
H A D | LegalizeTypesGeneric.cpp | 344 unsigned NumElts = VecVT.getVectorNumElements(); local 355 NewElts.reserve(NumElts*2); 357 for (unsigned i = 0; i < NumElts; ++i) { 384 unsigned NumElts = VecVT.getVectorNumElements(); local 396 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*2); 421 unsigned NumElts = VT.getVectorNumElements(); local 422 SmallVector<SDValue, 16> Ops(NumElts); 425 for (unsigned i = 1; i < NumElts; ++i) 427 return DAG.getNode(ISD::BUILD_VECTOR, dl, VT, &Ops[0], NumElts);
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/ |
H A D | TargetLoweringBase.cpp | 784 unsigned NumElts = VT.getVectorNumElements(); local 791 if (!isPowerOf2_32(NumElts)) { 792 NumVectorRegs = NumElts; 793 NumElts = 1; 798 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { 799 NumElts >>= 1; 805 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); 1013 unsigned NumElts = VT.getVectorNumElements(); local 1015 NumElts > 1058 unsigned NumElts = VT.getVectorNumElements(); local [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Target/ |
H A D | TargetLowering.h | 1478 unsigned NumElts = VT.getVectorNumElements(); 1482 if (NumElts == 1) 1490 NumElts = (unsigned)NextPowerOf2(NumElts); 1491 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); 1502 EVT::getVectorVT(Context, EltVT, NumElts / 2)); 1521 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); 1525 EVT::getVectorVT(Context, EltVT, NumElts)); 1537 NumElts = (unsigned)NextPowerOf2(NumElts); [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 48 void assign(size_t NumElts, char Elt) { argument 49 this->SmallVectorImpl<char>::assign(NumElts, Elt);
|
H A D | SmallVector.h | 470 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.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | APValue.cpp | 108 APValue::Arr::Arr(unsigned NumElts, unsigned Size) : argument 109 Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]), 110 NumElts(NumElts), ArrSize(Size) {}
|
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 927 unsigned NumElts = ValVT.getVectorNumElements(); local 936 switch (NumElts) { 954 for (unsigned i = 0; i < NumElts; ++i) { 1096 unsigned NumElts = ObjectVT.getVectorNumElements(); local 1097 for (unsigned vi = 0; vi < NumElts; ++vi) { 1112 unsigned NumElts = ObjectVT.getVectorNumElements(); local 1115 for (unsigned vi = 0; vi < NumElts; ++vi) { 1479 unsigned NumElts = ResVT.getVectorNumElements(); local 1493 switch (NumElts) { 1526 for (unsigned i = 0; i < NumElts; 1564 unsigned NumElts = ResVT.getVectorNumElements(); local [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 3556 unsigned NumElts = SrcVT.getVectorNumElements(); local 3561 NumElts); 3563 NumElts/2); 3565 NumElts/2); 3571 DAG.getIntPtrConstant(NumElts/2)); 4232 unsigned NumElts = VT.getVectorNumElements(); local 4244 for (unsigned i = 1; i < NumElts; ++i) { 4248 if (ExpectedElt == NumElts) 4262 unsigned NumElts = VT.getVectorNumElements(); local 4275 for (unsigned i = 1; i < NumElts; 4307 unsigned NumElts = VT.getVectorNumElements(); local 4337 unsigned NumElts = VT.getVectorNumElements(); local 4355 unsigned NumElts = VT.getVectorNumElements(); local 4370 unsigned NumElts = VT.getVectorNumElements(); local 4417 unsigned NumElts = VT.getVectorNumElements(); local 4442 unsigned NumElts = VT.getVectorNumElements(); local 4461 unsigned NumElts = VT.getVectorNumElements(); local 4547 unsigned NumElts = VT.getVectorNumElements(); local 4691 unsigned NumElts = VT.getVectorNumElements(); local 5087 unsigned NumElts = VT.getVectorNumElements(); local 5351 unsigned NumElts = VT.getVectorNumElements(); local 8633 unsigned NumElts = N->getValueType(0).getVectorNumElements(); local 8664 unsigned NumElts = VT.getVectorNumElements(); local 8739 unsigned NumElts = VT.getVectorNumElements(); local 10479 uint64_t NumElts = getDataLayout()->getTypeAllocSize(I.getType()) / 8; local 10499 unsigned NumElts = 0; local [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 1078 /// True if this dimension was [*]. In this case, NumElts is null. 1083 /// expression class on all clients, NumElts is untyped. 1084 Expr *NumElts; member in struct:clang::DeclaratorChunk::ArrayTypeInfo 1384 bool isStatic, bool isStar, Expr *NumElts, 1394 I.Arr.NumElts = NumElts; 1860 !chunk->Arr.NumElts); 1383 getArray(unsigned TypeQuals, bool isStatic, bool isStar, Expr *NumElts, SourceLocation LBLoc, SourceLocation RBLoc) argument
|
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 3413 unsigned NumElts = VT.getVectorNumElements(); local 3415 unsigned NumLaneElts = NumElts/NumLanes; 3421 for (unsigned l = 0; l != NumElts; l+=NumLaneElts) { 3436 !isUndefOrInRange(Start, l+NumElts, l+NumElts+NumLaneElts)) 3444 if (Start >= (int)NumElts) 3445 Start -= NumElts - NumLaneElts; 3459 !isUndefOrInRange(Idx, l+NumElts, l+NumElts+NumLaneElts)) 3466 if (Idx >= (int)NumElts) 3679 unsigned NumElts = VT.getVectorNumElements(); local 3718 unsigned NumElts = VT.getVectorNumElements(); local 3755 unsigned NumElts = VT.getVectorNumElements(); local 3798 unsigned NumElts = VT.getVectorNumElements(); local 3835 unsigned NumElts = VT.getVectorNumElements(); local 3917 unsigned NumElts = VT.getVectorNumElements(); local 4018 unsigned NumElts = VT.getVectorNumElements(); local 4095 unsigned NumElts = VT.getVectorNumElements(); local 4123 unsigned NumElts = VT.getVectorNumElements(); local 4147 unsigned NumElts = VT.getVectorNumElements(); local 4169 unsigned NumElts = VT.getVectorNumElements(); local 4227 unsigned NumElts = VT.getVectorNumElements(); local 8632 unsigned NumElts = VT == MVT::f64 ? 2 : 4; local 8666 unsigned NumElts = VT == MVT::f64 ? 2 : 4; local 11515 unsigned NumElts = VT.getVectorNumElements(); local 11737 unsigned NumElts = VT.getVectorNumElements(); local 11759 unsigned NumElts = InVec.getValueType().getVectorNumElements(); local 12967 unsigned NumElts = VT.getVectorNumElements(); local 17220 unsigned NumElts = VT.getVectorNumElements(); local [all...] |
/freebsd-10.0-release/contrib/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 52 unsigned NumElts = DstTy->getNumElements(); local 53 if (NumElts != CV->getType()->getVectorNumElements()) 60 for (unsigned i = 0; i != NumElts; ++i) { 843 unsigned NumElts; local 845 NumElts = ST->getNumElements(); 847 NumElts = AT->getNumElements(); 849 NumElts = Agg->getType()->getVectorNumElements(); 852 for (unsigned i = 0; i != NumElts; ++i) {
|
H A D | DataLayout.cpp | 457 int NumElts = Ty->getNumElements(); 459 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t));
|
H A D | Constants.cpp | 1023 Constant *ConstantVector::getSplat(unsigned NumElts, Constant *V) { argument 1028 return ConstantDataVector::getSplat(NumElts, V); 1030 SmallVector<Constant*, 32> Elts(NumElts, V); 2380 Constant *ConstantDataVector::getSplat(unsigned NumElts, Constant *V) { argument 2385 SmallVector<uint8_t, 16> Elts(NumElts, CI->getZExtValue()); 2389 SmallVector<uint16_t, 16> Elts(NumElts, CI->getZExtValue()); 2393 SmallVector<uint32_t, 16> Elts(NumElts, CI->getZExtValue()); 2397 SmallVector<uint64_t, 16> Elts(NumElts, CI->getZExtValue()); 2403 SmallVector<float, 16> Elts(NumElts, CFP->getValueAPF().convertToFloat()); 2407 SmallVector<double, 16> Elts(NumElts, [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 1747 /// 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) { 2291 unsigned NumElts = cast<VectorType>(EltTy)->getNumElements(); local 2292 StoreVal = ConstantVector::getSplat(NumElts, StoreVal);
|
/freebsd-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 345 uint64_t NumElts; local 347 NumElts = AT->getNumElements(); 349 NumElts = cast<VectorType>(C->getType())->getNumElements(); 351 for (; Index != NumElts; ++Index) {
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 300 unsigned NumElts = elts.size(); local 308 for (; i != NumElts && isa<DeclStmt>(Elts[i]); ++i) 312 for (; i != NumElts && !isa<DeclStmt>(Elts[i]); ++i) 315 if (i != NumElts) { 321 for (unsigned i = 0; i != NumElts; ++i) { 323 if (isStmtExpr && i == NumElts - 1) 332 if (NumElts != 0 && !CurrentInstantiationScope && 334 for (unsigned i = 0; i != NumElts - 1; ++i) 339 llvm::makeArrayRef(Elts, NumElts),
|
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/ |
H A D | Constants.h | 450 static Constant *getSplat(unsigned NumElts, Constant *Elt); 726 static Constant *getSplat(unsigned NumElts, Constant *Elt);
|