Lines Matching refs:fKind
256 switch (lvalue->fKind) { in addDefinition()
307 switch (node.fKind) { in addDefinitions()
311 switch (expr->fKind) { in addDefinitions()
373 if (stmt->fKind == Statement::kVarDeclaration_Kind) { in addDefinitions()
430 if (node.fKind == BasicBlock::Node::kStatement_Kind) { in compute_start_state()
433 if (s->fKind == Statement::kVarDeclarations_Kind) { in compute_start_state()
436 if (decl->fKind == Statement::kVarDeclaration_Kind) { in compute_start_state()
451 switch (lvalue.fKind) { in is_dead()
518 switch (expr.fKind) { in is_constant()
550 SkASSERT((*target)->fKind == Expression::kBinary_Kind); in delete_left()
569 if ((*iter)->fKind != BasicBlock::Node::kExpression_Kind || in delete_left()
588 SkASSERT((*target)->fKind == Expression::kBinary_Kind); in delete_right()
602 if (((*iter)->fKind != BasicBlock::Node::kExpression_Kind || in delete_right()
631 SkASSERT((*(*iter)->expression())->fKind == Expression::kBinary_Kind); in vectorize()
673 switch (expr.fKind) { in clear_write()
709 SkASSERT((*iter)->fKind == BasicBlock::Node::kExpression_Kind); in simplifyExpression()
713 switch (expr->fKind) { in simplifyExpression()
729 if (t->fTest->fKind == Expression::kBoolLiteral_Kind) { in simplifyExpression()
915 switch (s.fKind) { in contains_conditional_break()
938 switch (s.fKind) { in contains_unconditional_break()
967 if (contains_conditional_break(*stmt, s->fKind == Statement::kIf_Kind)) { in block_for_case()
995 switch (stmt->fKind) { in simplifyStatement()
1014 if (i.fTest->fKind == Expression::kBoolLiteral_Kind) { in simplifyStatement()
1063 SkASSERT(c->fValue->fKind == s.fValue->fKind); in simplifyStatement()
1131 switch (cfg.fBlocks[i].fNodes[0].fKind) { in scanCFG()
1162 if (iter->fKind == BasicBlock::Node::kExpression_Kind) { in scanCFG()
1183 if (iter->fKind == BasicBlock::Node::kStatement_Kind) { in scanCFG()
1185 switch (s.fKind) { in scanCFG()
1203 if ((*varIter)->fKind == Statement::kNop_Kind) { in scanCFG()
1272 if (element->fKind == ProgramElement::kEnum_Kind) { in convertProgram()
1297 fIRGenerator->fKind = program.fKind; in optimize()
1300 if (element.fKind == ProgramElement::kFunction_Kind) { in optimize()
1321 std::unique_ptr<Program> result(new Program(program.fKind, in specialize()