Lines Matching refs:requirements

228     if (this->requirements(c.fFunction) & kInputs_Requirement) {  in writeFunctionCall()
232 if (this->requirements(c.fFunction) & kOutputs_Requirement) { in writeFunctionCall()
237 if (this->requirements(c.fFunction) & kUniforms_Requirement) { in writeFunctionCall()
242 if (this->requirements(c.fFunction) & kGlobals_Requirement) { in writeFunctionCall()
856 if (this->requirements(f.fDeclaration) & kInputs_Requirement) { in writeFunction()
860 if (this->requirements(f.fDeclaration) & kOutputs_Requirement) { in writeFunction()
865 if (this->requirements(f.fDeclaration) & kUniforms_Requirement) { in writeFunction()
870 if (this->requirements(f.fDeclaration) & kGlobals_Requirement) { in writeFunction()
1506 MetalCodeGenerator::Requirements MetalCodeGenerator::requirements(const Expression& e) { in requirements() function in SkSL::MetalCodeGenerator
1510 Requirements result = this->requirements(f.fFunction); in requirements()
1512 result |= this->requirements(*e); in requirements()
1520 result |= this->requirements(*e); in requirements()
1529 return this->requirements(*((const FieldAccess&) e).fBase); in requirements()
1532 return this->requirements(*((const Swizzle&) e).fBase); in requirements()
1535 return this->requirements(*b.fLeft) | this->requirements(*b.fRight); in requirements()
1539 return this->requirements(*idx.fBase) | this->requirements(*idx.fIndex); in requirements()
1542 return this->requirements(*((const PrefixExpression&) e).fOperand); in requirements()
1544 return this->requirements(*((const PostfixExpression&) e).fOperand); in requirements()
1547 return this->requirements(*t.fTest) | this->requirements(*t.fIfTrue) | in requirements()
1548 this->requirements(*t.fIfFalse); in requirements()
1574 MetalCodeGenerator::Requirements MetalCodeGenerator::requirements(const Statement& s) { in requirements() function in SkSL::MetalCodeGenerator
1579 result |= this->requirements(*child); in requirements()
1587 result = this->requirements(*var.fValue); in requirements()
1595 result |= this->requirements(*stmt); in requirements()
1600 return this->requirements(*((const ExpressionStatement&) s).fExpression); in requirements()
1604 return this->requirements(*r.fExpression); in requirements()
1610 return this->requirements(*i.fTest) | in requirements()
1611 this->requirements(*i.fIfTrue) | in requirements()
1612 (i.fIfFalse && this->requirements(*i.fIfFalse)); in requirements()
1616 return this->requirements(*f.fInitializer) | in requirements()
1617 this->requirements(*f.fTest) | in requirements()
1618 this->requirements(*f.fNext) | in requirements()
1619 this->requirements(*f.fStatement); in requirements()
1623 return this->requirements(*w.fTest) | in requirements()
1624 this->requirements(*w.fStatement); in requirements()
1628 return this->requirements(*d.fTest) | in requirements()
1629 this->requirements(*d.fStatement); in requirements()
1633 Requirements result = this->requirements(*sw.fValue); in requirements()
1636 result |= this->requirements(*st); in requirements()
1646 MetalCodeGenerator::Requirements MetalCodeGenerator::requirements(const FunctionDeclaration& f) { in requirements() function in SkSL::MetalCodeGenerator
1656 Requirements reqs = this->requirements(*def.fBody); in requirements()