Home
last modified time | relevance | path

Searched refs:deepCopy (Results 1 – 25 of 45) sorted by relevance

12

/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp36 new TIntermBinary(EOpSub, new TIntermBinary(EOpMul, du->deepCopy(), v->deepCopy()), in DerivativeQuotient()
37 new TIntermBinary(EOpMul, dv->deepCopy(), u->deepCopy())), in DerivativeQuotient()
38 new TIntermBinary(EOpMul, vRecip->deepCopy(), vRecip->deepCopy())); in DerivativeQuotient()
62 TIntermTyped *signX = new TIntermUnary(EOpSign, x->deepCopy(), nullptr); in TransformXMajor()
65 new TIntermUnary(EOpNegative, new TIntermBinary(EOpMul, signX, z->deepCopy()), nullptr); in TransformXMajor()
66 TIntermTyped *vcValue = new TIntermUnary(EOpNegative, y->deepCopy(), nullptr); in TransformXMajor()
68 block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); in TransformXMajor()
69 block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); in TransformXMajor()
90 block->appendStatement(new TIntermBinary(EOpAssign, du->deepCopy(), duValue)); in TransformDerivativeXMajor()
91 block->appendStatement(new TIntermBinary(EOpAssign, dv->deepCopy(), dvValue)); in TransformDerivativeXMajor()
[all …]
DRewriteExpressionsWithShaderStorageBlock.cpp194 insertInitStatementAndReturnTempSymbol(node->getLeft()->deepCopy(), &insertions); in visitBinary()
196 new TIntermBinary(node->getOp(), tempSymbol->deepCopy(), rightNode->deepCopy()); in visitBinary()
201 new TIntermBinary(EOpAssign, node->getLeft(), tempSymbol->deepCopy()); in visitBinary()
208 new TIntermBinary(node->getOp(), node->getLeft(), rightNode->deepCopy()); in visitBinary()
237 new TIntermBinary(node->getOp(), leftNode->deepCopy(), rightNode->deepCopy()); in visitBinary()
301 EOpAssign, ssboArgument->deepCopy(), argumentCopy->deepCopy()); in visitAggregate()
329 queueReplacement(tempSymbol->deepCopy(), OriginalNode::IS_DROPPED); in visitAggregate()
368 TIntermUnary *newUnary = new TIntermUnary(node->getOp(), temp1->deepCopy(), nullptr); in visitUnary()
371 new TIntermBinary(EOpAssign, node->getOperand()->deepCopy(), temp1->deepCopy()); in visitUnary()
374 queueReplacement(temp2->deepCopy(), OriginalNode::IS_DROPPED); in visitUnary()
[all …]
DInitializeVariables.cpp40 return new TIntermBinary(EOpAssign, initializedNode->deepCopy(), zero); in CreateZeroInitAssignment()
77 initializedNode->deepCopy(), CreateIndexNode(i)); in AddStructZeroInitSequence()
95 new TIntermBinary(EOpIndexDirect, initializedNode->deepCopy(), CreateIndexNode(i)); in AddArrayZeroInitStatementList()
117 new TIntermBinary(EOpLessThan, indexSymbolNode->deepCopy(), arraySizeNode); in AddArrayZeroInitForLoop()
119 new TIntermUnary(EOpPreIncrement, indexSymbolNode->deepCopy(), nullptr); in AddArrayZeroInitForLoop()
124 TIntermBinary *element = new TIntermBinary(EOpIndexIndirect, initializedNode->deepCopy(), in AddArrayZeroInitForLoop()
125 indexSymbolNode->deepCopy()); in AddArrayZeroInitForLoop()
DSimplifyLoopConditions.cpp165 CreateTempInitDeclarationNode(conditionVariable, node->getCondition()->deepCopy()); in traverseLoop()
174 CreateTempAssignmentNode(conditionVariable, node->getCondition()->deepCopy())); in traverseLoop()
204 CreateTempAssignmentNode(conditionVariable, node->getCondition()->deepCopy())); in traverseLoop()
240 conditionInitializer = node->getCondition()->deepCopy(); in traverseLoop()
264 CreateTempAssignmentNode(conditionVariable, node->getCondition()->deepCopy())); in traverseLoop()
DRemoveDynamicIndexing.cpp196 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(i)); in GetIndexFunctionDefinition()
200 new TIntermBinary(EOpAssign, indexNode, valueParam->deepCopy()); in GetIndexFunctionDefinition()
218 TIntermSwitch *switchNode = new TIntermSwitch(indexParam->deepCopy(), statementList); in GetIndexFunctionDefinition()
224 new TIntermBinary(EOpLessThan, indexParam->deepCopy(), CreateIntConstantNode(0)); in GetIndexFunctionDefinition()
231 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(0)); in GetIndexFunctionDefinition()
233 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(numCases - 1)); in GetIndexFunctionDefinition()
237 new TIntermBinary(EOpAssign, indexFirstNode, valueParam->deepCopy()); in GetIndexFunctionDefinition()
243 new TIntermBinary(EOpAssign, indexLastNode, valueParam->deepCopy()); in GetIndexFunctionDefinition()
350 arguments->push_back(node->getLeft()->deepCopy()); in CreateIndexedWriteFunctionCall()
DRewriteRowMajorMatrices.cpp152 TIntermTyped *rhs = binaryNode->getRight()->deepCopy(); in GetIndex()
277 TIntermTyped *element = expression->deepCopy(); in getCurrentElement()
1123 baseExpression->deepCopy(), primaryIndex, &secondaryIndices, structure, in transformExpression()
1145 baseExpression = baseExpression->deepCopy(); in transformExpression()
1239 secondaryIndexOp, baseExpression->deepCopy(), secondaryIndexAsTyped->deepCopy()); in transformReadExpression()
1241 new TIntermBinary(primaryIndexOp, colIndexed, primaryIndexAsTyped->deepCopy()); in transformReadExpression()
1298 CreateStructCopyCall(copyFromOriginal, valueExpression->deepCopy()); in transformWriteExpression()
1329 CreateTransposeCall(mSymbolTable, valueExpression->deepCopy()); in transformWriteExpression()
1356 secondaryIndexOp, baseExpression->deepCopy(), secondaryIndexAsTyped->deepCopy()); in transformWriteExpression()
1358 new TIntermBinary(primaryIndexOp, colIndexed, primaryIndexAsTyped->deepCopy()); in transformWriteExpression()
[all …]
DUseInterfaceBlockFields.cpp33 new TIntermBinary(EOpIndexDirect, node->deepCopy(), CreateIndexNode(i)); in AddNodeUseStatements()
57 blockNode->deepCopy(), CreateIndexNode(i)); in InsertUseCode()
82 new TIntermBinary(EOpIndexDirect, arraySymbol->deepCopy(), CreateIndexNode(i)); in InsertUseCode()
DRewriteAtomicCounters.cpp104 new TIntermBinary(EOpIndexDirectStruct, bindingOffset->deepCopy(), bindingFieldRef); in CreateAtomicCounterRef()
106 new TIntermBinary(EOpIndexDirectStruct, bindingOffset->deepCopy(), offsetFieldRef); in CreateAtomicCounterRef()
118 new TIntermBinary(EOpDiv, binding->deepCopy(), CreateUIntConstant(4)); in CreateAtomicCounterRef()
120 new TIntermBinary(EOpIndexDirect, bufferOffsets->deepCopy(), bindingDivFour); in CreateAtomicCounterRef()
124 new TIntermBinary(EOpIMod, binding->deepCopy(), CreateUIntConstant(4)); in CreateAtomicCounterRef()
465 thisDimensionOffset = thisDimensionOffset->deepCopy(); in convertFunctionArgumentHelper()
569 *bindingOffset = modifiedSymbol->deepCopy(); in convertFunctionArgument()
DRewriteDfdy.cpp62 TIntermUnary *newDfdy = node->deepCopy()->getAsUnaryNode(); in visitUnary()
70 new TIntermBinary(multiplyOp, newDfdy, mViewportYScale->deepCopy()); in visitUnary()
DWrapSwitchStatementsInBlocks.cpp83 declarationInBlock->appendDeclarator(declaratorAsSymbol->deepCopy()); in visitSwitch()
103 declarationInBlock->appendDeclarator(declaratorAsBinary->getLeft()->deepCopy()); in visitSwitch()
DDeclareAndInitBuiltinsForInstancedMultiview.cpp70 new TIntermBinary(EOpIMod, glInstanceIDAsUint->deepCopy(), numberOfViewsUint->deepCopy()); in InitializeViewIDAndInstanceID()
104 EOpAdd, viewIDAsInt->deepCopy(), new TIntermSymbol(multiviewBaseViewLayerIndex)); in SelectViewIndexInVertexShader()
DVectorizeVectorScalarArithmetic.cpp178 TIntermTyped *tempAssignmentTargetInitializer = Vectorize(left->deepCopy(), vecType, nullptr); in replaceAssignInsideConstructor()
191 compoundAssignmentOp, CreateTempSymbolNode(tempAssignmentTarget), right->deepCopy()); in replaceAssignInsideConstructor()
200 new TIntermBinary(EOpAssign, left->deepCopy(), tempAssignmentTargetX); in replaceAssignInsideConstructor()
DClampPointSize.cpp40 minArguments->push_back(pointSizeNode->deepCopy()); in ClampPointSize()
DClampFragDepth.cpp42 clampArguments->push_back(fragDepthNode->deepCopy()); in ClampFragDepth()
DRemoveArrayLengthMethod.cpp59 insertStatementInParentBlock(node->getOperand()->deepCopy()); in visitUnary()
DRewriteRepeatedAssignToSwizzled.cpp79 TIntermTyped *rightAssignmentTargetCopy = rightBinary->getLeft()->deepCopy(); in visitBinary()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyProtobuf.java59 … public static IRubyObject deepCopy(ThreadContext context, IRubyObject self, IRubyObject message) { in deepCopy() method in RubyProtobuf
61 return ((RubyMessage) message).deepCopy(context); in deepCopy()
63 return ((RubyRepeatedField) message).deepCopy(context); in deepCopy()
65 return ((RubyMap) message).deepCopy(context); in deepCopy()
/external/angle/src/compiler/translator/
DIntermNode.h110 virtual TIntermNode *deepCopy() const = 0;
139 virtual TIntermTyped *deepCopy() const override = 0;
219 virtual TIntermLoop *deepCopy() const override { return new TIntermLoop(*this); } in deepCopy() function
250 virtual TIntermBranch *deepCopy() const override { return new TIntermBranch(*this); } in deepCopy() function
268 TIntermTyped *deepCopy() const override { return new TIntermSymbol(*this); } in deepCopy() function
328 TIntermTyped *deepCopy() const override { return new TIntermConstantUnion(*this); } in deepCopy() function
429 TIntermTyped *deepCopy() const override { return new TIntermSwizzle(*this); } in deepCopy() function
473 TIntermTyped *deepCopy() const override { return new TIntermBinary(*this); } in deepCopy() function
529 TIntermTyped *deepCopy() const override { return new TIntermUnary(*this); } in deepCopy() function
603 TIntermTyped *deepCopy() const override { return new TIntermAggregate(*this); } in deepCopy() function
[all …]
DTranslatorMetal.cpp50 TIntermBinary *inverseY = new TIntermBinary(EOpMul, positionY->deepCopy(), negViewportYScale); in AppendVertexShaderPositionYCorrectionToMain()
53 TIntermTyped *positionYLHS = positionY->deepCopy(); in AppendVertexShaderPositionYCorrectionToMain()
118 TIntermBinary *zScale = new TIntermBinary(EOpMul, positionZ->deepCopy(), viewportZScale); in transformDepthBeforeCorrection()
121 TIntermTyped *positionZLHS = positionZ->deepCopy(); in transformDepthBeforeCorrection()
DTranslatorVulkan.cpp255 TIntermBinary *plusPivot = new TIntermBinary(EOpAdd, inverseY, pivot->deepCopy()); in FlipBuiltinVariable()
259 sequence->push_back(builtinRef->deepCopy()); in FlipBuiltinVariable()
264 TIntermSwizzle *correctedY = new TIntermSwizzle(flippedBuiltinRef->deepCopy(), swizzleOffsetY); in FlipBuiltinVariable()
323 TIntermSwizzle *positionW = new TIntermSwizzle(positionRef->deepCopy(), swizzleOffsetW); in AppendVertexShaderDepthCorrectionToMain()
326 TIntermBinary *zPlusW = new TIntermBinary(EOpAdd, positionZ->deepCopy(), positionW->deepCopy()); in AppendVertexShaderDepthCorrectionToMain()
327 TIntermBinary *halfZPlusW = new TIntermBinary(EOpMul, zPlusW, oneHalf->deepCopy()); in AppendVertexShaderDepthCorrectionToMain()
330 TIntermTyped *positionZLHS = positionZ->deepCopy(); in AppendVertexShaderDepthCorrectionToMain()
356 new TIntermBinary(EOpMatrixTimesVector, preRotationRef->deepCopy(), glPosXY->deepCopy()); in AppendPreRotation()
360 new TIntermBinary(TOperator::EOpAssign, glPosXY->deepCopy(), zRotated); in AppendPreRotation()
511 TIntermSwizzle *glPosW = CreateSwizzle(glPos->deepCopy(), 3); in AddBresenhamEmulationVS()
[all …]
DIntermNode.cpp273 : TIntermBranch(node.mFlowOp, node.mExpression->deepCopy()) in TIntermBranch()
414 mStatements.push_back(node->deepCopy()); in TIntermBlock()
971 TIntermCase::TIntermCase(const TIntermCase &node) : TIntermCase(node.mCondition->deepCopy()) {} in TIntermCase()
1036 TIntermTyped *argCopy = typedArg->deepCopy(); in TIntermAggregate()
1052 TIntermTyped *operandCopy = node.mOperand->deepCopy(); in TIntermSwizzle()
1062 TIntermTyped *leftCopy = node.mLeft->deepCopy(); in TIntermBinary()
1063 TIntermTyped *rightCopy = node.mRight->deepCopy(); in TIntermBinary()
1074 TIntermTyped *operandCopy = node.mOperand->deepCopy(); in TIntermUnary()
1081 TIntermTyped *conditionCopy = node.mCondition->deepCopy(); in TIntermTernary()
1082 TIntermTyped *trueCopy = node.mTrueExpression->deepCopy(); in TIntermTernary()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DViewData.java126 final Map<List</*@Nullable*/ TagValue>, AggregationData> deepCopy = in create() local
131 deepCopy.put( in create()
140 view, Collections.unmodifiableMap(deepCopy), arg, arg.getStart(), arg.getEnd()); in create()
149 Collections.unmodifiableMap(deepCopy), in create()
176 Map<List</*@Nullable*/ TagValue>, AggregationData> deepCopy =
181 deepCopy.put(
187 Collections.unmodifiableMap(deepCopy),
/external/angle/src/tests/compiler_tests/
DIntermNode_test.cpp151 TIntermTyped *copy = original->deepCopy(); in TEST_F()
165 TIntermTyped *copyTyped = original->deepCopy(); in TEST_F()
182 TIntermTyped *copyTyped = original->deepCopy(); in TEST_F()
201 TIntermTyped *copyTyped = original->deepCopy(); in TEST_F()
226 TIntermTyped *copyTyped = original->deepCopy(); in TEST_F()
252 TIntermTyped *copyTyped = original->deepCopy(); in TEST_F()
/external/angle/src/compiler/translator/tree_util/
DReplaceVariable.cpp34 queueReplacement(mReplacement->deepCopy(), OriginalNode::IS_DROPPED); in visitSymbol()
130 replacement = param->getAsTyped()->deepCopy(); in convertASTFunction()
/external/antlr/runtime/ObjC/Framework/
DBaseTree.h80 - (id) deepCopy; // performs a deepCopyWithZone: with the default zone
156 - (id) deepCopy; // performs a deepCopyWithZone: with the default zone

12