Home
last modified time | relevance | path

Searched refs:unaryNode (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DEmitMetal.cpp719 if (TIntermUnary *unaryNode = node.getAsUnaryNode()) in Parenthesize() local
722 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() argument
1601 const TOperator op = unaryNode->getOp(); in visitUnary()
1602 const TType &resultType = unaryNode->getType(); in visitUnary()
1604 TIntermTyped &arg = *unaryNode->getOperand(); in visitUnary()
/third_party/glslang/glslang/MachineIndependent/
DIntermediate.cpp3876 TIntermUnary* unaryNode = getAsUnaryNode(); in propagatePrecision() local
3877 if (unaryNode) { in propagatePrecision()
3878 unaryNode->getOperand()->propagatePrecision(newPrecision); in propagatePrecision()
DParseHelper.cpp1530 } else if (auto unaryNode = result->getAsUnaryNode()) { in handleBuiltInFunctionCall() local
1533 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() local
1589 unaryNode->getOperand()->getType().getQualifier().precision); in computeBuiltinPrecisions()
/third_party/glslang/SPIRV/
DGlslangToSpv.cpp9979 const glslang::TIntermUnary* unaryNode = node->getAsUnaryNode(); in isTrivial() local
9980 if (binaryNode == nullptr && unaryNode == nullptr) in isTrivial()
9987 if (unaryNode && ! isTrivialLeaf(unaryNode->getOperand())) { in isTrivial()