Home
last modified time | relevance | path

Searched refs:binaryNode (Results 1 – 25 of 27) sorted by relevance

12

/external/angle/src/compiler/translator/hlsl/
DShaderStorageBlockOutputHLSL.cpp54 TIntermBinary *binaryNode = node->getAsBinaryNode(); in GetBlockLayoutInfo() local
55 if (binaryNode) in GetBlockLayoutInfo()
57 switch (binaryNode->getOp()) in GetBlockLayoutInfo()
67 return GetBlockLayoutInfo(binaryNode->getLeft(), true, storage, rowMajor); in GetBlockLayoutInfo()
72 return GetBlockLayoutInfo(binaryNode->getLeft(), rowMajorAlreadyAssigned, storage, in GetBlockLayoutInfo()
391 TIntermBinary *binaryNode = node->getAsBinaryNode(); in getMatrixStride() local
392 if (binaryNode) in getMatrixStride()
394 return getMatrixStride(binaryNode->getLeft(), storage, rowMajor, isRowMajorMatrix); in getMatrixStride()
417 TIntermBinary *binaryNode = node->getAsBinaryNode(); in collectShaderStorageBlocks() local
418 if (binaryNode) in collectShaderStorageBlocks()
[all …]
DOutputHLSL.cpp68 TIntermBinary *binaryNode = node->getAsBinaryNode(); in IsInStd140UniformBlock() local
70 if (binaryNode) in IsInStd140UniformBlock()
72 return IsInStd140UniformBlock(binaryNode->getLeft()); in IsInStd140UniformBlock()
92 const TIntermBinary *binaryNode = node->getAsBinaryNode(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator() local
93 if (binaryNode) in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
95 if (binaryNode->getOp() == EOpIndexDirectInterfaceBlock) in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
97 return binaryNode->getLeft()->getType().getInterfaceBlock(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
/external/angle/src/compiler/translator/tree_ops/msl/
DRewriteInterpolants.cpp87 const TIntermBinary *binaryNode = operand->getAsBinaryNode(); in visitAggregate() local
88 if (binaryNode && in visitAggregate()
89 (binaryNode->getOp() == EOpIndexDirect || binaryNode->getOp() == EOpIndexIndirect)) in visitAggregate()
91 symbolNode = binaryNode->getLeft()->getAsSymbolNode(); in visitAggregate()
179 if (TIntermBinary *binaryNode = ancestor->getAsBinaryNode()) in visitSymbol() local
181 if (binaryNode->getOp() == EOpIndexDirect || binaryNode->getOp() == EOpIndexIndirect) in visitSymbol()
187 if (checkSkip(binaryNode, ancestor)) in visitSymbol()
191 original = binaryNode; in visitSymbol()
DRewriteUnaddressableReferences.cpp226 PostResult visitBinaryPost(TIntermBinary &binaryNode) override in visitBinaryPost() argument
228 const TOperator op = binaryNode.getOp(); in visitBinaryPost()
231 TIntermTyped &left = *binaryNode.getLeft(); in visitBinaryPost()
234 return DecomposeCompoundAssignment(binaryNode); in visitBinaryPost()
237 return binaryNode; in visitBinaryPost()
315 PreResult visitBinaryPre(TIntermBinary &binaryNode) override in visitBinaryPre() argument
317 const TOperator op = binaryNode.getOp(); in visitBinaryPre()
319 const bool isAccess = IsVectorAccess(binaryNode); in visitBinaryPre()
339 TIntermTyped &leftNode = *binaryNode.getLeft(); in visitBinaryPre()
340 TIntermTyped &rightNode = *binaryNode.getRight(); in visitBinaryPre()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseContextBase.cpp131 TIntermBinary* binaryNode = node->getAsBinaryNode(); in lValueErrorCheck() local
187 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
198 if (binaryNode) { in lValueErrorCheck()
199 switch (binaryNode->getOp()) { in lValueErrorCheck()
205 return lValueErrorCheck(loc, op, binaryNode->getLeft()); in lValueErrorCheck()
224 if (binaryNode && binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct) in lValueErrorCheck()
241 TIntermBinary* binaryNode = node->getAsBinaryNode(); in rValueErrorCheck() local
249 else if (binaryNode && in rValueErrorCheck()
250 (binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct || in rValueErrorCheck()
251 binaryNode->getAsOperator()->getOp() == EOpIndexDirect)) in rValueErrorCheck()
[all …]
DParseHelper.cpp618 TIntermBinary* binaryNode = base->getAsBinaryNode(); in handleBracketDereference() local
619 if (binaryNode) { in handleBracketDereference()
620 TType& leftType = binaryNode->getLeft()->getWritableType(); in handleBracketDereference()
1035 auto binaryNode = baseSymbol->getAsBinaryNode(); in handleDotDereference() local
1036 if (binaryNode == nullptr) break; in handleDotDereference()
1037 baseSymbol = binaryNode->getLeft(); in handleDotDereference()
3028 TIntermBinary* binaryNode = node->getAsBinaryNode(); in lValueErrorCheck() local
3030 if (binaryNode) { in lValueErrorCheck()
3033 switch(binaryNode->getOp()) { in lValueErrorCheck()
3042 const TType& leftType = binaryNode->getLeft()->getType(); in lValueErrorCheck()
[all …]
DIntermediate.cpp3841 TIntermBinary* binaryNode = getAsBinaryNode(); in propagatePrecision() local
3842 if (binaryNode) { in propagatePrecision()
3843 binaryNode->getLeft()->propagatePrecision(newPrecision); in propagatePrecision()
3844 binaryNode->getRight()->propagatePrecision(newPrecision); in propagatePrecision()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseContextBase.cpp131 TIntermBinary* binaryNode = node->getAsBinaryNode(); in lValueErrorCheck() local
187 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck()
198 if (binaryNode) { in lValueErrorCheck()
199 switch (binaryNode->getOp()) { in lValueErrorCheck()
205 return lValueErrorCheck(loc, op, binaryNode->getLeft()); in lValueErrorCheck()
224 if (binaryNode && binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct) in lValueErrorCheck()
241 TIntermBinary* binaryNode = node->getAsBinaryNode(); in rValueErrorCheck() local
249 else if (binaryNode && in rValueErrorCheck()
250 (binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct || in rValueErrorCheck()
251 binaryNode->getAsOperator()->getOp() == EOpIndexDirect)) in rValueErrorCheck()
[all …]
DParseHelper.cpp618 TIntermBinary* binaryNode = base->getAsBinaryNode(); in handleBracketDereference() local
619 if (binaryNode) { in handleBracketDereference()
620 TType& leftType = binaryNode->getLeft()->getWritableType(); in handleBracketDereference()
1035 auto binaryNode = baseSymbol->getAsBinaryNode(); in handleDotDereference() local
1036 if (binaryNode == nullptr) break; in handleDotDereference()
1037 baseSymbol = binaryNode->getLeft(); in handleDotDereference()
3029 TIntermBinary* binaryNode = node->getAsBinaryNode(); in lValueErrorCheck() local
3031 if (binaryNode) { in lValueErrorCheck()
3034 switch(binaryNode->getOp()) { in lValueErrorCheck()
3043 const TType& leftType = binaryNode->getLeft()->getType(); in lValueErrorCheck()
[all …]
DIntermediate.cpp3859 TIntermBinary* binaryNode = getAsBinaryNode(); in propagatePrecision() local
3860 if (binaryNode) { in propagatePrecision()
3861 binaryNode->getLeft()->propagatePrecision(newPrecision); in propagatePrecision()
3862 binaryNode->getRight()->propagatePrecision(newPrecision); in propagatePrecision()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DContainerNode.java140 public final BinaryNode binaryNode(byte[] data) { return _nodeFactory.binaryNode(data); } in binaryNode() method in ContainerNode
142 …public final BinaryNode binaryNode(byte[] data, int offset, int length) { return _nodeFactory.bina… in binaryNode() method in ContainerNode
DJsonNodeCreator.java48 public ValueNode binaryNode(byte[] data); in binaryNode() method
49 public ValueNode binaryNode(byte[] data, int offset, int length); in binaryNode() method
DJsonNodeFactory.java302 public BinaryNode binaryNode(byte[] data) { return BinaryNode.valueOf(data); } in binaryNode() method in JsonNodeFactory
310 public BinaryNode binaryNode(byte[] data, int offset, int length) { in binaryNode() method in JsonNodeFactory
DArrayNode.java601 return _add(binaryNode(v)); in add()
827 return _insert(index, binaryNode(v)); in insert()
DObjectNode.java853 : binaryNode(v)); in put()
/external/angle/src/compiler/translator/tree_util/
DReplaceShadowingVariables.cpp87 TIntermBinary *binaryNode = declVector->getAsBinaryNode(); in visitDeclaration() local
88 ASSERT(binaryNode->getOp() == EOpInitialize); in visitDeclaration()
89 symNode = binaryNode->getLeft()->getAsSymbolNode(); in visitDeclaration()
/external/angle/src/compiler/translator/tree_ops/glsl/apple/
DRewriteRowMajorMatrices.cpp94 TIntermBinary *binaryNode = node->getAsBinaryNode(); in IsIndexNode() local
95 if (binaryNode == nullptr || child != binaryNode->getLeft()) in IsIndexNode()
100 TOperator op = binaryNode->getOp(); in IsIndexNode()
146 TIntermBinary *binaryNode = node->getAsBinaryNode(); in GetIndex() local
147 ASSERT(binaryNode); in GetIndex()
149 TOperator op = binaryNode->getOp(); in GetIndex()
153 TIntermTyped *rhs = binaryNode->getRight()->deepCopy(); in GetIndex()
174 TIntermBinary *binaryNode = node->getAsBinaryNode(); in ReplicateIndexNode() local
175 ASSERT(binaryNode); in ReplicateIndexNode()
180 return new TIntermBinary(binaryNode->getOp(), lhs, rhs); in ReplicateIndexNode()
/external/angle/src/compiler/translator/msl/
DEmitMetal.cpp727 TIntermBinary *binaryNode = node.getAsBinaryNode(); in AsSpecificBinaryNode() local
728 if (binaryNode) in AsSpecificBinaryNode()
730 return binaryNode->getOp() == op ? binaryNode : nullptr; in AsSpecificBinaryNode()
762 if (TIntermBinary *binaryNode = node.getAsBinaryNode()) in Parenthesize() local
765 const TOperator op = binaryNode->getOp(); in Parenthesize()
772 return Parenthesize(*binaryNode->getLeft()); in Parenthesize()
776 return AsSpecificBinaryNode(*binaryNode->getRight(), TOperator::EOpComma); in Parenthesize()
780 const TType &resultType = binaryNode->getType(); in Parenthesize()
781 const TType &leftType = binaryNode->getLeft()->getType(); in Parenthesize()
782 const TType &rightType = binaryNode->getRight()->getType(); in Parenthesize()
[all …]
/external/angle/src/compiler/translator/
Dutil.cpp831 TIntermBinary *binaryNode = node->getAsBinaryNode(); in IsInShaderStorageBlock() local
832 if (binaryNode) in IsInShaderStorageBlock()
834 switch (binaryNode->getOp()) in IsInShaderStorageBlock()
840 return IsInShaderStorageBlock(binaryNode->getLeft()); in IsInShaderStorageBlock()
DCollectVariables.cpp137 bool visitBinary(Visit visit, TIntermBinary *binaryNode) override;
1207 bool CollectVariablesTraverser::visitBinary(Visit, TIntermBinary *binaryNode) in visitBinary() argument
1209 if (binaryNode->getOp() == EOpIndexDirectInterfaceBlock) in visitBinary()
1212 TIntermTyped *blockNode = binaryNode->getLeft()->getAsTyped(); in visitBinary()
1215 TIntermConstantUnion *constantUnion = binaryNode->getRight()->getAsConstantUnion(); in visitBinary()
DParseContext.cpp552 TIntermBinary *binaryNode = node->getAsBinaryNode(); in markStaticReadIfSymbol() local
553 if (binaryNode) in markStaticReadIfSymbol()
555 switch (binaryNode->getOp()) in markStaticReadIfSymbol()
561 markStaticReadIfSymbol(binaryNode->getLeft()); in markStaticReadIfSymbol()
590 TIntermBinary *binaryNode = node->getAsBinaryNode(); in checkCanBeLValue() local
591 if (binaryNode) in checkCanBeLValue()
593 switch (binaryNode->getOp()) in checkCanBeLValue()
604 return checkCanBeLValue(line, op, binaryNode->getLeft()); in checkCanBeLValue()
744 ASSERT(binaryNode == nullptr && swizzleNode == nullptr); in checkCanBeLValue()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DToStringForNodesTest.java29 _verifyToStrings(MAPPER.getNodeFactory().binaryNode(new byte[] { 1, 2, 3, 4, 6 })); in testBinaryNode()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonNodeDeserializer.java630 return nodeFactory.binaryNode((byte[]) ob); in _fromEmbedded()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp2857 const TIntermBinary* binaryNode = node->getAsBinaryNode(); in handleAssign() local
2859 if (binaryNode == nullptr) in handleAssign()
2862 return (binaryNode->getOp() == EOpIndexDirect || binaryNode->getOp() == EOpIndexIndirect) && in handleAssign()
2863 wasSplit(binaryNode->getLeft()); in handleAssign()
2872 const TIntermBinary* binaryNode = node->getAsBinaryNode(); in handleAssign() local
2873 …if (binaryNode != nullptr && (binaryNode->getOp() == EOpIndexDirect || binaryNode->getOp() == EOpI… in handleAssign()
2874 return binaryNode->getLeft()->getAsSymbolNode(); in handleAssign()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp2857 const TIntermBinary* binaryNode = node->getAsBinaryNode(); in handleAssign() local
2859 if (binaryNode == nullptr) in handleAssign()
2862 return (binaryNode->getOp() == EOpIndexDirect || binaryNode->getOp() == EOpIndexIndirect) && in handleAssign()
2863 wasSplit(binaryNode->getLeft()); in handleAssign()
2872 const TIntermBinary* binaryNode = node->getAsBinaryNode(); in handleAssign() local
2873 …if (binaryNode != nullptr && (binaryNode->getOp() == EOpIndexDirect || binaryNode->getOp() == EOpI… in handleAssign()
2874 return binaryNode->getLeft()->getAsSymbolNode(); in handleAssign()

12