Home
last modified time | relevance | path

Searched refs:VarDeclaration (Results 1 – 25 of 28) sorted by relevance

12

/external/skqp/src/sksl/ir/
DSkSLVarDeclarations.h23 struct VarDeclaration : public Statement { struct
24 VarDeclaration(const Variable* var, in VarDeclaration() function
41 return std::unique_ptr<Statement>(new VarDeclaration(fVar, std::move(sizesClone), in clone() argument
72 std::vector<std::unique_ptr<VarDeclaration>> vars) in VarDeclarations() argument
81 std::vector<std::unique_ptr<VarDeclaration>> cloned; in clone()
83 cloned.push_back(std::unique_ptr<VarDeclaration>( in clone()
84 (VarDeclaration*) v->clone().release())); in clone()
94 String result = ((VarDeclaration&) *fVars[0]).fVar->fModifiers.description() + in description()
/external/skia/src/sksl/ir/
DSkSLVarDeclarations.h23 struct VarDeclaration : public Statement { struct
24 VarDeclaration(const Variable* var, in VarDeclaration() argument
41 return std::unique_ptr<Statement>(new VarDeclaration(fVar, std::move(sizesClone), in clone() argument
72 std::vector<std::unique_ptr<VarDeclaration>> vars) in VarDeclarations() argument
81 std::vector<std::unique_ptr<VarDeclaration>> cloned; in clone()
83 cloned.push_back(std::unique_ptr<VarDeclaration>( in clone()
84 (VarDeclaration*) v->clone().release())); in clone()
94 String result = ((VarDeclaration&) *fVars[0]).fVar->fModifiers.description() + in description()
/external/skqp/src/sksl/
DSkSLMetalCodeGenerator.cpp658 VarDeclaration& var = (VarDeclaration&) *stmt; in writeFunction()
955 VarDeclaration& var = (VarDeclaration&) *stmt; in writeVarDeclarations()
1147 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeUniformStruct()
1166 VarDeclaration& var = (VarDeclaration&) *stmt; in writeUniformStruct()
1186 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeInputStruct()
1193 VarDeclaration& var = (VarDeclaration&) *stmt; in writeInputStruct()
1225 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeOutputStruct()
1232 VarDeclaration& var = (VarDeclaration&) *stmt; in writeOutputStruct()
1296 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeGlobalStruct()
1308 VarDeclaration& var = (VarDeclaration&) *stmt; in writeGlobalStruct()
[all …]
DSkSLPipelineStageCodeGenerator.cpp89 VarDeclaration& decl = (VarDeclaration&) *raw; in writeFunctionCall()
144 const Variable& var = *((VarDeclaration&) *decl).fVar; in writeVariableReference()
220 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
DSkSLCPPCodeGenerator.cpp357 const VarDeclaration& decl = (VarDeclaration&) *raw; in getChildFPIndex()
482 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
546 VarDeclaration& decl = (VarDeclaration&) *raw; in writePrivateVars()
586 VarDeclaration& decl = (VarDeclaration&) *raw; in writePrivateVarValues()
811 VarDeclaration& decl = (VarDeclaration&) *raw; in writeEmitCode()
927 VarDeclaration& decl = (VarDeclaration&) *raw; in writeSetData()
1108 VarDeclaration& decl = (VarDeclaration&) *raw; in generateCode()
DSkSLSectionAndParameterHelper.h47 const VarDeclaration& decl = (VarDeclaration&) *raw; in SectionAndParameterHelper()
DSkSLMetalCodeGenerator.h165 void writeGlobalVars(const VarDeclaration& vs);
248 std::vector<const VarDeclaration*> fInitNonConstGlobalVars;
DSkSLGLSLCodeGenerator.cpp1214 VarDeclaration& var = (VarDeclaration&) *stmt; in writeFunctionCall()
1466 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall()
1473 ((VarDeclaration&) *decl.fVars[0]).fVar->fWriteCount) { in writeFunctionCall()
DSkSLCompiler.cpp374 VarDeclaration& vd = (VarDeclaration&) *stmt; in addDefinitions()
437 result[((VarDeclaration&) *decl).fVar] = nullptr; in compute_start_state()
997 const auto& varDecl = (VarDeclaration&) *stmt; in simplifyStatement()
DSkSLCFGGenerator.cpp492 VarDeclaration& vd = (VarDeclaration&) *stmt; in addStatement()
DSkSLIRGenerator.cpp255 std::vector<std::unique_ptr<VarDeclaration>> variables; in convertVarDeclarations()
331 variables.emplace_back(new VarDeclaration(var.get(), std::move(sizes), in convertVarDeclarations()
588 std::vector<std::unique_ptr<VarDeclaration>> variables; in applyInvocationIDWorkaround()
831 VarDeclaration& vd = (VarDeclaration&) *stmt; in convertInterfaceBlock()
DSkSLInterpreter.cpp164 const Variable* var = ((VarDeclaration&) *decl).fVar; in runStatement()
/external/skia/src/sksl/
DSkSLMetalCodeGenerator.cpp804 VarDeclaration& var = (VarDeclaration&) *stmt; in writeFunction()
1099 VarDeclaration& var = (VarDeclaration&) *stmt; in writeVarDeclarations()
1291 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeUniformStruct()
1310 VarDeclaration& var = (VarDeclaration&) *stmt; in writeUniformStruct()
1330 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeInputStruct()
1337 VarDeclaration& var = (VarDeclaration&) *stmt; in writeInputStruct()
1369 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeOutputStruct()
1376 VarDeclaration& var = (VarDeclaration&) *stmt; in writeOutputStruct()
1438 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeGlobalStruct()
1450 VarDeclaration& var = (VarDeclaration&) *stmt; in writeGlobalStruct()
[all …]
DSkSLPipelineStageCodeGenerator.cpp90 VarDeclaration& decl = (VarDeclaration&) *raw; in writeFunctionCall()
145 const Variable& var = *((VarDeclaration&) *decl).fVar; in writeVariableReference()
221 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
DSkSLCPPCodeGenerator.cpp384 const VarDeclaration& decl = (VarDeclaration&) *raw; in getChildFPIndex()
524 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
578 VarDeclaration& decl = (VarDeclaration&) *raw; in writePrivateVars()
618 VarDeclaration& decl = (VarDeclaration&) *raw; in writePrivateVarValues()
844 VarDeclaration& decl = (VarDeclaration&) *raw; in writeEmitCode()
960 VarDeclaration& decl = (VarDeclaration&) *raw; in writeSetData()
1150 VarDeclaration& decl = (VarDeclaration&) *raw; in generateCode()
DSkSLSectionAndParameterHelper.h47 const VarDeclaration& decl = (VarDeclaration&) *raw; in SectionAndParameterHelper()
DSkSLMetalCodeGenerator.h167 void writeGlobalVars(const VarDeclaration& vs);
252 std::vector<const VarDeclaration*> fInitNonConstGlobalVars;
DSkSLCompiler.cpp374 VarDeclaration& vd = (VarDeclaration&) *stmt; in addDefinitions()
437 result[((VarDeclaration&) *decl).fVar] = nullptr; in compute_start_state()
997 const auto& varDecl = (VarDeclaration&) *stmt; in simplifyStatement()
1309 const Variable& var = *((VarDeclaration&) **varIter).fVar; in optimize()
DSkSLGLSLCodeGenerator.cpp1241 VarDeclaration& var = (VarDeclaration&) *stmt; in writeFunctionCall()
1493 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall()
1500 ((VarDeclaration&) *decl.fVars[0]).fVar->fWriteCount) { in writeFunctionCall()
DSkSLCFGGenerator.cpp493 VarDeclaration& vd = (VarDeclaration&) *stmt; in addStatement()
DSkSLIRGenerator.cpp261 std::vector<std::unique_ptr<VarDeclaration>> variables; in convertVarDeclarations()
337 variables.emplace_back(new VarDeclaration(var.get(), std::move(sizes), in convertVarDeclarations()
594 std::vector<std::unique_ptr<VarDeclaration>> variables; in applyInvocationIDWorkaround()
853 VarDeclaration& vd = (VarDeclaration&) *stmt; in convertInterfaceBlock()
DSkSLInterpreter.cpp164 const Variable* var = ((VarDeclaration&) *decl).fVar; in runStatement()
DSkSLSPIRVCodeGenerator.cpp2679 const VarDeclaration& varDecl = (VarDeclaration&) *decl.fVars[i]; in writeGlobalVars()
2753 VarDeclaration& varDecl = (VarDeclaration&) *stmt; in writeVarDeclarations()
/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp33 const SkSL::Variable& var = *((SkSL::VarDeclaration&) *varStatement).fVar; in GrSkSLFPFactory()
/external/skia/src/gpu/effects/
DGrSkSLFP.cpp35 const SkSL::Variable& var = *((SkSL::VarDeclaration&) *varStatement).fVar; in GrSkSLFPFactory()

12