HomeSort by relevance Sort by last modified time
    Searched refs:getNumElements (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /external/llvm/utils/TableGen/
TGValueTypes.cpp 51 return getNumElements() * getElementType().getSizeInBits();
56 unsigned getNumElements() const {
99 return static_cast<const ExtendedVectorType *>(LLVMTy)->getNumElements();
  /external/llvm/include/llvm/
DerivedTypes.h 284 unsigned getNumElements() const { return NumContainedTys; }
348 uint64_t getNumElements() const { return NumElements; }
378 return VectorType::get(EltTy, VTy->getNumElements());
388 return VectorType::get(EltTy, VTy->getNumElements());
400 return VectorType::get(EltTy, VTy->getNumElements());
408 unsigned getNumElements() const { return NumElements; }
  /external/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 59 unsigned NElts = SVI->getType()->getNumElements();
81 unsigned Width = PTy->getNumElements();
110 cast<VectorType>(SVI->getOperand(0)->getType())->getNumElements();
150 unsigned VectorWidth = EI.getVectorOperandType()->getNumElements();
180 if (VT->getNumElements() == VectorWidth)
218 cast<VectorType>(SVI->getOperand(0)->getType())->getNumElements();
254 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements();
333 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements();
405 unsigned NumVectorElts = IE.getType()->getNumElements();
434 unsigned VWidth = cast<VectorType>(VecOp->getType())->getNumElements();
    [all...]
InstCombineCasts.cpp     [all...]
InstCombineSimplifyDemanded.cpp 407 if (DstVTy->getNumElements() != SrcVTy->getNumElements())
    [all...]
  /system/core/nexus/
PropertyManager.cpp 203 for (int i = 0; i < (*p_it)->getNumElements(); i++) {
209 ((*p_it)->getNumElements() > 1 ? tmp : ""));
232 for (int i = 0; i < (*p_it)->getNumElements(); i++) {
238 ((*p_it)->getNumElements() > 1 ? tmp : ""));
264 for (int i = 0; i < (*p_it)->getNumElements(); i++) {
270 ((*p_it)->getNumElements() > 1 ? tmp : ""));
Property.h 50 int getNumElements() { return mNumElements; }
  /external/llvm/lib/Target/
TargetLoweringObjectFile.cpp 82 if (ATy->getNumElements() == 0) return false;
85 dyn_cast<ConstantInt>(CVA->getOperand(ATy->getNumElements()-1));
90 for (unsigned i = 0, e = ATy->getNumElements()-1; i != e; ++i)
100 return ATy->getNumElements() == 1;
TargetData.cpp 48 NumElements = ST->getNumElements();
307 Align *= cast<VectorType>(Ty)->getNumElements();
362 int NumElts = Ty->getNumElements();
408 return getTypeAllocSizeInBits(ATy->getElementType())*ATy->getNumElements();
  /external/llvm/lib/Linker/
LinkModules.cpp 149 if (DATy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements())
152 if (DVTy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements())
189 Elements.resize(SrcSTy->getNumElements());
258 cast<ArrayType>(Ty)->getNumElements());
261 cast<VectorType>(Ty)->getNumElements());
582 uint64_t NewSize = DstTy->getNumElements() + SrcTy->getNumElements();
769 Elements.append(DstAT->getNumElements(), Constant::getNullValue(EltTy))
    [all...]
  /external/llvm/lib/VMCore/
ConstantFold.cpp 53 unsigned NumElts = DstTy->getNumElements();
115 if (STy->getNumElements() == 0) break;
337 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements());
344 unsigned NumElems = STy->getNumElements();
412 unsigned NumElems = STy->getNumElements();
470 unsigned NumElems = STy->getNumElements();
553 cast<VectorType>(DestTy)->getNumElements() ==
554 CV->getType()->getNumElements()) {
558 for (unsigned i = 0, e = CV->getType()->getNumElements(); i != e; ++i)
629 STy->getNumElements() == 2 &
    [all...]
Constants.cpp 125 C = ConstantVector::get(std::vector<Constant *>(VTy->getNumElements(), C));
143 Elts.resize(VTy->getNumElements(), getAllOnesValue(VTy->getElementType()));
289 Elts.assign(VT->getNumElements(),
295 Elts.assign(VT->getNumElements(), UndefValue::get(VT->getElementType()));
388 SmallVector<Constant*, 16> Splat(VTy->getNumElements(),
401 SmallVector<Constant*, 16> Splat(VTy->getNumElements(),
428 16>(VTy->getNumElements(), C));
454 SmallVector<Constant *, 16>(VTy->getNumElements(), C));
497 SmallVector<Constant *, 16>(VTy->getNumElements(), C));
512 SmallVector<Constant *, 16>(VTy->getNumElements(), C))
    [all...]
ValueTypes.cpp 81 return cast<VectorType>(LLVMTy)->getNumElements();
215 VTy->getNumElements());
Type.cpp 116 unsigned NumElements = ATy->getNumElements();
122 unsigned NumElements = STy->getNumElements();
554 getNumElements() != Other->getNumElements())
598 return CU->getZExtValue() < STy->getNumElements();
608 return Idx < STy->getNumElements();
  /external/llvm/lib/Transforms/Instrumentation/
ProfilingUtils.cpp 56 cast<ArrayType>(Array->getType()->getElementType())->getNumElements();
154 for (unsigned i = 0, e = InitList->getType()->getNumElements();
  /external/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 287 if (IdxV < STy->getNumElements())
295 if (IdxV < STy->getNumElements())
436 uint64_t NumElements = AT->getNumElements();
457 NumElements = SubArrayTy->getNumElements();
459 NumElements = SubVectorTy->getNumElements();
514 NewGlobals.reserve(STy->getNumElements());
516 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
539 NumElements = ATy->getNumElements();
541 NumElements = cast<VectorType>(STy)->getNumElements();
    [all...]
ArgumentPromotion.cpp 164 if (maxElements > 0 && STy->getNumElements() > maxElements) {
173 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
195 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
534 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
669 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
    [all...]
MergeFunctions.cpp 244 if (STy1->getNumElements() != STy2->getNumElements())
250 for (unsigned i = 0, e = STy1->getNumElements(); i != e; ++i) {
277 return ATy1->getNumElements() == ATy2->getNumElements() &&
  /external/llvm/lib/Analysis/
DebugInfo.cpp 303 unsigned DIArray::getNumElements() const {
707 OS << " [" << A.getNumElements() << " elements]";
936 for (unsigned i = 0, e = GVs.getNumElements(); i != e; ++i) {
942 for (unsigned i = 0, e = SPs.getNumElements(); i != e; ++i)
945 for (unsigned i = 0, e = EnumTypes.getNumElements(); i != e; ++i)
948 for (unsigned i = 0, e = RetainedTypes.getNumElements(); i != e; ++i)
1027 for (unsigned i = 0, e = DA.getNumElements(); i != e; ++i) {
    [all...]
  /frameworks/compile/slang/
slang_rs_export_func.cpp 140 if (ERT->getFields().size() != ParamTy->getNumElements())
slang_rs_export_type.cpp 95 unsigned numElements = EVT->getNumElements();
247 if (EVT->getNumElements() < 2 || EVT->getNumElements() > 4)
1023 if ((EVT->getNumElements() < 1) ||
1024 (EVT->getNumElements() > 4))
    [all...]
  /external/llvm/lib/CodeGen/
Analysis.cpp 57 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) {
94 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i)
  /external/mesa3d/src/pixelflinger2/
llvm_helper.h 98 assert(type->getNumElements() <= 4);
99 for (unsigned i = 0; i < type->getNumElements(); i++)
  /external/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 711 for (unsigned i = 0, e = ST->getNumElements(); i != e; ++i) {
723 for (unsigned i = 0, e = AT->getNumElements(); i != e; ++i) {
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfCompileUnit.cpp 376 for (unsigned i = 0, N = Fields.getNumElements(); i < N; ++i) {
550 for (unsigned i = 0, e = TParams.getNumElements(); i != e; ++i) {
649 for (unsigned i = 0, e = Args.getNumElements(); i != e; ++i) {
726 for (unsigned i = 0, N = Elements.getNumElements(); i < N; ++i) {
744 for (unsigned i = 1, N = Elements.getNumElements(); i < N; ++i) {
768 unsigned N = Elements.getNumElements();
    [all...]

Completed in 875 milliseconds

1 2 3 4