Home
last modified time | relevance | path

Searched refs:getLeft (Results 1 – 25 of 103) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DShaderStorageBlockOutputHLSL.cpp63 return GetBlockLayoutInfo(binaryNode->getLeft(), true, storage, rowMajor); in GetBlockLayoutInfo()
68 return GetBlockLayoutInfo(binaryNode->getLeft(), rowMajorAlreadyAssigned, storage, in GetBlockLayoutInfo()
298 if (binaryNode->getLeft()->getType().isArrayOfArrays()) in IsInArrayOfArraysChain()
401 return setMatrixStride(binaryNode->getLeft(), storage, rowMajor); in setMatrixStride()
571 if (!IsInShaderStorageBlock(node->getLeft())) in visitBinary()
576 const TType &leftType = node->getLeft()->getType(); in visitBinary()
582 TIntermSymbol *instanceArraySymbol = node->getLeft()->getAsSymbolNode(); in visitBinary()
607 if (!IsInShaderStorageBlock(node->getLeft())) in visitBinary()
613 ASSERT(node->getLeft()->getBasicType() != EbtInterfaceBlock); in visitBinary()
619 if (!IsInShaderStorageBlock(node->getLeft())) in visitBinary()
[all …]
DValidateLimitations.cpp26 TIntermSymbol *symbol = declInit->getLeft()->getAsSymbolNode(); in GetLoopSymbolId()
239 TIntermSymbol *symbol = declInit->getLeft()->getAsSymbolNode(); in validateForLoopInit()
282 TIntermSymbol *symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond()
350 symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopExpr()
420 TIntermTyped *operand = node->getLeft(); in validateIndexing()
DOutputHLSL.cpp71 return IsInStd140UniformBlock(binaryNode->getLeft()); in IsInStd140UniformBlock()
189 const TStructure *structure = ancestorBinary->getLeft()->getType().getStruct(); in needStructMapping()
1345 const TStructure *structure = ancestorBinary->getLeft()->getType().getStruct(); in ancestorEvaluatesToSamplerInStruct()
1393 node->getLeft()->traverse(this); in visitBinary()
1423 node->getLeft()->traverse(this); in visitBinary()
1427 else if (IsInShaderStorageBlock(node->getLeft())) in visitBinary()
1429 mSSBOOutputHLSL->outputStoreFunctionCallPrefix(node->getLeft()); in visitBinary()
1445 node->getLeft()->traverse(this); in visitBinary()
1456 TIntermSymbol *symbolNode = node->getLeft()->getAsSymbolNode(); in visitBinary()
1511 node->getLeft()->traverse(this); in visitBinary()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderStorageBlockOutputHLSL.cpp64 return GetBlockLayoutInfo(binaryNode->getLeft(), true, storage, rowMajor); in GetBlockLayoutInfo()
69 return GetBlockLayoutInfo(binaryNode->getLeft(), rowMajorAlreadyAssigned, storage, in GetBlockLayoutInfo()
391 return getMatrixStride(binaryNode->getLeft(), storage, rowMajor, isRowMajorMatrix); in getMatrixStride()
423 return collectShaderStorageBlocks(binaryNode->getLeft()); in collectShaderStorageBlocks()
470 binaryNode->getLeft()->getType().getInterfaceBlock(); in traverseSSBOAccess()
543 const TType &leftType = binaryNode->getLeft()->getType(); in traverseNode()
547 TIntermSymbol *instanceArraySymbol = binaryNode->getLeft()->getAsSymbolNode(); in traverseNode()
563 ASSERT(binaryNode->getLeft()->getBasicType() != EbtInterfaceBlock); in traverseNode()
569 ASSERT(binaryNode->getLeft()->getBasicType() != EbtInterfaceBlock); in traverseNode()
570 TIntermTyped *left = traverseNode(out, binaryNode->getLeft(), blockMemberInfo); in traverseNode()
[all …]
DOutputHLSL.cpp71 return IsInStd140UniformBlock(binaryNode->getLeft()); in IsInStd140UniformBlock()
96 return binaryNode->getLeft()->getType().getInterfaceBlock(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
216 const TStructure *structure = ancestorBinary->getLeft()->getType().getStruct(); in needStructMapping()
1407 const TStructure *structure = ancestorBinary->getLeft()->getType().getStruct(); in ancestorEvaluatesToSamplerInStruct()
1455 node->getLeft()->traverse(this); in visitBinary()
1485 node->getLeft()->traverse(this); in visitBinary()
1489 else if (IsInShaderStorageBlock(node->getLeft())) in visitBinary()
1491 mSSBOOutputHLSL->outputStoreFunctionCallPrefix(node->getLeft()); in visitBinary()
1507 node->getLeft()->traverse(this); in visitBinary()
1518 TIntermSymbol *symbolNode = node->getLeft()->getAsSymbolNode(); in visitBinary()
[all …]
DValidateLimitations.cpp26 TIntermSymbol *symbol = declInit->getLeft()->getAsSymbolNode(); in GetLoopSymbolId()
239 TIntermSymbol *symbol = declInit->getLeft()->getAsSymbolNode(); in validateForLoopInit()
282 TIntermSymbol *symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond()
352 symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopExpr()
430 TIntermTyped *operand = node->getLeft(); in validateIndexing()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DImmutableSet.h59 ImutAVLTree *getLeft() const { return left; } in getLeft() function
81 T = T->getLeft(); in find()
101 if (const ImutAVLTree* L = getLeft()) in size()
176 if (ImutAVLTree* L = getLeft()) in foreach()
192 unsigned HL = getLeft() ? getLeft()->validateTree() : 0; in validateTree()
203 assert((!getLeft() || in validateTree()
204 ImutInfo::isLess(ImutInfo::KeyOfValue(getLeft()->getValue()), in validateTree()
319 uint32_t X = computeDigest(getLeft(), getRight(), getValue()); in computeDigest()
427 TreeTy* getLeft(TreeTy* T) const { return T->getLeft(); } in getLeft() function
499 TreeTy *LL = getLeft(L); in balanceTree()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRewriteExpressionsWithShaderStorageBlock.cpp165 bool leftSSBO = IsInShaderStorageBlock(node->getLeft()); in visitBinary()
194 insertInitStatementAndReturnTempSymbol(node->getLeft()->deepCopy(), &insertions); in visitBinary()
201 new TIntermBinary(EOpAssign, node->getLeft(), tempSymbol->deepCopy()); in visitBinary()
208 new TIntermBinary(node->getOp(), node->getLeft(), rightNode->deepCopy()); in visitBinary()
224 TIntermTyped *leftNode = node->getLeft(); in visitBinary()
232 leftNode = insertInitStatementAndReturnTempSymbol(node->getLeft(), &insertions); in visitBinary()
DRewriteRepeatedAssignToSwizzled.cpp69 if (parentBlock && node->isAssignment() && node->getLeft()->getAsSwizzleNode() && rightBinary && in visitBinary()
74 TIntermTyped *rightAssignmentTargetCopy = rightBinary->getLeft()->deepCopy(); in visitBinary()
76 new TIntermBinary(EOpAssign, node->getLeft(), rightAssignmentTargetCopy); in visitBinary()
DUnfoldShortCircuitToIf.cpp81 ASSERT(node->getLeft()->getType() == *boolType); in visitBinary()
82 insertions.push_back(CreateTempInitDeclarationNode(resultVariable, node->getLeft())); in visitBinary()
108 ASSERT(node->getLeft()->getType() == *boolType); in visitBinary()
109 insertions.push_back(CreateTempInitDeclarationNode(resultVariable, node->getLeft())); in visitBinary()
DVectorizeVectorScalarArithmetic.cpp87 TIntermTyped *left = node->getLeft(); in visitBinary()
139 TIntermTyped *left = argBinary->getLeft(); in replaceMathInsideConstructor()
168 TIntermTyped *left = argBinary->getLeft(); in replaceAssignInsideConstructor()
252 if (!argBinary->getLeft()->hasSideEffects()) in visitAggregate()
DRemoveDynamicIndexing.cpp326 arguments->push_back(node->getLeft()); in CreateIndexFunctionCall()
343 arguments->push_back(node->getLeft()->deepCopy()); in CreateIndexedWriteFunctionCall()
394 const TType &type = node->getLeft()->getType(); in visitBinary()
421 if (node->getLeft()->hasSideEffects()) in visitBinary()
431 TIntermBinary *leftBinary = node->getLeft()->getAsBinaryNode(); in visitBinary()
449 GetIndexFunctionName(node->getLeft()->getType(), true)); in visitBinary()
DUnfoldShortCircuitAST.cpp50 replacement = UnfoldOR(node->getLeft(), node->getRight()); in visitBinary()
53 replacement = UnfoldAND(node->getLeft(), node->getRight()); in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRewriteExpressionsWithShaderStorageBlock.cpp165 bool leftSSBO = IsInShaderStorageBlock(node->getLeft()); in visitBinary()
194 insertInitStatementAndReturnTempSymbol(node->getLeft()->deepCopy(), &insertions); in visitBinary()
201 new TIntermBinary(EOpAssign, node->getLeft(), tempSymbol->deepCopy()); in visitBinary()
208 new TIntermBinary(node->getOp(), node->getLeft(), rightNode->deepCopy()); in visitBinary()
224 TIntermTyped *leftNode = node->getLeft(); in visitBinary()
232 leftNode = insertInitStatementAndReturnTempSymbol(node->getLeft(), &insertions); in visitBinary()
DUnfoldShortCircuitToIf.cpp81 ASSERT(node->getLeft()->getType() == *boolType); in visitBinary()
82 insertions.push_back(CreateTempInitDeclarationNode(resultVariable, node->getLeft())); in visitBinary()
108 ASSERT(node->getLeft()->getType() == *boolType); in visitBinary()
109 insertions.push_back(CreateTempInitDeclarationNode(resultVariable, node->getLeft())); in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp52 return IsDynamicIndexingOfVectorOrMatrix(node) && !IsInShaderStorageBlock(node->getLeft()); in IsDynamicIndexingOfNonSSBOVectorOrMatrix()
58 return node->getOp() == EOpIndexIndirect && !node->getLeft()->isArray() && in IsDynamicIndexingOfVectorOrMatrix()
59 node->getLeft()->getBasicType() != EbtStruct; in IsDynamicIndexingOfVectorOrMatrix()
65 return IsDynamicIndexingOfVectorOrMatrix(node) && node->getLeft()->getAsSwizzleNode(); in IsDynamicIndexingOfSwizzledVector()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/
DRewriteRepeatedAssignToSwizzled.cpp74 if (parentBlock && node->isAssignment() && node->getLeft()->getAsSwizzleNode() && rightBinary && in visitBinary()
79 TIntermTyped *rightAssignmentTargetCopy = rightBinary->getLeft()->deepCopy(); in visitBinary()
81 new TIntermBinary(EOpAssign, node->getLeft(), rightAssignmentTargetCopy); in visitBinary()
/third_party/glslang/glslang/MachineIndependent/
Dreflection.cpp274 int stride = getArrayStride(baseType, visitNode->getLeft()->getType()); in blowUpActiveAggregate()
280 … for (int i = 0; i < std::max(visitNode->getLeft()->getType().getOuterArraySize(), 1); ++i) { in blowUpActiveAggregate()
300 int stride = getArrayStride(baseType, visitNode->getLeft()->getType()); in blowUpActiveAggregate()
317 if (topLevelArrayStride != 0 && visitNode->getLeft()->getType().isArray()) { in blowUpActiveAggregate()
325 offset += intermediate.getOffset(visitNode->getLeft()->getType(), index); in blowUpActiveAggregate()
328 … name.append((*visitNode->getLeft()->getType().getStruct())[index].type->getFieldName()); in blowUpActiveAggregate()
331 … if (visitNode->getLeft()->getType().getBasicType() != EbtBlock && terminalType->isArray()) in blowUpActiveAggregate()
562 const TType& leftType = topNode->getLeft()->getType(); in addDereferencedUniform()
612 …for (TIntermBinary* visitNode = topNode; visitNode; visitNode = visitNode->getLeft()->getAsBinaryN… in addDereferencedUniform()
613 if (isReflectionGranularity(visitNode->getLeft()->getType())) in addDereferencedUniform()
[all …]
DpropagateNoContraction.cpp366 node->getLeft()->traverse(this); in visitBinary()
375 if (isPreciseObjectNode(node->getLeft())) { in visitBinary()
496 assert(accesschain_mapping_.count(BN->getLeft())); in getPrecisenessAndRemainedAccessChain()
500 BN->getLeft()->traverse(this); in getPrecisenessAndRemainedAccessChain()
503 if (isPreciseObjectNode(BN->getLeft())) { in getPrecisenessAndRemainedAccessChain()
509 assignee_object = accesschain_mapping_.at(BN->getLeft()); in getPrecisenessAndRemainedAccessChain()
578 node->getLeft()->traverse(this); in visitBinary()
588 if (isPreciseObjectNode(node->getLeft())) { in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DClampIndirectIndices.cpp41 bool valid = ClampIndirectIndices(mCompiler, node->getLeft(), mSymbolTable); in visitBinary()
48 const TType &leftType = node->getLeft()->getType(); in visitBinary()
65 max = new TIntermUnary(EOpArrayLength, node->getLeft(), nullptr); in visitBinary()
DRemoveDynamicIndexing.cpp340 arguments.push_back(node->getLeft()); in CreateIndexFunctionCall()
357 arguments.push_back(node->getLeft()->deepCopy()); in CreateIndexedWriteFunctionCall()
411 const TType &type = node->getLeft()->getType(); in visitBinary()
438 if (node->getLeft()->hasSideEffects()) in visitBinary()
448 TIntermBinary *leftBinary = node->getLeft()->getAsBinaryNode(); in visitBinary()
465 GetIndexFunctionName(node->getLeft()->getType(), true)); in visitBinary()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp52 return IsDynamicIndexingOfVectorOrMatrix(node) && !IsInShaderStorageBlock(node->getLeft()); in IsDynamicIndexingOfNonSSBOVectorOrMatrix()
58 return node->getOp() == EOpIndexIndirect && !node->getLeft()->isArray() && in IsDynamicIndexingOfVectorOrMatrix()
59 node->getLeft()->getBasicType() != EbtStruct; in IsDynamicIndexingOfVectorOrMatrix()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DValidateLimitations.cpp122 validateOperation(node, node->getLeft()); in visitBinary()
258 TIntermSymbol* symbol = declInit->getLeft()->getAsSymbolNode(); in validateForLoopInit()
300 TIntermSymbol* symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond()
364 symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopExpr()
496 TIntermTyped* operand = node->getLeft(); in validateIndexing()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
DUnfoldShortCircuitAST.cpp50 replacement = UnfoldOR(node->getLeft(), node->getRight()); in visitBinary()
53 replacement = UnfoldAND(node->getLeft(), node->getRight()); in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DRewriteUnaddressableReferences.cpp44 const TType &leftType = binary.getLeft()->getType(); in IsVectorAccess()
215 TIntermTyped *left = node.getLeft(); in DecomposeCompoundAssignment()
231 TIntermTyped &left = *binaryNode.getLeft(); in visitBinaryPost()
339 TIntermTyped &leftNode = *binaryNode.getLeft(); in visitBinaryPre()

12345