Home
last modified time | relevance | path

Searched refs:fVars (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/src/sksl/ir/
DSkSLVarDeclarations.h76 fVars.push_back(std::unique_ptr<Statement>(var.release())); in VarDeclarations()
82 for (const auto& v : fVars) { in clone()
91 if (!fVars.size()) { in description()
94 String result = ((VarDeclaration&) *fVars[0]).fVar->fModifiers.description() + in description()
97 for (const auto& var : fVars) { in description()
108 std::vector<std::unique_ptr<Statement>> fVars; member
DSkSLVarDeclarationsStatement.h25 for (const auto& s : fDeclaration->fVars) { in isEmpty()
/external/skqp/src/sksl/ir/
DSkSLVarDeclarations.h76 fVars.push_back(std::unique_ptr<Statement>(var.release())); in VarDeclarations()
82 for (const auto& v : fVars) { in clone()
91 if (!fVars.size()) { in description()
94 String result = ((VarDeclaration&) *fVars[0]).fVar->fModifiers.description() + in description()
97 for (const auto& var : fVars) { in description()
108 std::vector<std::unique_ptr<Statement>> fVars; member
DSkSLVarDeclarationsStatement.h25 for (const auto& s : fDeclaration->fVars) { in isEmpty()
/external/skia/src/sksl/
DSkSLInterpreter.cpp48 fVars.emplace_back(); in run()
52 fVars.back()[f.fDeclaration.fParameters[i]] = current; in run()
163 for (const auto& decl :((const VarDeclarationsStatement&) stmt).fDeclaration->fVars) { in runStatement()
166 fVars.back()[var] = pos; in runStatement()
199 SkASSERT(fVars.size()); in getLValue()
200 SkASSERT(fVars.back().find(&((VariableReference&) expr).fVariable) != in getLValue()
201 fVars.back().end()); in getLValue()
202 return fVars.back()[&((VariableReference&) expr).fVariable]; in getLValue()
454 SkASSERT(fVars.size()); in evaluate()
455 SkASSERT(fVars.back().find(&((VariableReference&) expr).fVariable) != in evaluate()
[all …]
DSkSLMetalCodeGenerator.cpp800 if (!decls.fVars.size()) { in writeFunction()
803 for (const auto& stmt: decls.fVars) { in writeFunction()
1096 SkASSERT(decl.fVars.size() > 0); in writeVarDeclarations()
1098 for (const auto& stmt : decl.fVars) { in writeVarDeclarations()
1288 if (!decls.fVars.size()) { in writeUniformStruct()
1291 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeUniformStruct()
1309 for (const auto& stmt : decls.fVars) { in writeUniformStruct()
1327 if (!decls.fVars.size()) { in writeInputStruct()
1330 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeInputStruct()
1336 for (const auto& stmt : decls.fVars) { in writeInputStruct()
[all …]
DSkSLPipelineStageCodeGenerator.cpp89 for (const auto& raw : decls.fVars) { in writeFunctionCall()
144 for (const auto& decl : decls.fVars) { in writeVariableReference()
218 if (!decls.fVars.size()) { in writeProgramElement()
221 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
DSkSLCPPCodeGenerator.cpp383 for (const auto& raw : decls.fVars) { in getChildFPIndex()
521 if (!decls.fVars.size()) { in writeProgramElement()
524 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
577 for (const auto& raw : decls.fVars) { in writePrivateVars()
617 for (const auto& raw : decls.fVars) { in writePrivateVarValues()
843 for (const auto& raw : decls.fVars) { in writeEmitCode()
959 for (const auto& raw : decls.fVars) { in writeSetData()
1149 for (const auto& raw : decls.fVars) { in generateCode()
DSkSLCompiler.cpp435 for (const auto& decl : vd->fDeclaration->fVars) { in compute_start_state()
1202 for (auto varIter = decls.fVars.begin(); varIter != decls.fVars.end();) { in scanCFG()
1204 varIter = decls.fVars.erase(varIter); in scanCFG()
1209 if (!decls.fVars.size()) { in scanCFG()
1308 for (auto varIter = vars.fVars.begin(); varIter != vars.fVars.end();) { in optimize()
1311 varIter = vars.fVars.erase(varIter); in optimize()
1316 if (vars.fVars.size() == 0) { in optimize()
DSkSLInterpreter.h83 std::vector<std::unordered_map<const Variable*, StackIndex>> fVars; variable
DSkSLSectionAndParameterHelper.h46 for (const auto& raw : decls.fVars) { in SectionAndParameterHelper()
DSkSLGLSLCodeGenerator.cpp1236 if (!decl.fVars.size()) { in writeFunctionCall()
1240 for (const auto& stmt : decl.fVars) { in writeFunctionCall()
1492 if (decl.fVars.size() > 0) { in writeFunctionCall()
1493 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall()
1500 ((VarDeclaration&) *decl.fVars[0]).fVar->fWriteCount) { in writeFunctionCall()
/external/skqp/src/sksl/
DSkSLInterpreter.cpp48 fVars.emplace_back(); in run()
52 fVars.back()[f.fDeclaration.fParameters[i]] = current; in run()
163 for (const auto& decl :((const VarDeclarationsStatement&) stmt).fDeclaration->fVars) { in runStatement()
166 fVars.back()[var] = pos; in runStatement()
199 SkASSERT(fVars.size()); in getLValue()
200 SkASSERT(fVars.back().find(&((VariableReference&) expr).fVariable) != in getLValue()
201 fVars.back().end()); in getLValue()
202 return fVars.back()[&((VariableReference&) expr).fVariable]; in getLValue()
454 SkASSERT(fVars.size()); in evaluate()
455 SkASSERT(fVars.back().find(&((VariableReference&) expr).fVariable) != in evaluate()
[all …]
DSkSLMetalCodeGenerator.cpp654 if (!decls.fVars.size()) { in writeFunction()
657 for (const auto& stmt: decls.fVars) { in writeFunction()
952 SkASSERT(decl.fVars.size() > 0); in writeVarDeclarations()
954 for (const auto& stmt : decl.fVars) { in writeVarDeclarations()
1144 if (!decls.fVars.size()) { in writeUniformStruct()
1147 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeUniformStruct()
1165 for (const auto& stmt : decls.fVars) { in writeUniformStruct()
1183 if (!decls.fVars.size()) { in writeInputStruct()
1186 const Variable& first = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeInputStruct()
1192 for (const auto& stmt : decls.fVars) { in writeInputStruct()
[all …]
DSkSLPipelineStageCodeGenerator.cpp88 for (const auto& raw : decls.fVars) { in writeFunctionCall()
143 for (const auto& decl : decls.fVars) { in writeVariableReference()
217 if (!decls.fVars.size()) { in writeProgramElement()
220 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
DSkSLCPPCodeGenerator.cpp356 for (const auto& raw : decls.fVars) { in getChildFPIndex()
479 if (!decls.fVars.size()) { in writeProgramElement()
482 const Variable& var = *((VarDeclaration&) *decls.fVars[0]).fVar; in writeProgramElement()
545 for (const auto& raw : decls.fVars) { in writePrivateVars()
585 for (const auto& raw : decls.fVars) { in writePrivateVarValues()
810 for (const auto& raw : decls.fVars) { in writeEmitCode()
926 for (const auto& raw : decls.fVars) { in writeSetData()
1107 for (const auto& raw : decls.fVars) { in generateCode()
DSkSLInterpreter.h83 std::vector<std::unordered_map<const Variable*, StackIndex>> fVars; variable
DSkSLGLSLCodeGenerator.cpp1209 if (!decl.fVars.size()) { in writeFunctionCall()
1213 for (const auto& stmt : decl.fVars) { in writeFunctionCall()
1465 if (decl.fVars.size() > 0) { in writeFunctionCall()
1466 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall()
1473 ((VarDeclaration&) *decl.fVars[0]).fVar->fWriteCount) { in writeFunctionCall()
DSkSLSectionAndParameterHelper.h46 for (const auto& raw : decls.fVars) { in SectionAndParameterHelper()
DSkSLCompiler.cpp435 for (const auto& decl : vd->fDeclaration->fVars) { in compute_start_state()
1202 for (auto varIter = decls.fVars.begin(); varIter != decls.fVars.end();) { in scanCFG()
1204 varIter = decls.fVars.erase(varIter); in scanCFG()
1209 if (!decls.fVars.size()) { in scanCFG()
DSkSLCFGGenerator.cpp488 for (auto& stmt : decls.fDeclaration->fVars) { in addStatement()
/external/skia/src/sksl/ast/
DSkSLASTVarDeclaration.h66 , fVars(std::move(vars)) {} in ASTVarDeclarations()
71 for (const auto& var : fVars) { in description()
81 const std::vector<ASTVarDeclaration> fVars; member
/external/skqp/src/sksl/ast/
DSkSLASTVarDeclaration.h66 , fVars(std::move(vars)) {} in ASTVarDeclarations()
71 for (const auto& var : fVars) { in description()
81 const std::vector<ASTVarDeclaration> fVars; member
/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp32 for (const auto& varStatement : v.fVars) { in GrSkSLFPFactory()
/external/skia/src/gpu/effects/
DGrSkSLFP.cpp34 for (const auto& varStatement : v.fVars) { in GrSkSLFPFactory()

12