Home
last modified time | relevance | path

Searched refs:parentBlock (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/
Dbroadcast_propagation.cc132 DynamicBroadcastInDimOp root, Block *parentBlock, in findBroadcastIntents() argument
165 if (!producerOp || producerOp->getBlock() != parentBlock || in findBroadcastIntents()
210 SmallVector<BroadcastIntent> &bcastIntentsVec, Block *parentBlock) { in sortBroadcastIntentsInReverseTopologicalOrder() argument
217 [parentBlock](const BroadcastIntent &a, const BroadcastIntent &b) { in sortBroadcastIntentsInReverseTopologicalOrder()
221 producerOpA->getBlock() == parentBlock; in sortBroadcastIntentsInReverseTopologicalOrder()
223 producerOpB->getBlock() == parentBlock; in sortBroadcastIntentsInReverseTopologicalOrder()
251 Block *parentBlock, PatternRewriter &rewriter) { in realizeBroadcastIntents() argument
262 if (!producerOp || producerOp->getBlock() != parentBlock || in realizeBroadcastIntents()
266 rewriter, parentBlock, in realizeBroadcastIntents()
303 rewriter, parentBlock, bcastedOperands); in realizeBroadcastIntents()
[all …]
/external/angle/src/compiler/translator/tree_ops/glsl/
DRewriteRepeatedAssignToSwizzled.cpp73 TIntermBlock *parentBlock = getParentNode()->getAsBlock(); in visitBinary() local
74 if (parentBlock && node->isAssignment() && node->getLeft()->getAsSwizzleNode() && rightBinary && in visitBinary()
83 mMultiReplacements.emplace_back(parentBlock, node, std::move(replacements)); in visitBinary()
/external/angle/src/compiler/translator/tree_ops/hlsl/
DSeparateArrayInitialization.cpp61 TIntermBlock *parentBlock = getParentNode()->getAsBlock(); in visitDeclaration() local
62 ASSERT(parentBlock != nullptr); in visitDeclaration()
76 mMultiReplacements.emplace_back(parentBlock, node, std::move(replacements)); in visitDeclaration()
DArrayReturnValueToOutParameter.cpp155 TIntermBlock *parentBlock = getParentNode()->getAsBlock(); in visitAggregate() local
156 if (parentBlock) in visitAggregate()
173 mMultiReplacements.emplace_back(parentBlock, node, std::move(replacements)); in visitAggregate()
DRewriteExpressionsWithShaderStorageBlock.cpp309 TIntermBlock *parentBlock = getParentNode()->getAsBlock(); in visitAggregate() local
310 if (parentBlock) in visitAggregate()
318 mMultiReplacements.emplace_back(parentBlock, node, std::move(insertions)); in visitAggregate()
/external/angle/src/compiler/translator/tree_ops/
DSeparateDeclarations.cpp69 TIntermBlock *parentBlock = getParentNode()->getAsBlock(); in visitDeclaration() local
70 ASSERT(parentBlock != nullptr); in visitDeclaration()
79 mMultiReplacements.emplace_back(parentBlock, node, std::move(replacementDeclarations)); in visitDeclaration()
/external/angle/src/compiler/translator/tree_util/
DIntermTraverse.cpp273 ParentBlock &parentBlock = mParentBlockStack.back(); in insertStatementsInParentBlock() local
274 if (mPath.back() == parentBlock.node) in insertStatementsInParentBlock()
279 parentBlock = mParentBlockStack.at(mParentBlockStack.size() - 2u); in insertStatementsInParentBlock()
281 NodeInsertMultipleEntry insert(parentBlock.node, parentBlock.pos, insertionsBefore, in insertStatementsInParentBlock()