/external/clang/lib/CodeGen/ |
D | CGBlocks.cpp | 47 const CGBlockInfo &blockInfo, 52 const CGBlockInfo &blockInfo) { in buildCopyHelper() argument 53 return CodeGenFunction(CGM).GenerateCopyHelperFunction(blockInfo); in buildCopyHelper() 58 const CGBlockInfo &blockInfo) { in buildDisposeHelper() argument 59 return CodeGenFunction(CGM).GenerateDestroyHelperFunction(blockInfo); in buildDisposeHelper() 77 const CGBlockInfo &blockInfo) { in buildBlockDescriptor() argument 99 blockInfo.BlockSize.getQuantity())); in buildBlockDescriptor() 102 if (blockInfo.NeedsCopyDispose) { in buildBlockDescriptor() 104 elements.push_back(buildCopyHelper(CGM, blockInfo)); in buildBlockDescriptor() 107 elements.push_back(buildDisposeHelper(CGM, blockInfo)); in buildBlockDescriptor() [all …]
|
D | CGObjCRuntime.h | 275 const CodeGen::CGBlockInfo &blockInfo) = 0; 277 const CodeGen::CGBlockInfo &blockInfo) = 0;
|
D | CGObjCMac.cpp | 1064 const CGBlockInfo &blockInfo) override; 1066 const CGBlockInfo &blockInfo) override; 2055 void visitBlock(const CGBlockInfo &blockInfo); 2076 const CGBlockInfo &blockInfo) { in BuildGCBlockLayout() argument 2082 IvarLayoutBuilder builder(CGM, CharUnits::Zero(), blockInfo.BlockSize, in BuildGCBlockLayout() 2085 builder.visitBlock(blockInfo); in BuildGCBlockLayout() 2100 void IvarLayoutBuilder::visitBlock(const CGBlockInfo &blockInfo) { in visitBlock() argument 2105 const BlockDecl *blockDecl = blockInfo.getBlockDecl(); in visitBlock() 2117 const CGBlockInfo::Capture &capture = blockInfo.getCapture(variable); in visitBlock() 2587 const CGBlockInfo &blockInfo) { in BuildRCBlockLayout() argument [all …]
|
D | CGDebugInfo.h | 335 const CGBlockInfo &blockInfo,
|
D | CGDebugInfo.cpp | 3264 const CGBlockInfo &blockInfo, llvm::Instruction *InsertPoint) { in EmitDeclareOfBlockDeclRefVariable() argument 3295 target.getStructLayout(blockInfo.StructureType) in EmitDeclareOfBlockDeclRefVariable() 3296 ->getElementOffset(blockInfo.getCapture(VD).getIndex())); in EmitDeclareOfBlockDeclRefVariable()
|
D | CodeGenFunction.h | 1344 llvm::Constant *GenerateCopyHelperFunction(const CGBlockInfo &blockInfo); 1345 llvm::Constant *GenerateDestroyHelperFunction(const CGBlockInfo &blockInfo);
|
D | CGObjCGNU.cpp | 582 const CGBlockInfo &blockInfo) override { in BuildGCBlockLayout() argument 586 const CGBlockInfo &blockInfo) override { in BuildRCBlockLayout() argument
|
/external/angle/src/libANGLE/ |
D | Uniform.cpp | 43 : typeInfo(nullptr), bufferIndex(-1), blockInfo(sh::kDefaultBlockMemberInfo) in LinkedUniform() 55 : typeInfo(&GetUniformTypeInfo(typeIn)), bufferIndex(bufferIndexIn), blockInfo(blockInfoIn) in LinkedUniform() 72 blockInfo(sh::kDefaultBlockMemberInfo) in LinkedUniform() 83 blockInfo(uniform.blockInfo), in LinkedUniform() 93 blockInfo = uniform.blockInfo; in operator =() 101 : bufferIndex(-1), blockInfo(sh::kDefaultBlockMemberInfo), topLevelArraySize(-1) in BufferVariable() 110 : bufferIndex(bufferIndexIn), blockInfo(blockInfoIn), topLevelArraySize(-1) in BufferVariable()
|
D | Uniform.h | 59 const sh::BlockMemberInfo &blockInfo); 77 sh::BlockMemberInfo blockInfo; member 89 const sh::BlockMemberInfo &blockInfo); 93 sh::BlockMemberInfo blockInfo; member
|
D | queryutils.cpp | 1798 return uniform.blockInfo.offset; in GetUniformResourceProperty() 1801 return uniform.blockInfo.arrayStride; in GetUniformResourceProperty() 1804 return uniform.blockInfo.matrixStride; in GetUniformResourceProperty() 1807 return static_cast<GLint>(uniform.blockInfo.isRowMajorMatrix); in GetUniformResourceProperty() 1844 return bufferVariable.blockInfo.offset; in GetBufferVariableResourceProperty() 1847 return bufferVariable.blockInfo.arrayStride; in GetBufferVariableResourceProperty() 1850 return bufferVariable.blockInfo.matrixStride; in GetBufferVariableResourceProperty() 1853 return static_cast<GLint>(bufferVariable.blockInfo.isRowMajorMatrix); in GetBufferVariableResourceProperty() 1871 return bufferVariable.blockInfo.topLevelArrayStride; in GetBufferVariableResourceProperty()
|
D | Program.cpp | 693 WriteBlockMemberInfo(stream, var.blockInfo); in WriteBufferVariable() 707 LoadBlockMemberInfo(stream, &var->blockInfo); in LoadBufferVariable() 3694 uniform.blockInfo.offset = uniform.offset; in linkAtomicCounterBuffers() 3695 uniform.blockInfo.arrayStride = (uniform.isArray() ? 4 : 0); in linkAtomicCounterBuffers() 3696 uniform.blockInfo.matrixStride = 0; in linkAtomicCounterBuffers() 3697 uniform.blockInfo.isRowMajorMatrix = false; in linkAtomicCounterBuffers() 5089 WriteBlockMemberInfo(&stream, uniform.blockInfo); in serialize() 5294 LoadBlockMemberInfo(&stream, &uniform.blockInfo); in deserialize()
|
/external/deqp/modules/gles31/functional/ |
D | es31fBasicComputeShaderTests.cpp | 177 …const InterfaceBlockInfo blockInfo = getProgramInterfaceBlockInfo(gl, program.getProgram(), GL_UNI… in iterate() local 182 gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)blockInfo.dataSize, DE_NULL, GL_STATIC_DRAW); in iterate() 185 const BufferMemMap bufMap(gl, GL_UNIFORM_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_BIT); in iterate() 299 …const InterfaceBlockInfo blockInfo = getProgramInterfaceBlockInfo(gl, program.getProgram(), GL_SHA… in iterate() local 304 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizeiptr)blockInfo.dataSize, DE_NULL, GL_STATIC_DR… in iterate() 309 …const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_B… in iterate() 315 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *inputBuffer); in iterate() 322 …const InterfaceBlockInfo blockInfo = getProgramInterfaceBlockInfo(gl, program.getProgram(), GL_SHA… in iterate() local 325 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, DE_NULL, GL_STREAM_READ); in iterate() 326 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *outputBuffer); in iterate() [all …]
|
D | es31fShaderAtomicOpTests.cpp | 196 …const InterfaceBlockInfo blockInfo = getProgramInterfaceBlockInfo(gl, program, GL_SHADER_STORAGE_… in iterate() local 213 vector<deUint8> bufData(blockInfo.dataSize); in iterate() 225 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, &bufData[0], GL_STATIC_READ); in iterate() 234 …const void* resPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, blockInfo.dataSize, GL_MAP_R… in iterate() 998 …const InterfaceBlockInfo blockInfo = getProgramInterfaceBlockInfo(gl, program, GL_SHADER_STORAGE_… in iterate() local 1021 vector<deUint8> bufData (blockInfo.dataSize); in iterate() 1032 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, &bufData[0], GL_STATIC_READ); in iterate() 1041 …const void* resPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, blockInfo.dataSize, GL_MAP_… in iterate()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Program.cpp | 49 offset = uniform.blockInfo.offset; in BlockInfo() 50 arrayStride = uniform.blockInfo.arrayStride; in BlockInfo() 51 matrixStride = uniform.blockInfo.matrixStride; in BlockInfo() 52 isRowMajorMatrix = uniform.blockInfo.isRowMajorMatrix; in BlockInfo() 56 Uniform::Uniform(const glsl::Uniform &uniform, const BlockInfo &blockInfo) in Uniform() argument 58 arraySize(uniform.arraySize), blockInfo(blockInfo), fields(uniform.fields) in Uniform() 60 if((blockInfo.index == -1) && uniform.fields.empty()) in Uniform() 1101 if(targetUniform->dirty && (targetUniform->blockInfo.index == -1)) in applyUniforms() 1759 …defineUniform(GLenum shader, const glsl::Uniform &glslUniform, const Uniform::BlockInfo& blockInfo) in defineUniform() argument 1850 uniform = new Uniform(glslUniform, blockInfo); in defineUniform() [all …]
|
D | Program.h | 52 Uniform(const glsl::Uniform &uniform, const BlockInfo &blockInfo); 64 const BlockInfo blockInfo; member 240 …ol defineUniform(GLenum shader, const glsl::Uniform &uniform, const Uniform::BlockInfo& blockInfo);
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 213 sh::BlockMemberInfo blockInfo; in load() local 214 gl::LoadBlockMemberInfo(stream, &blockInfo); in load() 215 mDefaultUniformBlocks[shaderType].uniformLayout.push_back(blockInfo); in load() 248 sh::BlockMemberInfo &blockInfo = in save() local 250 gl::WriteBlockMemberInfo(stream, blockInfo); in save()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | OutputASM.h | 77 BlockMemberInfo blockInfo; member
|
D | OutputASM.cpp | 279 ShaderVariable(type, name, registerIndex), blockId(blockId), blockInfo(blockMemberInfo) in Uniform() 3699 …const BlockMemberInfo blockInfo = encoder ? encoder->encodeType(type) : BlockMemberInfo::getDefaul… in declareUniform() local 3702 …ckId].insert(BlockDefinitionIndexMap::value_type(registerIndex, TypedMemberInfo(blockInfo, type))); in declareUniform() 3705 …ormBlocks[blockId].registerIndex + BlockLayoutEncoder::getBlockRegister(blockInfo) : registerIndex; in declareUniform() 3716 activeUniforms.push_back(Uniform(type, name.c_str(), fieldRegisterIndex, blockId, blockInfo)); in declareUniform()
|
/external/vulkan-validation-layers/layers/ |
D | vk_mem_alloc.h | 12000 blockInfo(blockCount, VmaStlAllocator<BlockInfo>(m_hAllocator->GetAllocationCallbacks())); in ApplyDefragmentationMovesCpu() 12001 memset(blockInfo.data(), 0, blockCount * sizeof(BlockInfo)); in ApplyDefragmentationMovesCpu() 12008 blockInfo[move.srcBlockIndex].flags |= BLOCK_FLAG_USED; in ApplyDefragmentationMovesCpu() 12009 blockInfo[move.dstBlockIndex].flags |= BLOCK_FLAG_USED; in ApplyDefragmentationMovesCpu() 12017 BlockInfo& currBlockInfo = blockInfo[blockIndex]; in ApplyDefragmentationMovesCpu() 12044 const BlockInfo& srcBlockInfo = blockInfo[move.srcBlockIndex]; in ApplyDefragmentationMovesCpu() 12045 const BlockInfo& dstBlockInfo = blockInfo[move.dstBlockIndex]; in ApplyDefragmentationMovesCpu() 12091 const BlockInfo& currBlockInfo = blockInfo[blockIndex]; in ApplyDefragmentationMovesCpu()
|
/external/angle/third_party/VulkanMemoryAllocator/src/ |
D | vk_mem_alloc.h | 12859 …blockInfo(blockCount, BlockInfo(), VmaStlAllocator<BlockInfo>(m_hAllocator->GetAllocationCallbacks… in ApplyDefragmentationMovesCpu() 12860 memset(blockInfo.data(), 0, blockCount * sizeof(BlockInfo)); in ApplyDefragmentationMovesCpu() 12867 blockInfo[move.srcBlockIndex].flags |= BLOCK_FLAG_USED; in ApplyDefragmentationMovesCpu() 12868 blockInfo[move.dstBlockIndex].flags |= BLOCK_FLAG_USED; in ApplyDefragmentationMovesCpu() 12876 BlockInfo& currBlockInfo = blockInfo[blockIndex]; in ApplyDefragmentationMovesCpu() 12903 const BlockInfo& srcBlockInfo = blockInfo[move.srcBlockIndex]; in ApplyDefragmentationMovesCpu() 12904 const BlockInfo& dstBlockInfo = blockInfo[move.dstBlockIndex]; in ApplyDefragmentationMovesCpu() 12950 const BlockInfo& currBlockInfo = blockInfo[blockIndex]; in ApplyDefragmentationMovesCpu()
|