Home
last modified time | relevance | path

Searched refs:blockInfo (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/CodeGen/
DCGBlocks.cpp47 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 …]
DCGObjCRuntime.h275 const CodeGen::CGBlockInfo &blockInfo) = 0;
277 const CodeGen::CGBlockInfo &blockInfo) = 0;
DCGObjCMac.cpp1064 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 …]
DCGDebugInfo.h335 const CGBlockInfo &blockInfo,
DCGDebugInfo.cpp3264 const CGBlockInfo &blockInfo, llvm::Instruction *InsertPoint) { in EmitDeclareOfBlockDeclRefVariable() argument
3295 target.getStructLayout(blockInfo.StructureType) in EmitDeclareOfBlockDeclRefVariable()
3296 ->getElementOffset(blockInfo.getCapture(VD).getIndex())); in EmitDeclareOfBlockDeclRefVariable()
DCodeGenFunction.h1344 llvm::Constant *GenerateCopyHelperFunction(const CGBlockInfo &blockInfo);
1345 llvm::Constant *GenerateDestroyHelperFunction(const CGBlockInfo &blockInfo);
DCGObjCGNU.cpp582 const CGBlockInfo &blockInfo) override { in BuildGCBlockLayout() argument
586 const CGBlockInfo &blockInfo) override { in BuildRCBlockLayout() argument
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp177 …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 …]
Des31fShaderAtomicOpTests.cpp196 …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/
DProgram.cpp49 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 …]
DProgram.h52 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/swiftshader/src/OpenGL/compiler/
DOutputASM.h77 BlockMemberInfo blockInfo; member
DOutputASM.cpp279 ShaderVariable(type, name, registerIndex), blockId(blockId), blockInfo(blockMemberInfo) in Uniform()
3633 …const BlockMemberInfo blockInfo = encoder ? encoder->encodeType(type) : BlockMemberInfo::getDefaul… in declareUniform() local
3636 …ckId].insert(BlockDefinitionIndexMap::value_type(registerIndex, TypedMemberInfo(blockInfo, type))); in declareUniform()
3639 …ormBlocks[blockId].registerIndex + BlockLayoutEncoder::getBlockRegister(blockInfo) : registerIndex; in declareUniform()
3650 activeUniforms.push_back(Uniform(type, name.c_str(), fieldRegisterIndex, blockId, blockInfo)); in declareUniform()