Home
last modified time | relevance | path

Searched refs:parentAsBinary (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/
DRecordConstantPrecision.cpp57 const TIntermBinary *parentAsBinary = getParentNode()->getAsBinaryNode(); in operandAffectsParentOperationPrecision() local
58 if (parentAsBinary != nullptr) in operandAffectsParentOperationPrecision()
62 switch (parentAsBinary->getOp()) in operandAffectsParentOperationPrecision()
75 TIntermTyped *otherOperand = parentAsBinary->getRight(); in operandAffectsParentOperationPrecision()
78 otherOperand = parentAsBinary->getLeft(); in operandAffectsParentOperationPrecision()
DRewriteAtomicFunctionExpressions.cpp134 auto *parentAsBinary = parentNode->getAsBinaryNode(); in IsAtomicFunctionInsideExpression() local
136 return !parentAsBinary || parentAsBinary->getOp() != EOpAssign; in IsAtomicFunctionInsideExpression()