Home
last modified time | relevance | path

Searched refs:getArraySize (Results 1 – 25 of 116) sorted by relevance

12345

/external/clang/test/Analysis/
Dtest-variably-modified-types.c4 unsigned getArraySize(int *x) { in getArraySize() function
11 int mytype[getArraySize(x)]; in testVariablyModifiedTypes()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp319 …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 …]
DvktPipelineImageUtil.hpp131 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;
DvktPipelineImageViewTests.cpp71 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/
DvktSSBOLayoutCase.cpp548 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/
DesextcTextureCubeMapArrayStencilAttachments.cpp74 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()
DesextcTextureCubeMapArrayStencilAttachments.hpp62 glw::GLuint getArraySize() const;
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp532 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 …]
Des31fProgramInterfaceDefinitionUtil.cpp203 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/
DglsAttributeLocationTests.cpp123 …<< (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 …]
DglsUniformBlockCase.hpp89 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
DglsUniformBlockCase.cpp525 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/
DgluVarTypeUtil.hpp260 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/
DInstCombineLoadStoreAlloca.cpp30 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/
DglcUniformBlockCase.hpp102 int getArraySize(void) const in getArraySize() function in deqp::ub::VarType
258 int getArraySize(void) const in getArraySize() function in deqp::ub::UniformBlock
DglcUniformBlockCase.cpp498 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/
DNVPTXAllocaHoisting.cpp49 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
/external/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp51 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp174 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/
DvktUniformBlockCase.hpp96 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
DvktUniformBlockCase.cpp635 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/
DInstCombineLoadStoreAlloca.cpp189 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/
DAPValue.cpp160 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/
DParseHelper.cpp544 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/
DvktApiCopiesAndBlittingTests.cpp243 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 …]

12345