/external/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 45 void assign(size_t NumElts, char Elt) { argument 46 this->SmallVectorImpl<char>::assign(NumElts, Elt);
|
H A D | SmallVector.h | 449 void assign(size_type NumElts, const T &Elt) { argument 451 if (this->capacity() < NumElts) 452 this->grow(NumElts); 453 this->setEnd(this->begin()+NumElts);
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitstreamReader.cpp | 106 unsigned NumElts = ReadVBR(6); local 107 for (unsigned i = 0; i != NumElts; ++i) 127 unsigned NumElts = ReadVBR(6); local 134 for (; NumElts; --NumElts) 141 unsigned NumElts = ReadVBR(6); local 145 size_t NewEnd = GetCurrentBitNo()+((NumElts+3)&~3)*8; 164 unsigned NumElts = ReadVBR(6); local 165 for (unsigned i = 0; i != NumElts; ++i) 200 unsigned NumElts local 221 unsigned NumElts = ReadVBR(6); local [all...] |
/external/llvm/lib/CodeGen/ |
H A D | InterleavedAccessPass.cpp | 103 /// <Index, Index+Factor, ..., Index+(NumElts-1)*Factor> 148 unsigned NumElts = Mask.size(); local 149 if (NumElts < 4) 154 if (NumElts % Factor) 157 unsigned NumSubElts = NumElts / Factor; 164 for (; i < NumElts; i++) 171 if (i == NumElts)
|
H A D | Analysis.cpp | 62 unsigned NumElts = ATy->getNumElements(); local 66 assert(*Indices < NumElts && "Unexpected out of bound"); 72 CurIndex += EltLinearOffset*NumElts;
|
H A D | TargetLoweringBase.cpp | 943 unsigned NumElts = VT.getVectorNumElements(); local 947 if (NumElts == 1) 957 NumElts = (unsigned)NextPowerOf2(NumElts); 958 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); 969 EVT::getVectorVT(Context, EltVT, NumElts / 2)); 990 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts); 994 EVT::getVectorVT(Context, EltVT, NumElts)); 1006 NumElts = (unsigned)NextPowerOf2(NumElts); 1038 unsigned NumElts = VT.getVectorNumElements(); local 1389 unsigned NumElts = VT.getVectorNumElements(); local [all...] |
/external/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 408 unsigned NumElts = VTy->getNumElements(); local 409 assert ((NumElts & 1) == 0 && 411 return VectorType::get(VTy->getElementType(), NumElts/2); 419 unsigned NumElts = VTy->getNumElements(); local 420 return VectorType::get(VTy->getElementType(), NumElts*2);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 484 unsigned NumElts = VecTy->getVectorNumElements(); local 485 Type *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor); 489 if (NumElts % Factor == 0 && (SubVecSize == 64 || SubVecSize == 128))
|
/external/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 83 unsigned NumElts = CDS->getNumElements(); local 84 assert(NumElts != 0 && "Can't have an empty CDS"); 86 if (CDS->getElementAsInteger(NumElts-1) != 0) 90 for (unsigned i = 0; i != NumElts-1; ++i)
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 449 unsigned NumElts = VecTy->getVectorNumElements(); local 450 Type *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor); 454 if (NumElts % Factor == 0 && (SubVecSize == 64 || SubVecSize == 128)) 507 unsigned NumElts = Inst->getNumArgOperands() - 1; local 508 if (ST->getNumElements() != NumElts) 510 for (unsigned i = 0, e = NumElts; i != e; ++i) { 516 for (unsigned i = 0, e = NumElts; i != e; ++i) {
|
/external/llvm/lib/Target/X86/Utils/ |
H A D | X86ShuffleDecode.cpp | 67 unsigned NumElts = VT.getVectorNumElements(); local 68 for (int i = 0, e = NumElts / 2; i < e; ++i) { 75 unsigned NumElts = VT.getVectorNumElements(); local 76 for (int i = 0, e = NumElts / 2; i < e; ++i) { 85 unsigned NumElts = VT.getVectorNumElements(); local 87 unsigned NumLaneElts = NumElts / NumLanes; 90 for (unsigned l = 0; l < NumElts; l += NumLaneElts) 98 unsigned NumElts = VectorSizeInBits / 8; local 100 unsigned NumLaneElts = NumElts / NumLanes; 102 for (unsigned l = 0; l < NumElts; 112 unsigned NumElts = VectorSizeInBits / 8; local 127 unsigned NumElts = VT.getVectorNumElements(); local 147 unsigned NumElts = VT.getVectorNumElements(); local 165 unsigned NumElts = VT.getVectorNumElements(); local 181 unsigned NumElts = VT.getVectorNumElements(); local 196 unsigned NumElts = VT.getVectorNumElements(); local 209 unsigned NumElts = VT.getVectorNumElements(); local 231 unsigned NumElts = VT.getVectorNumElements(); local 251 unsigned NumElts = VT.getVectorNumElements(); local 449 unsigned NumElts = VT.getVectorNumElements(); local 458 unsigned NumElts = VT.getVectorNumElements(); local [all...] |
/external/clang/include/clang/AST/ |
H A D | APValue.h | 82 unsigned NumElts; member in struct:clang::APValue::Vec 83 Vec() : Elts(nullptr), NumElts(0) {} 88 unsigned NumElts, ArrSize; member in struct:clang::APValue::Arr 89 Arr(unsigned NumElts, unsigned ArrSize); 268 return ((const Vec*)(const void *)Data.buffer)->NumElts; 292 return ((const Arr*)(const void *)Data.buffer)->NumElts; 358 ((Vec*)(char*)Data.buffer)->NumElts = N;
|
/external/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) {}
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 653 unsigned NumElts = Vec.getValueType().getVectorNumElements(); local 658 for (unsigned i = 0; i != NumElts; ++i) 659 ShufOps.push_back(i != InsertPos->getZExtValue() ? i : NumElts);
|
H A D | LegalizeTypes.cpp | 921 unsigned NumElts = Op.getValueType().getVectorNumElements(); local 923 EVT::getVectorVT(*DAG.getContext(), EltNVT, NumElts), Op);
|
H A D | LegalizeTypesGeneric.cpp | 356 unsigned NumElts = 2; local 360 NumElts); 364 NumElts = N->getValueType(0).getVectorNumElements(); 369 IntegerToVector(N->getOperand(0), NumElts, Ops, NVT.getVectorElementType()); 372 makeArrayRef(Ops.data(), NumElts)); 383 unsigned NumElts = VecVT.getVectorNumElements(); local 394 NewElts.reserve(NumElts*2); 396 for (unsigned i = 0; i < NumElts; ++i) { 423 unsigned NumElts = VecVT.getVectorNumElements(); local 435 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts* 461 unsigned NumElts = VT.getVectorNumElements(); local [all...] |
/external/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 292 unsigned NumElts = NumLanes * 16; local 296 VectorType::get(Type::getInt8Ty(C), NumElts), 299 Value *Res = ConstantVector::getSplat(NumElts, Builder.getInt8(0)); 306 for (unsigned l = 0; l != NumElts; l += 16) 308 unsigned Idx = NumElts + i - Shift; 309 if (Idx < NumElts) 310 Idx -= NumElts - 16; // end of lane, switch operand. 329 unsigned NumElts = NumLanes * 16; local 333 VectorType::get(Type::getInt8Ty(C), NumElts), 336 Value *Res = ConstantVector::getSplat(NumElts, Builde 465 unsigned NumElts = CI->getType()->getVectorNumElements(); local 516 unsigned NumElts = CI->getType()->getVectorNumElements(); local 572 unsigned NumElts = VecTy->getNumElements(); local 589 unsigned NumElts = VecTy->getNumElements(); local 634 unsigned NumElts = VecTy->getNumElements(); local [all...] |
H A D | ConstantFold.cpp | 54 unsigned NumElts = DstTy->getNumElements(); local 55 if (NumElts != CV->getType()->getVectorNumElements()) 62 for (unsigned i = 0; i != NumElts; ++i) { 809 unsigned NumElts = Val->getType()->getVectorNumElements(); local 810 if (CIdx->uge(NumElts)) 814 Result.reserve(NumElts); 817 for (unsigned i = 0; i != NumElts; ++i) { 890 unsigned NumElts; local 892 NumElts = ST->getNumElements(); 894 NumElts [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 520 unsigned NumElts = VT->getNumElements(); local 521 assert(Factor > 1 && NumElts % Factor == 0 && "Invalid interleave factor"); 523 unsigned NumSubElts = NumElts / Factor; 575 for (unsigned i = 0; i < NumElts; i++)
|
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 366 uint64_t NumElts; local 368 NumElts = AT->getNumElements(); 370 NumElts = C->getType()->getVectorNumElements(); 372 for (; Index != NumElts; ++Index) {
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelDAGToDAG.cpp | 2791 unsigned NumElts = 1; local 2796 NumElts = 1; 2799 NumElts = 2; 2802 NumElts = 4; 2808 for (unsigned i = 0; i < NumElts; ++i) 2817 switch (NumElts) { 2917 unsigned NumElts = 1; local 2924 NumElts = 1; 2927 NumElts = 2; 2930 NumElts [all...] |
H A D | NVPTXISelLowering.cpp | 1157 unsigned NumElts = ObjectVT.getVectorNumElements(); local 1167 if (NumElts == 1) { 1181 } else if (NumElts == 2) { 1218 for (unsigned i = 0; i < NumElts; i += VecSize) { 1233 if (i + 1 < NumElts) { 1245 if (i + 2 < NumElts) { 1255 if (i + 3 < NumElts) { 1487 unsigned NumElts = ObjectVT.getVectorNumElements(); local 1490 ObjectVT) == NumElts && 1495 if (NumElts 4320 unsigned NumElts = ResVT.getVectorNumElements(); local 4399 unsigned NumElts = ResVT.getVectorNumElements(); local [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 285 unsigned NumElts = V->getType()->getVectorNumElements(); local 288 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); 293 for (unsigned i = 0; i != NumElts; ++i) 299 for (unsigned i = 0; i != NumElts; ++i) 301 i+NumElts)); local 336 Mask[InsertedIdx % NumElts] = 341 Mask[InsertedIdx % NumElts] = 370 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); local 373 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); 379 Mask.assign(NumElts, ConstantIn [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 621 uint64_t NumElts; member in struct:__anon1265::ConstantArrayExpansion 623 ConstantArrayExpansion(QualType EltTy, uint64_t NumElts) argument 624 : TypeExpansion(TEK_ConstantArray), EltTy(EltTy), NumElts(NumElts) {} 721 return CAExp->NumElts * getExpansionSize(CAExp->EltTy, Context); 742 for (int i = 0, n = CAExp->NumElts; i < n; i++) { 768 for (int i = 0, n = CAE->NumElts; i < n; i++) {
|
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 1603 unsigned NumElts = Str->getNumElements(); local 1607 --NumElts; // Don't encode the null, which isn't allowed by char6. 1614 for (unsigned i = 0; i != NumElts; ++i) {
|