/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 39 new TIntermBinary(EOpSub, new TIntermBinary(EOpMul, du->deepCopy(), v->deepCopy()), in DerivativeQuotient() 40 new TIntermBinary(EOpMul, dv->deepCopy(), u->deepCopy())), in DerivativeQuotient() 41 new TIntermBinary(EOpMul, vRecip->deepCopy(), vRecip->deepCopy())); in DerivativeQuotient() 67 CreateBuiltInUnaryFunctionCallNode("sign", x->deepCopy(), symbolTable, 100); in TransformXMajor() 70 new TIntermUnary(EOpNegative, new TIntermBinary(EOpMul, signX, z->deepCopy()), nullptr); in TransformXMajor() 71 TIntermTyped *vcValue = new TIntermUnary(EOpNegative, y->deepCopy(), nullptr); in TransformXMajor() 73 block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); in TransformXMajor() 74 block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); in TransformXMajor() 95 block->appendStatement(new TIntermBinary(EOpAssign, du->deepCopy(), duValue)); in TransformDerivativeXMajor() 96 block->appendStatement(new TIntermBinary(EOpAssign, dv->deepCopy(), dvValue)); in TransformDerivativeXMajor() [all …]
|
D | InitializeVariables.cpp | 40 return new TIntermBinary(EOpAssign, initializedNode->deepCopy(), zero); in CreateZeroInitAssignment() 71 initializedNode->deepCopy(), fieldIndexRef); in AddZeroInitSequence() 95 initializedNode->deepCopy(), CreateIndexNode(i)); in AddStructZeroInitSequence() 113 new TIntermBinary(EOpIndexDirect, initializedNode->deepCopy(), CreateIndexNode(i)); in AddArrayZeroInitStatementList() 135 new TIntermBinary(EOpLessThan, indexSymbolNode->deepCopy(), arraySizeNode); in AddArrayZeroInitForLoop() 137 new TIntermUnary(EOpPreIncrement, indexSymbolNode->deepCopy(), nullptr); in AddArrayZeroInitForLoop() 142 TIntermBinary *element = new TIntermBinary(EOpIndexIndirect, initializedNode->deepCopy(), in AddArrayZeroInitForLoop() 143 indexSymbolNode->deepCopy()); in AddArrayZeroInitForLoop()
|
D | RemoveDynamicIndexing.cpp | 203 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(i)); in GetIndexFunctionDefinition() 207 new TIntermBinary(EOpAssign, indexNode, valueParam->deepCopy()); in GetIndexFunctionDefinition() 225 TIntermSwitch *switchNode = new TIntermSwitch(indexParam->deepCopy(), statementList); in GetIndexFunctionDefinition() 231 new TIntermBinary(EOpLessThan, indexParam->deepCopy(), CreateIntConstantNode(0)); in GetIndexFunctionDefinition() 238 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(0)); in GetIndexFunctionDefinition() 240 new TIntermBinary(EOpIndexDirect, baseParam->deepCopy(), CreateIndexNode(numCases - 1)); in GetIndexFunctionDefinition() 244 new TIntermBinary(EOpAssign, indexFirstNode, valueParam->deepCopy()); in GetIndexFunctionDefinition() 250 new TIntermBinary(EOpAssign, indexLastNode, valueParam->deepCopy()); in GetIndexFunctionDefinition() 357 arguments.push_back(node->getLeft()->deepCopy()); in CreateIndexedWriteFunctionCall()
|
D | RewriteDfdy.cpp | 160 multiplierY = new TIntermSwizzle(tmpRotFlipXY->deepCopy(), swizzleOffsetY); in visitAggregateWithRotation() 167 CreateBuiltInUnaryFunctionCallNode("dFdx", operand->deepCopy(), *mSymbolTable, 300); in visitAggregateWithRotation() 169 CreateBuiltInUnaryFunctionCallNode("dFdy", operand->deepCopy(), *mSymbolTable, 300); in visitAggregateWithRotation() 195 TIntermAggregate *newDfdy = node->deepCopy()->getAsAggregate(); in visitAggregateWithoutRotation()
|
D | ClampPointSize.cpp | 32 TIntermTyped *pointSizeNode = glPointSize->deepCopy(); in ClampPointSize() 41 minArguments.push_back(pointSizeNode->deepCopy()); in ClampPointSize()
|
D | ConvertUnsupportedConstructorsToFunctionCalls.cpp | 25 new TIntermBinary(EOpIndexDirect, parameter->deepCopy(), CreateIndexNode(colIndex)); in AppendMatrixElementArgument() 67 returnCtorArgs->push_back(v->deepCopy()); in AppendVectorFromScalarArgument() 94 TIntermSwizzle *vecS = new TIntermSwizzle(parameter->deepCopy(), {rowIndex++}); in AppendValuesFromMultipleArguments() 135 returnCtorArgs->push_back(v->deepCopy()); in AppendMatrixFromScalarArgument()
|
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 70 new TIntermBinary(EOpIMod, glInstanceIDAsUint->deepCopy(), numberOfViewsUint->deepCopy()); in InitializeViewIDAndInstanceID() 104 EOpAdd, viewIDAsInt->deepCopy(), new TIntermSymbol(multiviewBaseViewLayerIndex)); in SelectViewIndexInVertexShader()
|
D | SimplifyLoopConditions.cpp | 149 seq.push_back(mLoop.expression->deepCopy()); in visitBranch() 155 CreateTempAssignmentNode(mLoop.conditionVariable, mLoop.condition->deepCopy())); in visitBranch() 247 CreateTempAssignmentNode(mLoop.conditionVariable, mLoop.condition->deepCopy())); in traverseLoop() 445 CreateTempAssignmentNode(mLoop.conditionVariable, mLoop.condition->deepCopy())); in traverseLoop()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RewriteExpressionsWithShaderStorageBlock.cpp | 194 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 …]
|
D | WrapSwitchStatementsInBlocks.cpp | 83 declarationInBlock->appendDeclarator(declaratorAsSymbol->deepCopy()); in visitSwitch() 103 declarationInBlock->appendDeclarator(declaratorAsBinary->getLeft()->deepCopy()); in visitSwitch()
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyProtobuf.java | 59 … 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()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | IntermNode.h | 110 virtual TIntermNode *deepCopy() const = 0; 139 virtual TIntermTyped *deepCopy() const override = 0; 238 virtual TIntermLoop *deepCopy() const override { return new TIntermLoop(*this); } in deepCopy() function 269 virtual TIntermBranch *deepCopy() const override { return new TIntermBranch(*this); } in deepCopy() function 287 TIntermTyped *deepCopy() const override { return new TIntermSymbol(*this); } in deepCopy() function 347 TIntermTyped *deepCopy() const override { return new TIntermConstantUnion(*this); } in deepCopy() function 451 TIntermTyped *deepCopy() const override { return new TIntermSwizzle(*this); } in deepCopy() function 497 TIntermTyped *deepCopy() const override { return new TIntermBinary(*this); } in deepCopy() function 549 TIntermTyped *deepCopy() const override { return new TIntermUnary(*this); } in deepCopy() function 625 TIntermTyped *deepCopy() const override { return new TIntermAggregate(*this); } in deepCopy() function [all …]
|
D | TranslatorMetalDirect.cpp | 264 TIntermBinary *plusPivot = new TIntermBinary(EOpAdd, inverseXY, pivot->deepCopy()); in RotateAndFlipBuiltinVariable() 268 sequence.push_back(builtinRef->deepCopy()); in RotateAndFlipBuiltinVariable() 275 new TIntermSwizzle(flippedBuiltinRef->deepCopy(), swizzleOffsetXY); in RotateAndFlipBuiltinVariable() 453 TIntermBinary *inverseY = new TIntermBinary(EOpMul, positionY->deepCopy(), negFlipY); in AppendVertexShaderPositionYCorrectionToMain() 456 TIntermTyped *positionYLHS = positionY->deepCopy(); in AppendVertexShaderPositionYCorrectionToMain() 521 args->push_back(gl_SampleMask->deepCopy()); in insertSampleMaskWritingLogic() 562 new TIntermBinary(TOperator::EOpAssign, positionRef->deepCopy(), constVarConstructor); in insertRasterizationDiscardLogic() 591 TIntermBinary *zScale = new TIntermBinary(EOpMul, positionZ->deepCopy(), viewportZScale); in transformDepthBeforeCorrection() 594 TIntermTyped *positionZLHS = positionZ->deepCopy(); in transformDepthBeforeCorrection() 619 TIntermSwizzle *positionW = new TIntermSwizzle(positionRef->deepCopy(), swizzleOffsetW); in appendVertexShaderDepthCorrectionToMain() [all …]
|
D | TranslatorMetal.cpp | 66 TIntermBinary *inverseY = new TIntermBinary(EOpMul, positionY->deepCopy(), negFlipY); in AppendVertexShaderPositionYCorrectionToMain() 69 TIntermTyped *positionYLHS = positionY->deepCopy(); in AppendVertexShaderPositionYCorrectionToMain() 205 TIntermBinary *zScale = new TIntermBinary(EOpMul, positionZ->deepCopy(), viewportZScale); in transformDepthBeforeCorrection() 208 TIntermTyped *positionZLHS = positionZ->deepCopy(); in transformDepthBeforeCorrection() 319 new TIntermBinary(TOperator::EOpAssign, positionRef->deepCopy(), constVarConstructor); in insertRasterizerDiscardLogic()
|
D | TranslatorVulkan.cpp | 114 queueReplacement(mVariableMap.at(&variable)->deepCopy(), OriginalNode::IS_DROPPED); in visitSymbol() 235 TIntermBinary *plusPivot = new TIntermBinary(EOpAdd, inverseXY, pivot->deepCopy()); in RotateAndFlipBuiltinVariable() 239 new TIntermBinary(EOpAssign, flippedBuiltinRef, builtinRef->deepCopy()); in RotateAndFlipBuiltinVariable() 243 new TIntermSwizzle(flippedBuiltinRef->deepCopy(), swizzleOffsetXY); in RotateAndFlipBuiltinVariable() 344 TIntermSwizzle *glPosW = CreateSwizzle(glPos->deepCopy(), 3); in AddBresenhamEmulationVS() 357 TIntermSwizzle *viewportXY = CreateSwizzle(viewportRef->deepCopy(), 0, 1); in AddBresenhamEmulationVS() 372 new TIntermBinary(EOpDiv, windowRounded, scaleConstant->deepCopy()); in AddBresenhamEmulationVS() 380 EOpSub, CreateTempSymbolNode(clampedWindowCoords), viewportXY->deepCopy()); in AddBresenhamEmulationVS() 383 TIntermBinary *clampedDivided = new TIntermBinary(EOpDiv, clampedOff2x, viewportZW->deepCopy()); in AddBresenhamEmulationVS() 697 TIntermSwizzle *viewportXY = CreateSwizzle(viewportRef->deepCopy(), 0, 1); in AddBresenhamEmulationFS() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | ReplaceClipCullDistanceVariable.cpp | 186 queueReplacement(mReplacement->deepCopy(), OriginalNode::IS_DROPPED); in visitSymbol() 204 new TIntermBinary(EOpIndexDirect, leftSymbol->deepCopy(), CreateIndexNode(index)); in simpleAssignFunc() 206 new TIntermBinary(EOpIndexDirect, rightSymbol->deepCopy(), CreateIndexNode(index)); in simpleAssignFunc() 222 TIntermBinary *bitwiseAnd = new TIntermBinary(EOpBitwiseAnd, enableFlags->deepCopy(), bitMask); in assignFuncWithEnableFlags() 226 new TIntermBinary(EOpIndexDirect, leftSymbol->deepCopy(), CreateIndexNode(index)); in assignFuncWithEnableFlags() 228 new TIntermBinary(EOpIndexDirect, rightSymbol->deepCopy(), CreateIndexNode(index)); in assignFuncWithEnableFlags() 234 new TIntermBinary(EOpAssign, left->deepCopy(), CreateFloatNode(0, EbpMedium)); in assignFuncWithEnableFlags() 389 EOpIndexDirect, glClipCullDistanceSymbol->deepCopy(), CreateIndexNode(i)); in assignANGLEValueToOriginalVariableImpl()
|
D | ReplaceArrayOfMatrixVarying.cpp | 122 new TIntermBinary(EOpIndexDirect, tempReplaceSymbol->deepCopy(), CreateIndexNode(i)); in ReplaceArrayOfMatrixVarying() 127 EOpIndexDirect, tempMatrixIndexed->deepCopy(), CreateIndexNode(col)); in ReplaceArrayOfMatrixVarying() 129 new TIntermBinary(EOpIndexDirect, varyingReplaceSymbol->deepCopy(), in ReplaceArrayOfMatrixVarying()
|
D | ReplaceVariable.cpp | 34 queueReplacement(mReplacement->deepCopy(), OriginalNode::IS_DROPPED); in visitSymbol() 55 queueReplacement(iter->second->deepCopy(), OriginalNode::IS_DROPPED); in visitSymbol()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
D | RewriteRowMajorMatrices.cpp | 153 TIntermTyped *rhs = binaryNode->getRight()->deepCopy(); in GetIndex() 281 TIntermTyped *element = expression->deepCopy(); in getCurrentElement() 1122 baseExpression->deepCopy(), primaryIndex, &secondaryIndices, structure, in transformExpression() 1144 baseExpression = baseExpression->deepCopy(); in transformExpression() 1238 secondaryIndexOp, baseExpression->deepCopy(), secondaryIndexAsTyped->deepCopy()); in transformReadExpression() 1240 new TIntermBinary(primaryIndexOp, colIndexed, primaryIndexAsTyped->deepCopy()); in transformReadExpression() 1297 CreateStructCopyCall(copyFromOriginal, valueExpression->deepCopy()); in transformWriteExpression() 1328 CreateTransposeCall(mSymbolTable, valueExpression->deepCopy()); in transformWriteExpression() 1355 secondaryIndexOp, baseExpression->deepCopy(), secondaryIndexAsTyped->deepCopy()); in transformWriteExpression() 1357 new TIntermBinary(primaryIndexOp, colIndexed, primaryIndexAsTyped->deepCopy()); in transformWriteExpression() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | IntermNode_test.cpp | 151 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()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | FixTypeConstructors.cpp | 62 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0}); in visitAggregate() 65 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0, 1}); in visitAggregate() 68 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0, 1, 2}); in visitAggregate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/ |
D | UseInterfaceBlockFields.cpp | 33 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()
|
/third_party/node/benchmark/assert/ |
D | deepequal-map.js | 24 const deepCopy = JSON.parse(JSON.stringify(values2 ? values2 : values)); 25 const expected = new Map(deepCopy);
|
D | deepequal-set.js | 24 const deepCopy = JSON.parse(JSON.stringify(values2 ? values2 : values)); 25 const expected = new Set(deepCopy);
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | EmulateFragColorData.cpp | 43 queueReplacement(replacement->second->deepCopy(), OriginalNode::IS_DROPPED); in visitSymbol() 99 TIntermSymbol *symbol = replaced.second->deepCopy()->getAsSymbolNode(); in addDeclarations()
|