Searched refs:unaryNode (Results 1 – 4 of 4) sorted by relevance
719 if (TIntermUnary *unaryNode = node.getAsUnaryNode()) in Parenthesize() local722 const TType &resultType = unaryNode->getType(); in Parenthesize()723 const TType &argType = unaryNode->getOperand()->getType(); in Parenthesize()724 return IsSymbolicOperator(unaryNode->getOp(), resultType, &argType, nullptr); in Parenthesize()1599 bool GenMetalTraverser::visitUnary(Visit, TIntermUnary *unaryNode) in visitUnary() argument1601 const TOperator op = unaryNode->getOp(); in visitUnary()1602 const TType &resultType = unaryNode->getType(); in visitUnary()1604 TIntermTyped &arg = *unaryNode->getOperand(); in visitUnary()
3876 TIntermUnary* unaryNode = getAsUnaryNode(); in propagatePrecision() local3877 if (unaryNode) { in propagatePrecision()3878 unaryNode->getOperand()->propagatePrecision(newPrecision); in propagatePrecision()
1530 } else if (auto unaryNode = result->getAsUnaryNode()) { in handleBuiltInFunctionCall() local1533 unaryNode->getOperand()->getQualifier().setSpirvByReference(); in handleBuiltInFunctionCall()1535 unaryNode->getOperand()->getQualifier().setSpirvLiteral(); in handleBuiltInFunctionCall()1538 unaryNode->setSpirvInstruction(function.getSpirvInstruction()); in handleBuiltInFunctionCall()1587 if (TIntermUnary* unaryNode = node.getAsUnaryNode()) { in computeBuiltinPrecisions() local1589 unaryNode->getOperand()->getType().getQualifier().precision); in computeBuiltinPrecisions()
9979 const glslang::TIntermUnary* unaryNode = node->getAsUnaryNode(); in isTrivial() local9980 if (binaryNode == nullptr && unaryNode == nullptr) in isTrivial()9987 if (unaryNode && ! isTrivialLeaf(unaryNode->getOperand())) { in isTrivial()