Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/analysis/
DSkSLGetLoopUnrollInfo.cpp52 LoopUnrollInfo& loopInfo) { in get_es2_loop_unroll_info() argument
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()
80 expr->as<VariableReference>().variable() == loopInfo.fIndex; in get_es2_loop_unroll_info()
131 if (!ConstantFolder::GetConstantValue(*next.right(), &loopInfo.fDelta)) { in get_es2_loop_unroll_info()
136 case Token::Kind::TK_MINUSEQ: loopInfo.fDelta = -loopInfo.fDelta; break; in get_es2_loop_unroll_info()
147 case Token::Kind::TK_PLUSPLUS: loopInfo.fDelta = 1; break; in get_es2_loop_unroll_info()
148 case Token::Kind::TK_MINUSMINUS: loopInfo.fDelta = -1; break; in get_es2_loop_unroll_info()
159 case Token::Kind::TK_PLUSPLUS: loopInfo.fDelta = 1; break; in get_es2_loop_unroll_info()
160 case Token::Kind::TK_MINUSMINUS: loopInfo.fDelta = -1; break; in get_es2_loop_unroll_info()
[all …]