/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgUtils.cpp | 64 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValue() 74 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValue() 85 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValue() 95 int numElements = type.getNumElements(); in computeRandomValue() 136 for (int ndx = 0; ndx < valueRange.getType().getNumElements(); ndx++) in isUndefinedValueRange() 193 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValueRange() 203 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValueRange() 219 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValueRange() 263 depth = memberType.getNumElements() == 1 ? 1 : 2; in getTypeConstructorDepth() 302 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRangeLengthSum() [all …]
|
D | rsgVariableValue.cpp | 48 int numElements = (int)a.getType().getNumElements(); in compareValueRangesAllTrue() 57 int numElements = (int)a.getType().getNumElements(); in compareValueRangesAllTrue() 213 int numElements = (int)a.getType().getNumElements(); in computeIntersection() 219 int numElements = (int)a.getType().getNumElements(); in computeIntersection()
|
D | rsgBinaryOps.cpp | 96 for (int elemNdx = 0; elemNdx < m_type.getNumElements(); elemNdx++) in evaluate() 176 for (int elemNdx = 0; elemNdx < dst.getType().getNumElements(); elemNdx++) in evaluate() 189 for (int elemNdx = 0; elemNdx < dst.getType().getNumElements(); elemNdx++) in evaluate() 396 for (int elemNdx = 0; elemNdx < this->m_type.getNumElements(); elemNdx++) in BinaryVecOp() 443 for (int elemNdx = 0; elemNdx < dst.getType().getNumElements(); elemNdx++) in evaluate() 451 for (int elemNdx = 0; elemNdx < dst.getType().getNumElements(); elemNdx++) in evaluate() 721 ….getType().getBaseType() == VariableType::TYPE_BOOL && valueRange.getType().getNumElements() == 1)) in getWeight() 1003 ….getType().getBaseType() == VariableType::TYPE_BOOL && valueRange.getType().getNumElements() == 1)) in getWeight() 1049 for (int elemNdx = 0; elemNdx < a.getType().getNumElements(); elemNdx++) in evaluate() 1061 for (int elemNdx = 0; elemNdx < a.getType().getNumElements(); elemNdx++) in evaluate() [all …]
|
D | rsgExecutionContext.cpp | 129 int numElems = type.getNumElements(); in assignMasked() 151 for (int elemNdx = 0; elemNdx < type.getNumElements(); elemNdx++) in assignMasked()
|
D | rsgExpression.cpp | 176 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValueRangeForInfElements() 196 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in computeRandomValueRangeForInfElements() 230 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in setInfiniteRange() 238 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in setInfiniteRange() 246 for (int ndx = 0; ndx < type.getNumElements(); ndx++) in setInfiniteRange() 715 int numScalars = type.getNumElements(); in ConstructorOp() 835 for (int elemNdx = 0; elemNdx < src.getType().getNumElements(); elemNdx++) in evaluate() 1034 for (int elemNdx = 0; elemNdx < type.getNumElements(); elemNdx++) in computeEntryReadWeight() 1062 for (int elemNdx = 0; elemNdx < type.getNumElements(); elemNdx++) in computeEntryReadWeight() 1308 int numOutputElements = m_outValueRange.getType().getNumElements(); in SwizzleOp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 289 unsigned getNumElements() const { return NumContainedTys; } in getNumElements() function 306 return cast<StructType>(this)->getNumElements(); in getStructNumElements() 335 uint64_t getNumElements() const { return NumElements; } in getNumElements() function 365 return cast<ArrayType>(this)->getNumElements(); in getArrayNumElements() 386 return VectorType::get(EltTy, VTy->getNumElements()); in getInteger() 394 return VectorType::get(EltTy, VTy->getNumElements()); in getExtendedElementVectorType() 404 return VectorType::get(EltTy, VTy->getNumElements()); in getTruncatedElementVectorType() 410 unsigned NumElts = VTy->getNumElements(); in getHalfElementsVectorType() 419 unsigned NumElts = VTy->getNumElements(); in getDoubleElementsVectorType() 429 return getNumElements() * getElementType()->getPrimitiveSizeInBits(); in getBitWidth() [all …]
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deRingBuffer.hpp | 45 int getNumElements (void) const { return m_numElements; } in getNumElements() function in de::RingBuffer 143 DE_ASSERT(getNumElements() > 0); in popBack() 153 DE_ASSERT(de::inBounds(offset, 0, getNumElements())); in peekBack() 160 DE_ASSERT(de::inRange(count, 0, getNumElements())); in peekBack() 168 DE_ASSERT(de::inRange(count, 0, getNumElements())); in popBack()
|
D | deRingBuffer.cpp | 54 bool canRead = buffer.getNumElements() > 0; in RingBuffer_selfTest() 63 int numBytes = rnd.getInt(1, buffer.getNumElements()); in RingBuffer_selfTest()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | FunctionComparator.cpp | 303 uint64_t NumElementsL = cast<ArrayType>(TyL)->getNumElements(); in cmpConstants() 304 uint64_t NumElementsR = cast<ArrayType>(TyR)->getNumElements(); in cmpConstants() 317 unsigned NumElementsL = cast<StructType>(TyL)->getNumElements(); in cmpConstants() 318 unsigned NumElementsR = cast<StructType>(TyR)->getNumElements(); in cmpConstants() 331 unsigned NumElementsL = cast<VectorType>(TyL)->getNumElements(); in cmpConstants() 332 unsigned NumElementsR = cast<VectorType>(TyR)->getNumElements(); in cmpConstants() 447 if (STyL->getNumElements() != STyR->getNumElements()) in cmpTypes() 448 return cmpNumbers(STyL->getNumElements(), STyR->getNumElements()); in cmpTypes() 453 for (unsigned i = 0, e = STyL->getNumElements(); i != e; ++i) { in cmpTypes() 483 if (STyL->getNumElements() != STyR->getNumElements()) in cmpTypes() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 350 unsigned getNumElements() const { return NumContainedTys; } in getNumElements() function 367 return cast<StructType>(this)->getNumElements(); in getStructNumElements() 398 uint64_t getNumElements() const { return NumElements; } in getNumElements() function 428 return cast<ArrayType>(this)->getNumElements(); in getArrayNumElements() 532 assert((VTy->getNumElements() * 2ull) <= UINT_MAX && in getDoubleElementsVectorType() 543 uint64_t MinimumEltCnt = getNumElements(); in getElementCount() 557 return getNumElements() * getElementType()->getPrimitiveSizeInBits(); in getBitWidth() 567 return cast<VectorType>(this)->getNumElements(); in getVectorNumElements()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | InterleavedLoadCombinePass.cpp | 680 EI = new ElementInfo[VTy->getNumElements()]; in VectorInfo() 685 unsigned getDimension() const { return VTy->getNumElements(); } in getDimension() 743 if (Result.VTy->getNumElements() % VTy->getNumElements()) in computeFromBCI() 746 unsigned Factor = Result.VTy->getNumElements() / VTy->getNumElements(); in computeFromBCI() 757 for (unsigned i = 0; i < Result.VTy->getNumElements(); i += Factor) { in computeFromBCI() 838 assert((i < 2 * (signed)ArgTy->getNumElements()) && in computeFromSVI() 843 else if (i < (signed)ArgTy->getNumElements()) { in computeFromSVI() 850 Result.EI[j] = RHS.EI[i - ArgTy->getNumElements()]; in computeFromSVI() 1203 InterleavedLoad.front().SVI->getType()->getNumElements(); in combine()
|
D | LowLevelType.cpp | 22 auto NumElements = VTy->getNumElements(); in getLLTForType() 51 Ty.getNumElements()); in getMVTForLLT()
|
D | Analysis.cpp | 59 unsigned NumElts = ATy->getNumElements(); in ComputeLinearIndex() 103 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in ComputeValueVTs() 134 for (unsigned I = 0, E = STy->getNumElements(); I != E; ++I) in computeValueLLTs() 143 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) in computeValueLLTs() 400 return Idx < AT->getNumElements(); in indexReallyValid() 402 return Idx < cast<StructType>(T)->getNumElements(); in indexReallyValid()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 54 const int numComps = varType.getNumElements(); in mapToBasicType() 141 ….getBaseType() == rsg::VariableType::TYPE_FLOAT && m_positionVar->getType().getNumElements() == 4); in RandomShaderProgram() 142 …getBaseType() == rsg::VariableType::TYPE_FLOAT && m_fragColorVar->getType().getNumElements() == 4); in RandomShaderProgram() 185 const int numComponents = attribType.getNumElements(); in shadeVertices() 226 const int numComponents = varType.getNumElements(); in shadeVertices() 264 const int numComponents = varType.getNumElements(); in shadeFragments()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | LowLevelTypeImpl.h | 99 uint16_t getNumElements() const { in getNumElements() function 111 return getScalarSizeInBits() * getNumElements(); in getSizeInBits() 127 return isVector() ? LLT::vector(getNumElements(), NewEltTy) : NewEltTy; in changeElementType() 136 return isVector() ? LLT::vector(getNumElements(), NewEltSize) in changeElementSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 466 unsigned NumElems = VT->getNumElements(); in splitUnary() 486 unsigned NumElems = VT->getNumElements(); in splitBinary() 527 unsigned NumElems = VT->getNumElements(); in splitCall() 577 unsigned NumElems = VT->getNumElements(); in visitSelectInst() 624 unsigned NumElems = VT->getNumElements(); in visitGetElementPtrInst() 669 unsigned NumElems = VT->getNumElements(); in visitCastInst() 688 unsigned DstNumElems = DstVT->getNumElements(); in visitBitCastInst() 689 unsigned SrcNumElems = SrcVT->getNumElements(); in visitBitCastInst() 742 unsigned NumElems = VT->getNumElements(); in visitShuffleVectorInst() 766 unsigned NumElems = VT->getNumElements(); in visitPHINode() [all …]
|
/third_party/vk-gl-cts/execserver/ |
D | xsExecutionServer.cpp | 66 src.getNumElements() > 0) in read() 83 size_t numToRead = (size_t)de::min(src.getNumElements(), (int)numBytesLeft); in read() 226 if (m_bufferIn.getNumElements() > 0) in processSession() 375 size_t maxLen = de::min(m_sendRecvTmpBuf.size(), (size_t)m_bufferOut.getNumElements()); in send()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 256 for (unsigned i = 0; i < CDS->getNumElements(); ++i) { in isTailPredicate() 284 unsigned Lanes = cast<VectorType>(Insert->getType())->getNumElements(); in isTailPredicate() 307 unsigned Lanes = VecTy->getNumElements(); in IsPredicatedVectorLoop() 331 VecTy->getNumElements()); in ComputeElements() 474 ConstantInt::get(cast<IntegerType>(Ty), VecTy->getNumElements()); in InsertVCTPIntrinsic() 477 switch (VecTy->getNumElements()) { in InsertVCTPIntrinsic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Constants.cpp | 367 C = ConstantVector::getSplat(VTy->getNumElements(), C); in getIntegerValue() 384 return ConstantVector::getSplat(VTy->getNumElements(), in getAllOnesValue() 393 return Elt < CAZ->getNumElements() ? CAZ->getElementValue(Elt) : nullptr; in getAggregateElement() 396 return Elt < UV->getNumElements() ? UV->getElementValue(Elt) : nullptr; in getAggregateElement() 399 return Elt < CDS->getNumElements() ? CDS->getElementAsConstant(Elt) in getAggregateElement() 678 return ConstantVector::getSplat(VTy->getNumElements(), TrueC); in getTrue() 686 return ConstantVector::getSplat(VTy->getNumElements(), FalseC); in getFalse() 709 return ConstantVector::getSplat(VTy->getNumElements(), C); in get() 733 return ConstantVector::getSplat(VTy->getNumElements(), C); in get() 778 return ConstantVector::getSplat(VTy->getNumElements(), C); in get() [all …]
|
D | DebugInfoMetadata.cpp | 892 if (getNumElements() == 1) in isValid() 903 getNumElements() == 2; in isValid() 938 if (getNumElements() == 0) in isImplicit() 958 if (getNumElements() == 0) in isComplex() 998 if (getNumElements() == 0) { in extractIfOffset() 1003 if (getNumElements() == 2 && Elements[0] == dwarf::DW_OP_plus_uconst) { in extractIfOffset() 1008 if (getNumElements() == 3 && Elements[0] == dwarf::DW_OP_constu) { in extractIfOffset() 1068 Ops.push_back(Expr->getNumElements() + 1); in prependOpcodes() 1131 bool NeedsDeref = (Expr->getNumElements() > DropUntilStackValue) && in appendToStack() 1189 if (getNumElements() != 3 && getNumElements() != 6) in isConstant() [all …]
|
D | ConstantFold.cpp | 53 unsigned NumElts = DstTy->getNumElements(); in BitCastConstantVector() 119 if (STy->getNumElements() == 0) break; in FoldBitCast() 355 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements()); in getFoldedSizeOf() 362 unsigned NumElems = STy->getNumElements(); in getFoldedSizeOf() 428 unsigned NumElems = STy->getNumElements(); in getFoldedAlignOf() 484 unsigned NumElems = STy->getNumElements(); in getFoldedOffsetOf() 666 STy->getNumElements() == 2 && in ConstantFoldCastInstruction() 931 NumElts = ST->getNumElements(); in ConstantFoldInsertValueInstruction() 933 NumElts = cast<SequentialType>(Agg->getType())->getNumElements(); in ConstantFoldInsertValueInstruction() 985 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) { in ConstantFoldUnaryInstruction() [all …]
|
/third_party/vk-gl-cts/executor/ |
D | xeContainerFormatParser.cpp | 69 m_buf.resize(getNextBufferSize(m_buf.getSize(), m_buf.getNumElements()+(int)numBytes)); in feed() 119 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements())); in getChar() 121 if (offset < m_buf.getNumElements()) in getChar()
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/ |
D | compat.hpp | 142 return ::llvm::cast<::llvm::FixedVectorType>(type)->getNumElements(); in get_fixed_vector_elements() 144 return ((::llvm::VectorType*)type)->getNumElements(); in get_fixed_vector_elements()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerInfo.cpp | 136 const unsigned OldElts = OldTy.isVector() ? OldTy.getNumElements() : 1; in mutationIsSane() 140 if (NewTy.getNumElements() >= OldElts) in mutationIsSane() 144 if (NewTy.getNumElements() <= OldElts) in mutationIsSane() 156 if (!NewTy.isVector() || OldTy.getNumElements() != NewTy.getNumElements()) in mutationIsSane() 667 LLT::vector(Aspect.Type.getNumElements(), ElementSizeAndAction.first); in findVectorLegalAction() 678 findAction(NumElementsVec, IntermediateType.getNumElements()); in findVectorLegalAction()
|
/third_party/vk-gl-cts/framework/xexml/ |
D | xeXMLParser.cpp | 87 m_buf.resize(getNextBufferSize(m_buf.getSize(), m_buf.getNumElements()+numBytes)); in feed() 100 DE_ASSERT(de::inRange(offset, 0, m_buf.getNumElements())); in getChar() 102 if (offset < m_buf.getNumElements()) in getChar()
|