Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/analysis/
DSkSLGetLoopUnrollInfo.cpp62 const VarDeclaration& initDecl = loopInitializer->as<VarDeclaration>(); in get_es2_loop_unroll_info() local
63 if (!initDecl.baseType().isNumber()) { in get_es2_loop_unroll_info()
66 if (initDecl.arraySize() != 0) { in get_es2_loop_unroll_info()
69 if (!initDecl.value()) { in get_es2_loop_unroll_info()
72 if (!ConstantFolder::GetConstantValue(*initDecl.value(), &loopInfo.fStart)) { in get_es2_loop_unroll_info()
76 loopInfo.fIndex = &initDecl.var(); in get_es2_loop_unroll_info()
173 if (Analysis::StatementWritesToVariable(*loopStatement, initDecl.var())) { in get_es2_loop_unroll_info()