/external/llvm/lib/Target/X86/Utils/ |
X86ShuffleDecode.cpp | 67 unsigned NumElts = VT.getVectorNumElements(); 68 for (int i = 0, e = NumElts / 2; i < e; ++i) { 75 unsigned NumElts = VT.getVectorNumElements(); 76 for (int i = 0, e = NumElts / 2; i < e; ++i) { 85 unsigned NumElts = VT.getVectorNumElements(); 87 unsigned NumLaneElts = NumElts / NumLanes; 90 for (unsigned l = 0; l < NumElts; l += NumLaneElts) 98 unsigned NumElts = VectorSizeInBits / 8; 100 unsigned NumLaneElts = NumElts / NumLanes; 102 for (unsigned l = 0; l < NumElts; l += NumLaneElts [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitstreamReader.cpp | 106 unsigned NumElts = ReadVBR(6); 107 for (unsigned i = 0; i != NumElts; ++i) 127 unsigned NumElts = ReadVBR(6); 134 for (; NumElts; --NumElts) 141 unsigned NumElts = ReadVBR(6); 145 size_t NewEnd = GetCurrentBitNo()+((NumElts+3)&~3)*8; 164 unsigned NumElts = ReadVBR(6); 165 for (unsigned i = 0; i != NumElts; ++i) 200 unsigned NumElts = ReadVBR(6) [all...] |
/external/llvm/lib/CodeGen/ |
InterleavedAccessPass.cpp | 103 /// <Index, Index+Factor, ..., Index+(NumElts-1)*Factor> 148 unsigned NumElts = Mask.size(); 149 if (NumElts < 4) 154 if (NumElts % Factor) 157 unsigned NumSubElts = NumElts / Factor; 164 for (; i < NumElts; i++) 171 if (i == NumElts)
|
TargetLoweringBase.cpp | [all...] |
Analysis.cpp | 62 unsigned NumElts = ATy->getNumElements(); 66 assert(*Indices < NumElts && "Unexpected out of bound"); 72 CurIndex += EltLinearOffset*NumElts;
|
/external/llvm/lib/IR/ |
AutoUpgrade.cpp | 292 unsigned NumElts = NumLanes * 16; 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; 333 VectorType::get(Type::getInt8Ty(C), NumElts), 336 Value *Res = ConstantVector::getSplat(NumElts, Builder.getInt8(0)) [all...] |
ConstantFold.cpp | 54 unsigned NumElts = DstTy->getNumElements(); 55 if (NumElts != CV->getType()->getVectorNumElements()) 62 for (unsigned i = 0; i != NumElts; ++i) { [all...] |
DataLayout.cpp | 566 int NumElts = Ty->getNumElements(); 568 (StructLayout *)malloc(sizeof(StructLayout)+(NumElts-1) * sizeof(uint64_t));
|
/external/llvm/lib/Target/ |
TargetLoweringObjectFile.cpp | 83 unsigned NumElts = CDS->getNumElements(); 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/clang/include/clang/AST/ |
APValue.h | 82 unsigned NumElts; 83 Vec() : Elts(nullptr), NumElts(0) {} 88 unsigned NumElts, ArrSize; 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;
|
DeclObjC.h | 41 unsigned NumElts; 44 ObjCListBase() : List(nullptr), 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"); [all...] |
/external/llvm/include/llvm/IR/ |
DerivedTypes.h | 408 unsigned NumElts = VTy->getNumElements(); 409 assert ((NumElts & 1) == 0 && 411 return VectorType::get(VTy->getElementType(), NumElts/2); 419 unsigned NumElts = VTy->getNumElements(); 420 return VectorType::get(VTy->getElementType(), NumElts*2);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypesGeneric.cpp | 356 unsigned NumElts = 2; 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(); 394 NewElts.reserve(NumElts*2); 396 for (unsigned i = 0; i < NumElts; ++i) { 423 unsigned NumElts = VecVT.getVectorNumElements(); 435 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*2) [all...] |
LegalizeVectorTypes.cpp | [all...] |
/external/llvm/include/llvm/ADT/ |
SmallString.h | 45 void assign(size_t NumElts, char Elt) { 46 this->SmallVectorImpl<char>::assign(NumElts, Elt);
|
SmallVector.h | 449 void assign(size_type NumElts, const T &Elt) { 451 if (this->capacity() < NumElts) 452 this->grow(NumElts); 453 this->setEnd(this->begin()+NumElts);
|
/external/llvm/lib/Target/AArch64/ |
AArch64TargetTransformInfo.cpp | 449 unsigned NumElts = VecTy->getVectorNumElements(); 450 Type *SubVecTy = VectorType::get(VecTy->getScalarType(), NumElts / Factor); 454 if (NumElts % Factor == 0 && (SubVecSize == 64 || SubVecSize == 128)) 507 unsigned NumElts = Inst->getNumArgOperands() - 1; 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) {
|
AArch64ISelLowering.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 285 unsigned NumElts = V->getType()->getVectorNumElements(); 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)); 336 Mask[InsertedIdx % NumElts] = 341 Mask[InsertedIdx % NumElts] = 370 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); 373 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); 379 Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0)) [all...] |
InstCombineCalls.cpp | 602 unsigned NumElts = VecTy->getNumElements(); 603 unsigned HalfSize = NumElts / 2; 604 SmallVector<int, 8> ShuffleMask(NumElts); 630 StartIndex += NumElts; [all...] |
/external/clang/lib/AST/ |
APValue.cpp | 108 APValue::Arr::Arr(unsigned NumElts, unsigned Size) : 109 Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]), 110 NumElts(NumElts), ArrSize(Size) {}
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXISelLowering.cpp | [all...] |
/external/llvm/lib/Target/ARM/ |
ARMISelLowering.cpp | [all...] |
/external/llvm/include/llvm/CodeGen/ |
BasicTTIImpl.h | 520 unsigned NumElts = VT->getNumElements(); 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/Target/X86/ |
X86ISelLowering.cpp | [all...] |