Lines Matching defs:right
631 // We shouldn't have any runtime-sized arrays right now
1966 // a virtual vector out of the concatenation of the left and right vectors, and then
1991 // the correct component of the right side instead of preserving the
2589 // Get the left and right item in the array.
2615 // Get the left and right versions of this field.
2658 static float division_by_literal_value(Operator op, const Expression& right) {
2660 if (op.kind() == Token::Kind::TK_SLASH && right.isFloatLiteral()) {
2661 float rhsValue = right.as<Literal>().floatValue();
2671 const Expression* right = b.right().get();
2677 SpvId rhs = this->writeExpression(*right, out);
2683 return this->writeLogicalAnd(*b.left(), *b.right(), out);
2687 return this->writeLogicalOr(*b.left(), *b.right(), out);
2704 float rhsValue = division_by_literal_value(op, *right);
2710 rhs = this->writeLiteral(1.0 / rhsValue, right->type());
2712 // Write the right-hand side expression normally.
2713 rhs = this->writeExpression(*right, out);
2717 right->type(), rhs, b.type(), out);
2724 SpvId SPIRVCodeGenerator::writeLogicalAnd(const Expression& left, const Expression& right,
2734 SpvId rhs = this->writeExpression(right, out);
2744 SpvId SPIRVCodeGenerator::writeLogicalOr(const Expression& left, const Expression& right,
2754 SpvId rhs = this->writeExpression(right, out);