Home
last modified time | relevance | path

Searched refs:getRight (Results 1 - 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DImmutableSet.h63 ImutAVLTree *getRight() const { return right; } in getRight() function in llvm::ImutAVLTree
83 T = T->getRight(); in find()
92 ImutAVLTree *Right = T->getRight(); in getMaxElement()
93 while (Right) { T = Right; Right = T->getRight(); } in getMaxElement()
103 if (const ImutAVLTree* R = getRight()) in size()
181 if (ImutAVLTree* R = getRight()) in foreach()
193 unsigned HR = getRight() ? getRight()->validateTree() : 0; in validateTree()
208 assert((!getRight() || in validateTree()
210 ImutInfo::KeyOfValue(getRight() in validateTree()
428 TreeTy* getRight(TreeTy* T) const { return T->getRight(); } getRight() function in llvm::ImutAVLFactory
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
H A DUnfoldShortCircuitToIf.cpp65 ASSERT(node->getRight()->hasSideEffects()); in visitBinary()
85 ASSERT(node->getRight()->getType() == *boolType); in visitBinary()
87 CreateTempAssignmentNode(resultVariable, node->getRight())); in visitBinary()
112 ASSERT(node->getRight()->getType() == *boolType); in visitBinary()
114 CreateTempAssignmentNode(resultVariable, node->getRight())); in visitBinary()
H A DRewriteExpressionsWithShaderStorageBlock.cpp164 bool rightSSBO = IsInShaderStorageBlock(node->getRight()); in visitBinary()
190 insertInitStatementAndReturnTempSymbol(node->getRight(), &insertions); in visitBinary()
223 TIntermTyped *rightNode = node->getRight(); in visitBinary()
228 rightNode = insertInitStatementAndReturnTempSymbol(node->getRight(), &insertions); in visitBinary()
H A DBreakVariableAliasingInInnerLoops.cpp54 TIntermTyped *B = binary->getRight();
H A DSeparateExpressionsReturningArrays.cpp55 return new TIntermBinary(node->getOp(), node->getLeft(), node->getRight()); in CopyAssignmentNode()
H A DWrapSwitchStatementsInBlocks.cpp98 EOpAssign, declaratorAsBinary->getLeft(), declaratorAsBinary->getRight()); in visitSwitch()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
H A DClampIndirectIndices.cpp43 valid = ClampIndirectIndices(mCompiler, node->getRight(), mSymbolTable);
49 const TType &rightType = node->getRight()->getType();
85 TIntermTyped *index = node->getRight();
114 queueReplacementWithParent(node, node->getRight(), clamped, OriginalNode::IS_DROPPED);
H A DRemoveDynamicIndexing.cpp376 ASSERT(node->getRight()->hasSideEffects()); in visitBinary()
383 TVariable *indexVariable = DeclareTempVariable(mSymbolTable, node->getRight(), in visitBinary()
390 queueReplacementWithParent(node, node->getRight(), tempIndex, OriginalNode::IS_DROPPED); in visitBinary()
491 TIntermTyped *indexInitializer = EnsureSignedInt(node->getRight()); in visitBinary()
524 node, EnsureSignedInt(node->getRight()), indexingFunction); in visitBinary()
H A DDeferGlobalInitializers.cpp55 TIntermTyped *expression = init->getRight(); in GetDeferredInitializers()
77 new TIntermBinary(EOpAssign, symbolNode->deepCopy(), init->getRight()); in GetDeferredInitializers()
H A DRemoveUnreferencedVariables.cpp183 declarator->getAsBinaryNode()->getRight()->getAsAggregate()) in removeVariableDeclaration()
187 ASSERT(declarator->getAsBinaryNode()->getRight()->getType().getStruct() == in removeVariableDeclaration()
259 (*mSymbolIdRefCounts)[symbolId] == 1u && !initNode->getRight()->hasSideEffects(); in visitDeclaration()
H A DMonomorphizeUnsupportedFunctions.cpp111 TIntermTyped *index = asBinary->getRight(); in ExtractSideEffects()
170 TIntermTyped *index = asBinary->getRight(); in CreateMonomorphizedFunctionCallArgs()
219 TIntermTyped *index = asBinary->getRight(); in MonomorphizeFunction()
228 asBinary->replaceChildNode(asBinary->getRight(), new TIntermSymbol(param)); in MonomorphizeFunction()
H A DRewriteAtomicCounters.cpp123 atomicCounterConstIndex = asBinary->getRight()->getAsConstantUnion()->getIConst(0); in CreateAtomicCounterRef()
126 atomicCounterIndex = asBinary->getRight(); in CreateAtomicCounterRef()
H A DRewriteArrayOfArrayOfOpaqueUniforms.cpp172 node->getRight()->getAsConstantUnion()->getIConst(0) * subArraySize; in RewriteArrayOfArraySubscriptExpression()
178 TIntermTyped *indexExpression = node->getRight(); in RewriteArrayOfArraySubscriptExpression()
H A DRemoveArrayLengthMethod.cpp80 insertSideEffectsInParentBlock(asBinary->getRight()); in insertSideEffectsInParentBlock()
H A DRewriteStructSamplers.cpp289 indexNode->getRight()->getAsConstantUnion(); in RewriteModifiedStructFieldSelectionExpression()
304 rewritten = new TIntermBinary(EOpIndexDirect, rewritten, indexNode->getRight()); in RewriteModifiedStructFieldSelectionExpression()
312 TIntermTyped *indexExpression = indexNode->getRight(); in RewriteModifiedStructFieldSelectionExpression()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
H A DRewriteSampleMaskVariable.cpp82 const TConstantUnion *constIdx = node->getRight()->getConstantValue();
85 if (node->getRight()->hasSideEffects())
87 insertStatementInParentBlock(node->getRight());
90 queueReplacementWithParent(node, node->getRight(),
H A DFindPreciseNodes.cpp106 int fieldIndex = binary->getRight()->getAsConstantUnion()->getIConst(0); in build()
168 binary->getRight()->traverse(traverser); in TraverseIndexNodesOnly()
390 node->getRight()->traverse(this);
410 initExpression = initNode->getRight();
543 node->getRight()->traverse(this);
557 node->getRight()->traverse(this);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
H A 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/
H A DValidateLimitations.cpp253 if (!isConstExpr(declInit->getRight())) in validateForLoopInit()
309 if (!isConstExpr(binOp->getRight())) in validateForLoopCond()
396 if (!isConstExpr(binOp->getRight())) in validateForLoopExpr()
427 TIntermTyped *index = node->getRight(); in validateIndexing()
H A DOutputHLSL.cpp144 TIntermAggregate *aggregateNode = node.getRight()->getAsAggregate(); in IsAtomicFunctionForSharedVariableDirectAssign()
218 ancestorBinary->getRight()->getAsConstantUnion(); in needStructMapping()
1409 ancestorBinary->getRight()->getAsConstantUnion(); in ancestorEvaluatesToSamplerInStruct()
1450 TIntermAggregate *rightAgg = node->getRight()->getAsAggregate(); in visitBinary()
1475 TIntermAggregate *atomicFunctionNode = node->getRight()->getAsAggregate(); in visitBinary()
1493 if (IsInShaderStorageBlock(node->getRight())) in visitBinary()
1495 mSSBOOutputHLSL->outputLoadFunctionCall(node->getRight()); in visitBinary()
1499 node->getRight()->traverse(this); in visitBinary()
1505 else if (IsInShaderStorageBlock(node->getRight())) in visitBinary()
1509 mSSBOOutputHLSL->outputLoadFunctionCall(node->getRight()); in visitBinary()
[all...]
H A DShaderStorageBlockOutputHLSL.cpp472 const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); in traverseSSBOAccess()
550 binaryNode->getRight()->getAsConstantUnion()->getIConst(0); in traverseNode()
572 const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); in traverseNode()
582 const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); in traverseNode()
600 TIntermTyped *right = node->getRight()->deepCopy(); in writeEOpIndexDirectOrIndirectOutput()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DValidateLimitations.cpp271 if (!isConstExpr(declInit->getRight())) { in validateForLoopInit()
326 if (!isConstExpr(binOp->getRight())) { in validateForLoopCond()
397 if (!isConstExpr(binOp->getRight())) { in validateForLoopExpr()
486 TIntermTyped* index = node->getRight(); in validateIndexing()
/third_party/glslang/glslang/MachineIndependent/
H A DpropagateNoContraction.cpp388 node->getRight()->traverse(this); in visitBinary()
395 unsigned struct_dereference_index = getStructIndexFromConstantUnion(node->getRight()); in visitBinary()
407 node->getRight()->traverse(this); in visitBinary()
634 BN->getRight()->traverse(this); in propagateNoContractionInOneExpression()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/
H A DRewriteRepeatedAssignToSwizzled.cpp72 TIntermBinary *rightBinary = node->getRight()->getAsBinaryNode(); in visitBinary()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DInitOutputVariables_test.cpp56 if (expectedBinary->getRight()->getAsConstantUnion()->getIConst(0) != in AreLValuesTheSame()
57 candidateBinary->getRight()->getAsConstantUnion()->getIConst(0)) in AreLValuesTheSame()
117 if (node->getOp() == EOpAssign && IsZero(node->getRight()))

Completed in 18 milliseconds

123