/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ShaderStorageBlockOutputHLSL.cpp | 51 TIntermBinary *binaryNode = node->getAsBinaryNode(); in GetBlockLayoutInfo() local 52 if (binaryNode) in GetBlockLayoutInfo() 54 switch (binaryNode->getOp()) in GetBlockLayoutInfo() 64 return GetBlockLayoutInfo(binaryNode->getLeft(), true, storage, rowMajor); in GetBlockLayoutInfo() 69 return GetBlockLayoutInfo(binaryNode->getLeft(), rowMajorAlreadyAssigned, storage, in GetBlockLayoutInfo() 388 TIntermBinary *binaryNode = node->getAsBinaryNode(); in getMatrixStride() local 389 if (binaryNode) in getMatrixStride() 391 return getMatrixStride(binaryNode->getLeft(), storage, rowMajor, isRowMajorMatrix); in getMatrixStride() 414 TIntermBinary *binaryNode = node->getAsBinaryNode(); in collectShaderStorageBlocks() local 415 if (binaryNode) in collectShaderStorageBlocks() [all …]
|
D | util.cpp | 809 TIntermBinary *binaryNode = node->getAsBinaryNode(); in IsInShaderStorageBlock() local 810 if (binaryNode) in IsInShaderStorageBlock() 812 switch (binaryNode->getOp()) in IsInShaderStorageBlock() 818 return IsInShaderStorageBlock(binaryNode->getLeft()); in IsInShaderStorageBlock()
|
D | CollectVariables.cpp | 135 bool visitBinary(Visit visit, TIntermBinary *binaryNode) override; 1170 bool CollectVariablesTraverser::visitBinary(Visit, TIntermBinary *binaryNode) in visitBinary() argument 1172 if (binaryNode->getOp() == EOpIndexDirectInterfaceBlock) in visitBinary() 1175 TIntermTyped *blockNode = binaryNode->getLeft()->getAsTyped(); in visitBinary() 1178 TIntermConstantUnion *constantUnion = binaryNode->getRight()->getAsConstantUnion(); in visitBinary()
|
D | OutputHLSL.cpp | 67 TIntermBinary *binaryNode = node->getAsBinaryNode(); in IsInStd140UniformBlock() local 69 if (binaryNode) in IsInStd140UniformBlock() 71 return IsInStd140UniformBlock(binaryNode->getLeft()); in IsInStd140UniformBlock() 91 const TIntermBinary *binaryNode = node->getAsBinaryNode(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator() local 92 if (binaryNode) in GetInterfaceBlockOfUniformBlockNearestIndexOperator() 94 if (binaryNode->getOp() == EOpIndexDirectInterfaceBlock) in GetInterfaceBlockOfUniformBlockNearestIndexOperator() 96 return binaryNode->getLeft()->getType().getInterfaceBlock(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
|
D | ParseContext.cpp | 488 TIntermBinary *binaryNode = node->getAsBinaryNode(); in markStaticReadIfSymbol() local 489 if (binaryNode) in markStaticReadIfSymbol() 491 switch (binaryNode->getOp()) in markStaticReadIfSymbol() 497 markStaticReadIfSymbol(binaryNode->getLeft()); in markStaticReadIfSymbol() 526 TIntermBinary *binaryNode = node->getAsBinaryNode(); in checkCanBeLValue() local 527 if (binaryNode) in checkCanBeLValue() 529 switch (binaryNode->getOp()) in checkCanBeLValue() 540 return checkCanBeLValue(line, op, binaryNode->getLeft()); in checkCanBeLValue() 675 ASSERT(binaryNode == nullptr && swizzleNode == nullptr); in checkCanBeLValue()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | RewriteUnaddressableReferences.cpp | 226 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 …]
|
D | EmitMetal.cpp | 692 TIntermBinary *binaryNode = node.getAsBinaryNode(); in AsSpecificBinaryNode() local 693 if (binaryNode) in AsSpecificBinaryNode() 695 return binaryNode->getOp() == op ? binaryNode : nullptr; in AsSpecificBinaryNode() 727 if (TIntermBinary *binaryNode = node.getAsBinaryNode()) in Parenthesize() local 730 const TOperator op = binaryNode->getOp(); in Parenthesize() 737 return Parenthesize(*binaryNode->getLeft()); in Parenthesize() 741 return AsSpecificBinaryNode(*binaryNode->getRight(), TOperator::EOpComma); in Parenthesize() 745 const TType &resultType = binaryNode->getType(); in Parenthesize() 746 const TType &leftType = binaryNode->getLeft()->getType(); in Parenthesize() 747 const TType &rightType = binaryNode->getRight()->getType(); in Parenthesize() [all …]
|
/third_party/glslang/glslang/MachineIndependent/ |
D | ParseContextBase.cpp | 127 TIntermBinary* binaryNode = node->getAsBinaryNode(); in lValueErrorCheck() local 179 if (message == nullptr && binaryNode == nullptr && symNode == nullptr) { in lValueErrorCheck() 190 if (binaryNode) { in lValueErrorCheck() 191 switch (binaryNode->getOp()) { in lValueErrorCheck() 197 return lValueErrorCheck(loc, op, binaryNode->getLeft()); in lValueErrorCheck() 216 if (binaryNode && binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct) in lValueErrorCheck() 233 TIntermBinary* binaryNode = node->getAsBinaryNode(); in rValueErrorCheck() local 241 else if (binaryNode && in rValueErrorCheck() 242 (binaryNode->getAsOperator()->getOp() == EOpIndexDirectStruct || in rValueErrorCheck() 243 binaryNode->getAsOperator()->getOp() == EOpIndexDirect)) in rValueErrorCheck() [all …]
|
D | ParseHelper.cpp | 603 TIntermBinary* binaryNode = base->getAsBinaryNode(); in handleBracketDereference() local 604 if (binaryNode) { in handleBracketDereference() 605 TType& leftType = binaryNode->getLeft()->getWritableType(); in handleBracketDereference() 1019 auto binaryNode = baseSymbol->getAsBinaryNode(); in handleDotDereference() local 1020 if (binaryNode == nullptr) break; in handleDotDereference() 1021 baseSymbol = binaryNode->getLeft(); in handleDotDereference() 3078 TIntermBinary* binaryNode = node->getAsBinaryNode(); in lValueErrorCheck() local 3080 if (binaryNode) { in lValueErrorCheck() 3083 switch(binaryNode->getOp()) { in lValueErrorCheck() 3091 const TType& leftType = binaryNode->getLeft()->getType(); in lValueErrorCheck() [all …]
|
D | Intermediate.cpp | 3868 TIntermBinary* binaryNode = getAsBinaryNode(); in propagatePrecision() local 3869 if (binaryNode) { in propagatePrecision() 3870 binaryNode->getLeft()->propagatePrecision(newPrecision); in propagatePrecision() 3871 binaryNode->getRight()->propagatePrecision(newPrecision); in propagatePrecision()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | ReplaceShadowingVariables.cpp | 87 TIntermBinary *binaryNode = declVector->getAsBinaryNode(); in visitDeclaration() local 88 ASSERT(binaryNode->getOp() == EOpInitialize); in visitDeclaration() 89 symNode = binaryNode->getLeft()->getAsSymbolNode(); in visitDeclaration()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
D | RewriteRowMajorMatrices.cpp | 94 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()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.cpp | 306 TIntermBinary* binaryNode = node->getAsBinaryNode(); in lValueErrorCheck() local 308 if (binaryNode) { in lValueErrorCheck() 311 switch(binaryNode->getOp()) { in lValueErrorCheck() 315 return lValueErrorCheck(line, op, binaryNode->getLeft()); in lValueErrorCheck() 317 errorReturn = lValueErrorCheck(line, op, binaryNode->getLeft()); in lValueErrorCheck() 321 TIntermTyped* rightNode = binaryNode->getRight(); in lValueErrorCheck() 384 if (message == 0 && binaryNode == 0 && symNode == 0) { in lValueErrorCheck()
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseHelper.cpp | 2857 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()
|
/third_party/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 9978 const glslang::TIntermBinary* binaryNode = node->getAsBinaryNode(); in isTrivial() local 9980 if (binaryNode == nullptr && unaryNode == nullptr) in isTrivial() 9984 …if (binaryNode && (! isTrivialLeaf(binaryNode->getLeft()) || ! isTrivialLeaf(binaryNode->getRight(… in isTrivial()
|