/external/clang/test/Analysis/ |
D | test-variably-modified-types.c | 4 unsigned getArraySize(int *x) { in getArraySize() function 11 int mytype[getArraySize(x)]; in testVariablyModifiedTypes()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 319 …gions, DE_NULL, imageAspectFlags, srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage); in uploadTestTextureInternal() 596 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getSize() 620 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getCompressedSize() 633 DE_ASSERT(layer >= 0 && layer < getArraySize()); in getCompressedLevel() 635 return *m_compressedLevels[level * getArraySize() + layer]; in getCompressedLevel() 641 DE_ASSERT(layer >= 0 && layer < getArraySize()); in getCompressedLevel() 643 return *m_compressedLevels[level * getArraySize() + layer]; in getCompressedLevel() 660 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions() 708 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions() 758 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in write() [all …]
|
D | vktPipelineImageUtil.hpp | 131 virtual int getArraySize (void) const { return 1; } in getArraySize() function in vkt::pipeline::TestTexture 197 virtual int getArraySize (void) const; 241 virtual int getArraySize (void) const; 282 virtual int getArraySize (void) const; 304 virtual int getArraySize (void) const;
|
D | vktPipelineImageViewTests.cpp | 71 static int getArraySize (VkImageViewType viewType); 197 const int arraySize = getArraySize(m_imageViewType); in createInstance() 298 int ImageViewTest::getArraySize (VkImageViewType viewType) in getArraySize() function in vkt::pipeline::__anon3088bfc90111::ImageViewTest 342 const deUint32 arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests() 619 arraySize = ImageViewTest::getArraySize(viewType); in createComponentSwizzleTests()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 548 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 554 curOffset += stride*type.getArraySize(); in computeReferenceLayout() 575 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 582 curOffset += entry.arrayStride*type.getArraySize(); in computeReferenceLayout() 590 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() 617 …const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getA… in computeReferenceLayout() 745 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() 1110 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 1323 …t arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(ins… in generateCompareSrc() 1384 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc() [all …]
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayStencilAttachments.cpp | 74 m_data_array = new glw::GLubyte[getArraySize()]; in init() 76 memset(m_data_array, initial_value, getArraySize() * sizeof(glw::GLubyte)); in init() 104 glw::GLuint CubeMapArrayDataStorage::getArraySize() const in getArraySize() function in glcts::CubeMapArrayDataStorage 217 m_cube_map_array_data[test_index].getArraySize() / m_cube_map_array_data[test_index].getDepth(); in iterate() 606 memset(data, 0, m_cube_map_array_data[test_index].getArraySize() * sizeof(glw::GLubyte)); in fillStencilData()
|
D | esextcTextureCubeMapArrayStencilAttachments.hpp | 62 glw::GLuint getArraySize() const;
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 532 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 538 curOffset += stride*type.getArraySize(); in computeReferenceLayout() 556 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 563 curOffset += numVecs*vecStride*type.getArraySize(); in computeReferenceLayout() 571 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() 597 …const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getA… in computeReferenceLayout() 707 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() 971 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 1133 …t arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(ins… in generateCompareSrc() 1179 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc() [all …]
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 203 for (int ndx = 0; ndx < type.getArraySize(); ++ndx) in generateVariableTypeResourceNames() 433 if (varType.getArraySize() != glu::VarType::UNSIZED_ARRAY) in writeVariableReadAccumulateExpression() 435 for (int ndx = 0; ndx < varType.getArraySize(); ++ndx) in writeVariableReadAccumulateExpression() 592 if (varType.getArraySize() != glu::VarType::UNSIZED_ARRAY) in writeVariableWriteExpression() 594 for (int ndx = 0; ndx < varType.getArraySize(); ++ndx) in writeVariableWriteExpression() 885 …const int arraySize = (complexType.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (complex… in accumulateComplexType() 1093 …const int arraySize = (type.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (type.getArrayS… in getBufferVariableSize() 1244 ? (shader->getDefaultBlock().variables[ndx].varType.getArraySize()) in getFragmentOutputMaxLocation()
|
/external/deqp/modules/glshared/ |
D | glsAttributeLocationTests.cpp | 123 …<< (iter->getArraySize() != Attribute::NOT_ARRAY ? "[" + de::toString(iter->getArraySize()) + "]"… in generateAttributeDefinitions() 148 …const string variableName(attrib.getName() + (attrib.getArraySize() != Attribute::NOT_ARRAY ? "["… in generateToVec4Expression() 185 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode() 189 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode() 197 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode() 201 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode() 211 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode() 215 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode() 547 if (attrib.getArraySize() == Attribute::NOT_ARRAY) in checkActiveAttribQuery() 557 if (size != attrib.getArraySize()) in checkActiveAttribQuery() [all …]
|
D | glsUniformBlockCase.hpp | 89 int getArraySize (void) const { return m_data.array.size; } in getArraySize() function in deqp::gls::ub::VarType 190 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in deqp::gls::ub::UniformBlock
|
D | glsUniformBlockCase.cpp | 525 entry.size = type.getArraySize(); in computeStd140Layout() 529 curOffset += stride*type.getArraySize(); in computeStd140Layout() 549 entry.size = type.getArraySize(); in computeStd140Layout() 554 curOffset += numVecs*type.getArraySize()*stride; in computeStd140Layout() 562 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout() 600 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeStd140Layout() 868 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 934 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 1014 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() 1032 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc() [all …]
|
/external/deqp/framework/opengl/ |
D | gluVarTypeUtil.hpp | 260 if (curComp.index+1 < parentType.getArraySize()) in removeTraversed() 330 …isArrayType() || (curType->getArraySize() != VarType::UNSIZED_ARRAY && !de::inBounds(pathIter->ind… in isValidTypePath()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 30 if (AI.getArraySize()->getType() != IntPtrTy) { in visitAllocaInst() 31 Value *V = Builder->CreateIntCast(AI.getArraySize(), in visitAllocaInst() 40 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in visitAllocaInst() 67 } else if (isa<UndefValue>(AI.getArraySize())) { in visitAllocaInst()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.hpp | 102 int getArraySize(void) const in getArraySize() function in deqp::ub::VarType 258 int getArraySize(void) const in getArraySize() function in deqp::ub::UniformBlock
|
D | glcUniformBlockCase.cpp | 498 entry.size = type.getArraySize(); in computeStd140Layout() 502 curOffset += stride * type.getArraySize(); in computeStd140Layout() 522 entry.size = type.getArraySize(); in computeStd140Layout() 527 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout() 535 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout() 577 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeStd140Layout() 785 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 854 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 943 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() 962 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXAllocaHoisting.cpp | 49 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAllocaHoisting.cpp | 51 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 174 if (AI.getArraySize()->getType()->isIntegerTy(32)) in simplifyAllocaArraySize() 184 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in simplifyAllocaArraySize() 211 if (isa<UndefValue>(AI.getArraySize())) in simplifyAllocaArraySize() 217 if (AI.getArraySize()->getType() != IntPtrTy) { in simplifyAllocaArraySize() 218 Value *V = IC.Builder->CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize() 243 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 657 ConstantInt *CS = dyn_cast<ConstantInt>(AI->getArraySize()); in isObjectSizeLessThanOrEq()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.hpp | 96 int getArraySize (void) const { return m_data.array.size; } in getArraySize() function in vkt::ubo::VarType 204 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in vkt::ubo::UniformBlock
|
D | vktUniformBlockCase.cpp | 635 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 641 curOffset += stride*type.getArraySize(); in computeReferenceLayout() 662 entry.arraySize = type.getArraySize(); in computeReferenceLayout() 669 curOffset += entry.arrayStride*type.getArraySize(); in computeReferenceLayout() 677 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout() 716 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() 1048 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 1223 src << "[" << block.getArraySize() << "]"; in generateDeclaration() 1515 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc() 1531 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 189 if (AI.getArraySize()->getType()->isIntegerTy(32)) in simplifyAllocaArraySize() 199 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in simplifyAllocaArraySize() 226 if (isa<UndefValue>(AI.getArraySize())) in simplifyAllocaArraySize() 232 if (AI.getArraySize()->getType() != IntPtrTy) { in simplifyAllocaArraySize() 233 Value *V = IC.Builder.CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize() 359 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 836 ConstantInt *CS = dyn_cast<ConstantInt>(AI->getArraySize()); in isObjectSizeLessThanOrEq()
|
/external/clang/lib/AST/ |
D | APValue.cpp | 160 MakeArray(RHS.getArrayInitializedElts(), RHS.getArraySize()); in APValue() 304 if (I != getArraySize() - 1) OS << ", "; in dump() 307 OS << getArraySize() - getArrayInitializedElts() << " x "; in dump()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.cpp | 544 if(type->getArraySize() == 0) { in constructorErrorCheck() 546 } else if(type->getArraySize() != (int)function.getParamCount()) { in constructorErrorCheck() 1018 if(type.getArraySize() != maxDrawBuffers->getConstPointer()->getIConst()) in declareVariable() 1246 type.setArraySize(initializer->getArraySize()); in executeInitializer() 1310 if (variable->isConstant() && !(type.isArray() && type.getArraySize() > 1)) in executeInitializer() 2272 if (index >= node->getType().getArraySize()) { in addConstArrayNode() 2536 if(index >= baseExpression->getType().getArraySize()) in addIndexExpression() 2543 safeIndex = baseExpression->getType().getArraySize() - 1; in addIndexExpression() 3156 if(left->getArraySize() != right->getArraySize()) in binaryOpCommonCheck() 3552 arraySize = typedThis->getArraySize(); in addFunctionCallOrMethod()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 243 inline deUint32 getArraySize(const ImageParms& parms) in getArraySize() function 470 const deUint32 arraySize = getArraySize(parms); in uploadImageAspect() 716 getArraySize(imageParms)// deUint32 arraySize; in readImageAspect() 749 getArraySize(imageParms) // deUint32 arraySize; in readImageAspect() 764 getArraySize(imageParms), // deUint32 layerCount; in readImageAspect() 854 getArraySize(m_params.src.image), // deUint32 arraySize; in CopyImageToImage() 881 getArraySize(m_params.dst.image), // deUint32 arraySize; in CopyImageToImage() 973 getArraySize(m_params.src.image)// deUint32 arraySize; in iterate() 992 getArraySize(m_params.dst.image)// deUint32 arraySize; in iterate() 1399 getArraySize(m_params.src.image), // deUint32 arraySize; in CopyImageToBuffer() [all …]
|