/external/llvm/lib/Target/X86/Utils/ |
H A D | X86ShuffleDecode.cpp | 68 unsigned NumElts = VT.getVectorNumElements(); local 71 unsigned NumLaneElts = NumElts / NumLanes; 74 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { 85 unsigned NumElts = VT.getVectorNumElements(); local 87 for (unsigned l = 0; l != NumElts; l += 8) { 101 unsigned NumElts = VT.getVectorNumElements(); local 103 for (unsigned l = 0; l != NumElts; l += 8) { 119 unsigned NumElts = VT.getVectorNumElements(); local 122 unsigned NumLaneElts = NumElts / NumLanes; 125 for (unsigned l = 0; l != NumElts; 141 unsigned NumElts = VT.getVectorNumElements(); local 161 unsigned NumElts = VT.getVectorNumElements(); local [all...] |
/external/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 | 464 void assign(unsigned NumElts, const T &Elt) { argument 466 if (this->capacity() < NumElts) 467 this->grow(NumElts); 468 this->setEnd(this->begin()+NumElts);
|
/external/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)
|
H A D | TargetData.cpp | 427 int NumElts = Ty->getNumElements(); local 429 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t));
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 213 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); local 216 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); 221 for (unsigned i = 0; i != NumElts; ++i) 227 for (unsigned i = 0; i != NumElts; ++i) 229 i+NumElts)); local 264 Mask[InsertedIdx % NumElts] = 269 Mask[InsertedIdx % NumElts] = 271 ExtractedIdx+NumElts); 292 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); local 295 Mask.assign(NumElts, UndefValu [all...] |
H A D | InstCombineCasts.cpp | 1485 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), local 1489 if (NumElts == 1) 1501 for (unsigned i = 0; i != NumElts; ++i) {
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypesGeneric.cpp | 310 unsigned NumElts = VecVT.getVectorNumElements(); local 321 NewElts.reserve(NumElts*2); 323 for (unsigned i = 0; i < NumElts; ++i) { 350 unsigned NumElts = VecVT.getVectorNumElements(); local 362 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*2); 387 unsigned NumElts = VT.getVectorNumElements(); local 388 SmallVector<SDValue, 16> Ops(NumElts); 391 for (unsigned i = 1; i < NumElts; ++i) 393 return DAG.getNode(ISD::BUILD_VECTOR, dl, VT, &Ops[0], NumElts);
|
H A D | LegalizeDAG.cpp | 623 unsigned NumElts = Vec.getValueType().getVectorNumElements(); local 628 for (unsigned i = 0; i != NumElts; ++i) 629 ShufOps.push_back(i != InsertPos->getZExtValue() ? i : NumElts);
|
H A D | LegalizeTypes.cpp | 877 unsigned NumElts = Op.getValueType().getVectorNumElements(); local 879 EVT::getVectorVT(*DAG.getContext(), EltNVT, NumElts), Op);
|
H A D | LegalizeVectorOps.cpp | 327 unsigned NumElts = VT.getVectorNumElements(); local 333 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts);
|
H A D | LegalizeIntegerTypes.cpp | 588 unsigned NumElts = InVT.getVectorNumElements(); local 589 assert(NumElts == NVT.getVectorNumElements() && 591 assert(isPowerOf2_32(NumElts) && 598 NumElts/2); 901 unsigned NumElts = VecVT.getVectorNumElements(); local 902 assert(!(NumElts & 1) && "Legal vector of one illegal element?"); 912 for (unsigned i = 0; i < NumElts; ++i) 915 return SDValue(DAG.UpdateNodeOperands(N, &NewOps[0], NumElts), 0); 2891 unsigned NumElts = VT.getVectorNumElements(); local 2893 for (unsigned i = 0; i != NumElts; [all...] |
H A D | LegalizeVectorTypes.cpp | 1396 unsigned NumElts = VT.getVectorNumElements(); local 1397 while (!TLI.isTypeLegal(VT) && NumElts != 1) { 1398 NumElts = NumElts / 2; 1399 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts); 1402 if (NumElts != 1 && !TLI.canOpTrap(N->getOpcode(), VT)) { 1410 if (NumElts == 1) 1423 // NumElts := greatest legal vector size (at most WidenVT) 1425 // take munches of size NumElts from the beginning and add to ConcatOps 1426 // NumElts 1741 unsigned NumElts = VT.getVectorNumElements(); local 1928 unsigned NumElts = VT.getVectorNumElements(); local 2036 unsigned NumElts = VT.getVectorNumElements(); local 2143 unsigned NumElts = VT.getVectorNumElements(); local 2190 unsigned NumElts = VT.getVectorNumElements(); local 2335 unsigned NumElts = Width / LdTy.getSizeInBits(); local 2392 unsigned NumElts = WidenWidth / NewVTWidth; local 2530 unsigned NumElts = LdVT.getVectorNumElements(); local 2604 unsigned NumElts = ValWidth / NewVTWidth; local 2654 unsigned NumElts = StVT.getVectorNumElements(); local [all...] |
H A D | TargetLowering.cpp | 653 unsigned NumElts = VT.getVectorNumElements(); local 660 if (!isPowerOf2_32(NumElts)) { 661 NumVectorRegs = NumElts; 662 NumElts = 1; 667 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) { 668 NumElts >>= 1; 674 MVT NewVT = MVT::getVectorVT(EltTy, NumElts); 874 unsigned NumElts = VT.getVectorNumElements(); local 876 NumElts > 923 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(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;
|
/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/include/llvm/Bitcode/ |
H A D | BitstreamReader.h | 508 unsigned NumElts = ReadVBR(6); 509 for (unsigned i = 0; i != NumElts; ++i) 522 unsigned NumElts = ReadVBR(6); local 529 for (; NumElts; --NumElts) 533 unsigned NumElts = ReadVBR(6); local 537 size_t NewEnd = NextChar+((NumElts+3)&~3); 542 Vals.append(NumElts, 0); 551 NextChar, NumElts); 552 *BlobLen = NumElts; [all...] |
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 356 uint64_t NumElts; local 358 NumElts = AT->getNumElements(); 360 NumElts = cast<VectorType>(C->getType())->getNumElements(); 362 for (; Index != NumElts; ++Index) {
|
/external/llvm/lib/VMCore/ |
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) { 841 unsigned NumElts; local 843 NumElts = ST->getNumElements(); 845 NumElts = AT->getNumElements(); 847 NumElts = AT->getVectorNumElements(); 850 for (unsigned i = 0; i != NumElts; ++i) {
|
H A D | Constants.cpp | 964 Constant *ConstantVector::getSplat(unsigned NumElts, Constant *V) { argument 969 return ConstantDataVector::getSplat(NumElts, V); 971 SmallVector<Constant*, 32> Elts(NumElts, V); 2298 Constant *ConstantDataVector::getSplat(unsigned NumElts, Constant *V) { argument 2303 SmallVector<uint8_t, 16> Elts(NumElts, CI->getZExtValue()); 2307 SmallVector<uint16_t, 16> Elts(NumElts, CI->getZExtValue()); 2311 SmallVector<uint32_t, 16> Elts(NumElts, CI->getZExtValue()); 2315 SmallVector<uint64_t, 16> Elts(NumElts, CI->getZExtValue()); 2321 SmallVector<float, 16> Elts(NumElts, CFP->getValueAPF().convertToFloat()); 2325 SmallVector<double, 16> Elts(NumElts, [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 868 unsigned NumElts = Str->getNumElements(); local 872 --NumElts; // Don't encode the null, which isn't allowed by char6. 879 for (unsigned i = 0; i != NumElts; ++i) {
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 2786 unsigned NumElts = VecVT.getVectorNumElements(); local 2788 assert(NumElts == 2 && "unexpected type for BUILD_VECTOR"); 2792 if (NumElts == 2) 2794 assert(NumElts == 4 && "unexpected type for BUILD_VECTOR");
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 1756 /// return true with NumElts and EltTy set to the number of elements and the 1758 static bool isHomogeneousAggregate(Type *T, unsigned &NumElts, argument 1761 NumElts = AT->getNumElements(); 1762 EltTy = (NumElts == 0 ? 0 : AT->getElementType()); 1766 NumElts = ST->getNumContainedTypes(); 1767 EltTy = (NumElts == 0 ? 0 : ST->getContainedType(0)); 1768 for (unsigned n = 1; n < NumElts; ++n) { 2300 unsigned NumElts = cast<VectorType>(EltTy)->getNumElements(); local 2301 StoreVal = ConstantVector::getSplat(NumElts, StoreVal);
|
/external/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 470 uint64_t NumElts = AT->getSize().getZExtValue(); local 471 for (uint64_t Elt = 0; Elt < NumElts; ++Elt) 519 unsigned NumElts = AT->getSize().getZExtValue(); local 521 for (unsigned Elt = 0; Elt < NumElts; ++Elt) { 1849 unsigned NumElts = AT->getSize().getZExtValue(); local 1852 for (unsigned Elt = 0; Elt < NumElts; ++Elt) {
|
H A D | CGExprConstant.cpp | 1152 unsigned NumElts = Value.getVectorLength(); local 1154 for (unsigned i = 0; i != NumElts; ++i) {
|