Lines Matching refs:writeExpression
114 void MetalCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression() function in SkSL::MetalCodeGenerator
173 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeIntrinsicCall()
190 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeIntrinsicCall()
245 this->writeExpression(arg, kSequence_Precedence); in writeFunctionCall()
269 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeSpecialIntrinsic()
271 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeSpecialIntrinsic()
274 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeSpecialIntrinsic()
285 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeSpecialIntrinsic()
287 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeSpecialIntrinsic()
289 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeSpecialIntrinsic()
291 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeSpecialIntrinsic()
366 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeConstructor()
374 this->writeExpression(arg, kSequence_Precedence); in writeConstructor()
394 this->writeExpression(*arg, kSequence_Precedence); in writeConstructor()
446 this->writeExpression(*expr.fBase, kPostfix_Precedence); in writeIndexExpression()
448 this->writeExpression(*expr.fIndex, kTopLevel_Precedence); in writeIndexExpression()
455 this->writeExpression(*f.fBase, kPostfix_Precedence); in writeFieldAccess()
480 this->writeExpression(*swizzle.fBase, kPostfix_Precedence); in writeSwizzle()
541 this->writeExpression(*b.fLeft, precedence); in writeBinaryExpression()
551 this->writeExpression(*b.fLeft, kAssignment_Precedence); in writeBinaryExpression()
560 this->writeExpression(*b.fRight, precedence); in writeBinaryExpression()
571 this->writeExpression(*t.fTest, kTernary_Precedence); in writeTernaryExpression()
573 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeTernaryExpression()
575 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeTernaryExpression()
587 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writePrefixExpression()
598 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writePostfixExpression()
859 this->writeExpression(*size, kTopLevel_Precedence); in writeInterfaceBlock()
941 this->writeExpression(value, kTopLevel_Precedence); in writeVarInitializer()
971 this->writeExpression(*size, kTopLevel_Precedence); in writeVarDeclarations()
999 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeStatement()
1059 this->writeExpression(*stmt.fTest, kTopLevel_Precedence); in writeIfStatement()
1076 this->writeExpression(*f.fTest, kTopLevel_Precedence); in writeForStatement()
1080 this->writeExpression(*f.fNext, kTopLevel_Precedence); in writeForStatement()
1088 this->writeExpression(*w.fTest, kTopLevel_Precedence); in writeWhileStatement()
1097 this->writeExpression(*d.fTest, kTopLevel_Precedence); in writeDoStatement()
1103 this->writeExpression(*s.fValue, kTopLevel_Precedence); in writeSwitchStatement()
1109 this->writeExpression(*c->fValue, kTopLevel_Precedence); in writeSwitchStatement()
1129 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeReturnStatement()