/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNodePatternMatcher.cpp | 58 return node->getOp() == EOpIndexIndirect && !node->getLeft()->isArray() && in IsDynamicIndexingOfVectorOrMatrix() 72 if (node->isArray() && node->getOp() == EOpAssign && parentNode != nullptr && in matchInternal() 82 (node->getOp() == EOpLogicalOr || node->getOp() == EOpLogicalAnd)) in matchInternal() 94 if (node->getOp() == EOpArrayLength) in match() 138 (parentBinary->getOp() == EOpAssign || parentBinary->getOp() == EOpInitialize)); in match() 142 (BuiltInGroup::IsBuiltIn(node->getOp()) && in match() 143 !BuiltInGroup::IsMath(node->getOp()))) && in match() 152 if (node->getOp() == EOpConstruct) in match()
|
D | FindPreciseNodes.cpp | 99 TOperator op = binary->getOp(); in build() 163 TOperator op = binary->getOp(); in TraverseIndexNodesOnly() 375 if (!IsAssignment(node->getOp())) in visitUnary() 386 if (IsAssignment(node->getOp())) in visitBinary() 407 ASSERT(initNode->getOp() == EOpInitialize); in visitDeclaration() 509 if (IsArithmeticOp(node->getOp())) in visitUnary() 520 if (IsIndexOp(node->getOp())) in visitBinary() 540 if (node->getOp() == EOpComma) in visitBinary() 548 if (IsArithmeticOp(node->getOp())) in visitBinary() 553 if (IsAssignment(node->getOp()) || node->getOp() == EOpInitialize) in visitBinary() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | IntermNodePatternMatcher.cpp | 58 return node->getOp() == EOpIndexIndirect && !node->getLeft()->isArray() && in IsDynamicIndexingOfVectorOrMatrix() 66 if (node->isArray() && node->getOp() == EOpAssign && parentNode != nullptr && in matchInternal() 76 (node->getOp() == EOpLogicalOr || node->getOp() == EOpLogicalAnd)) in matchInternal() 88 if (node->getOp() == EOpArrayLength) in match() 132 (parentBinary->getOp() == EOpAssign || parentBinary->getOp() == EOpInitialize)); in match() 143 if (node->getOp() == EOpConstruct) in match()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteExpressionsWithShaderStorageBlock.cpp | 185 if (IsCompoundAssignment(node->getOp())) in visitBinary() 196 new TIntermBinary(node->getOp(), tempSymbol->deepCopy(), rightNode->deepCopy()); in visitBinary() 208 new TIntermBinary(node->getOp(), node->getLeft(), rightNode->deepCopy()); in visitBinary() 220 else if (IsReadonlyBinaryOperatorNotInSSBOAccessChain(node->getOp()) && (leftSSBO || rightSSBO)) in visitBinary() 237 new TIntermBinary(node->getOp(), leftNode->deepCopy(), rightNode->deepCopy()); in visitBinary() 273 if (IsAtomicFunction(node->getOp()) && in visitAggregate() 348 if (node->getOp() == EOpArrayLength) in visitUnary() 363 if (IsIncrementOrDecrementOperator(node->getOp())) in visitUnary() 368 TIntermUnary *newUnary = new TIntermUnary(node->getOp(), temp1->deepCopy(), nullptr); in visitUnary()
|
D | RewriteAtomicFunctionExpressions.cpp | 84 if (parentBinary && parentBinary->getOp() == EOpInitialize) in rewriteAtomicFunctionCallNode() 118 return (node->getOp() == EOpAtomicExchange || node->getOp() == EOpAtomicCompSwap) && in IsAtomicExchangeOrCompSwapNoReturnValue() 129 if (!IsAtomicFunction(node->getOp()) || parentNode->getAsBlock()) in IsAtomicFunctionInsideExpression() 136 return !parentAsBinary || parentAsBinary->getOp() != EOpAssign; in IsAtomicFunctionInsideExpression() 143 if (IsAtomicFunction(node->getOp()) && in visitAggregate()
|
D | ArrayReturnValueToOutParameter.cpp | 139 ASSERT(!node->isArray() || node->getOp() != EOpCallInternalRawFunction); in visitAggregate() 140 if (visit == PreVisit && node->isArray() && node->getOp() == EOpCallFunctionInAST) in visitAggregate() 208 if (node->getOp() == EOpAssign && node->getLeft()->isArray()) in visitBinary() 211 ASSERT(rightAgg == nullptr || rightAgg->getOp() != EOpCallInternalRawFunction); in visitBinary() 212 if (rightAgg != nullptr && rightAgg->getOp() == EOpCallFunctionInAST) in visitBinary()
|
D | SeparateExpressionsReturningArrays.cpp | 55 return new TIntermBinary(node->getOp(), node->getLeft(), node->getRight()); in CopyAssignmentNode() 67 ASSERT(node->getOp() == EOpAssign); in visitBinary() 95 ASSERT(node->isConstructor() || node->getOp() == EOpCallFunctionInAST); in visitAggregate()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | propagateNoContraction.cpp | 301 if (node->getOp() == glslang::EOpFunction) { in visitAggregate() 336 if (isAssignOperation(node->getOp())) { in visitUnary() 368 if (isAssignOperation(node->getOp())) { in visitBinary() 392 } else if (isDereferenceOperation(node->getOp())) { in visitBinary() 396 if (node->getOp() == glslang::EOpIndexDirectStruct) { in visitBinary() 490 assert(isAssignOperation(node->getOp())); in getPrecisenessAndRemainedAccessChain() 583 assert(isDereferenceOperation(node->getOp())); in visitBinary() 635 assert(isAssignOperation(BN->getOp())); in propagateNoContractionInOneExpression() 637 if (isArithmeticOperation(BN->getOp())) { in propagateNoContractionInOneExpression() 641 assert(isAssignOperation(UN->getOp())); in propagateNoContractionInOneExpression() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | RewriteExpressionsWithShaderStorageBlock.cpp | 185 if (IsCompoundAssignment(node->getOp())) in visitBinary() 196 new TIntermBinary(node->getOp(), tempSymbol->deepCopy(), rightNode->deepCopy()); in visitBinary() 208 new TIntermBinary(node->getOp(), node->getLeft(), rightNode->deepCopy()); in visitBinary() 220 else if (IsReadonlyBinaryOperatorNotInSSBOAccessChain(node->getOp()) && (leftSSBO || rightSSBO)) in visitBinary() 237 new TIntermBinary(node->getOp(), leftNode->deepCopy(), rightNode->deepCopy()); in visitBinary() 273 if (BuiltInGroup::IsAtomicMemory(node->getOp()) && in visitAggregate() 348 if (node->getOp() == EOpArrayLength) in visitUnary() 363 if (IsIncrementOrDecrementOperator(node->getOp())) in visitUnary() 368 TIntermUnary *newUnary = new TIntermUnary(node->getOp(), temp1->deepCopy(), nullptr); in visitUnary()
|
D | RecordUniformBlocksWithLargeArrayMember.cpp | 194 !(accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || in visitSymbol() 195 accessorAsBinary->getOp() == EOpIndexIndirect))) in visitSymbol() 234 if (accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || in visitSymbol() 235 accessorAsBinary->getOp() == EOpIndexIndirect)) in visitSymbol() 252 switch (node->getOp()) in visitBinary() 306 !(accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || in visitBinary() 307 accessorAsBinary->getOp() == EOpIndexIndirect))) && in visitBinary() 322 if (accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || in visitBinary() 323 accessorAsBinary->getOp() == EOpIndexIndirect)) in visitBinary()
|
D | RewriteAtomicFunctionExpressions.cpp | 84 if (parentBinary && parentBinary->getOp() == EOpInitialize) in rewriteAtomicFunctionCallNode() 118 return (node->getOp() == EOpAtomicExchange || node->getOp() == EOpAtomicCompSwap) && in IsAtomicExchangeOrCompSwapNoReturnValue() 129 if (!BuiltInGroup::IsAtomicMemory(node->getOp()) || parentNode->getAsBlock()) in IsAtomicFunctionInsideExpression() 136 return !parentAsBinary || parentAsBinary->getOp() != EOpAssign; in IsAtomicFunctionInsideExpression() 143 if (BuiltInGroup::IsAtomicMemory(node->getOp()) && in visitAggregate()
|
D | ArrayReturnValueToOutParameter.cpp | 143 ASSERT(!node->isArray() || node->getOp() != EOpCallInternalRawFunction); in visitAggregate() 144 if (visit == PreVisit && node->isArray() && node->getOp() == EOpCallFunctionInAST) in visitAggregate() 211 if (node->getOp() == EOpAssign && node->getLeft()->isArray()) in visitBinary() 214 ASSERT(rightAgg == nullptr || rightAgg->getOp() != EOpCallInternalRawFunction); in visitBinary() 215 if (rightAgg != nullptr && rightAgg->getOp() == EOpCallFunctionInAST) in visitBinary()
|
D | SeparateExpressionsReturningArrays.cpp | 55 return new TIntermBinary(node->getOp(), node->getLeft(), node->getRight()); in CopyAssignmentNode() 67 ASSERT(node->getOp() == EOpAssign); in visitBinary() 95 ASSERT(node->isConstructor() || node->getOp() == EOpCallFunctionInAST); in visitAggregate()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | ValidateLimitations.cpp | 125 switch (node->getOp()) { in visitBinary() 147 switch (node->getOp()) { in visitAggregate() 243 if (!decl || (decl->getOp() != EOpDeclaration)) { in validateForLoopInit() 254 if (!declInit || (declInit->getOp() != EOpInitialize)) { in validateForLoopInit() 311 switch (binOp->getOp()) { in validateForLoopCond() 322 getOperatorString(binOp->getOp())); in validateForLoopCond() 360 op = unOp->getOp(); in validateForLoopExpr() 363 op = binOp->getOp(); in validateForLoopExpr() 410 ASSERT(node->getOp() == EOpFunctionCall); in validateFunctionCall() 482 ASSERT((node->getOp() == EOpIndexDirect) || in validateIndexing() [all …]
|
D | intermOut.cpp | 101 switch (node->getOp()) { in visitBinary() 165 switch (node->getOp()) { in visitUnary() 249 if (node->getOp() == EOpNull) { in visitAggregate() 256 switch (node->getOp()) { in visitAggregate() 329 if (node->getOp() != EOpSequence && node->getOp() != EOpParameters) in visitAggregate()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ValidateLimitations.cpp | 127 switch (node->getOp()) in visitBinary() 234 if ((declInit == nullptr) || (declInit->getOp() != EOpInitialize)) in validateForLoopInit() 294 switch (binOp->getOp()) in validateForLoopCond() 305 GetOperatorString(binOp->getOp())); in validateForLoopCond() 344 op = unOp->getOp(); in validateForLoopExpr() 349 op = binOp->getOp(); in validateForLoopExpr() 414 ASSERT((node->getOp() == EOpIndexDirect) || (node->getOp() == EOpIndexIndirect)); in validateIndexing()
|
D | OutputHLSL.cpp | 123 if (node.getOp() == EOpAssign && IsAtomicFunction(aggregateNode->getOp())) in IsAtomicFunctionForSharedVariableDirectAssign() 185 switch (ancestorBinary->getOp()) in needStructMapping() 1341 switch (ancestorBinary->getOp()) in ancestorEvaluatesToSamplerInStruct() 1380 switch (node->getOp()) in visitBinary() 1414 TOperator atomicFunctionOp = atomicFunctionNode->getOp(); in visitBinary() 1710 outputEqual(visit, node->getLeft()->getType(), node->getOp(), out); in visitBinary() 1766 switch (node->getOp()) in visitUnary() 1827 writeEmulatedFunctionTriplet(out, visit, node->getOp()); in visitUnary() 1864 writeEmulatedFunctionTriplet(out, visit, node->getOp()); in visitUnary() 1874 writeEmulatedFunctionTriplet(out, visit, node->getOp()); in visitUnary() [all …]
|
D | OutputTree.cpp | 118 switch (node->getOp()) in visitBinary() 271 if (node->getOp() == EOpIndexDirectStruct || node->getOp() == EOpIndexDirectInterfaceBlock) in visitBinary() 304 switch (node->getOp()) in visitUnary() 343 mOut << GetOperatorString(node->getOp()); in visitUnary() 387 if (node->getOp() == EOpNull) in visitAggregate() 396 switch (node->getOp()) in visitAggregate() 444 mOut << GetOperatorString(node->getOp()); in visitAggregate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | ValidateLimitations.cpp | 127 switch (node->getOp()) in visitBinary() 234 if ((declInit == nullptr) || (declInit->getOp() != EOpInitialize)) in validateForLoopInit() 294 switch (binOp->getOp()) in validateForLoopCond() 305 GetOperatorString(binOp->getOp())); in validateForLoopCond() 345 op = unOp->getOp(); in validateForLoopExpr() 351 op = binOp->getOp(); in validateForLoopExpr() 424 ASSERT((node->getOp() == EOpIndexDirect) || (node->getOp() == EOpIndexIndirect)); in validateIndexing()
|
D | OutputTree.cpp | 119 switch (node->getOp()) in visitBinary() 272 if (node->getOp() == EOpIndexDirectStruct || node->getOp() == EOpIndexDirectInterfaceBlock) in visitBinary() 305 const TOperator op = node->getOp(); in visitUnary() 352 mOut << GetOperatorString(node->getOp()); in visitUnary() 405 const TOperator op = node->getOp(); in visitAggregate() 467 mOut << GetOperatorString(node->getOp()); in visitAggregate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfExpression.cpp | 230 if (Op && Op->getOp() != dwarf::DW_OP_LLVM_fragment) in addMachineRegExpression() 268 return Op.getOp() == dwarf::DW_OP_stack_value; in addMachineRegExpression() 283 if (Op && (Op->getOp() == dwarf::DW_OP_plus_uconst)) { in addMachineRegExpression() 295 if (Op && Op->getOp() == dwarf::DW_OP_constu) { in addMachineRegExpression() 299 if (N && N->getOp() == dwarf::DW_OP_plus && Offset <= IntMax) { in addMachineRegExpression() 302 } else if (N && N->getOp() == dwarf::DW_OP_minus && in addMachineRegExpression() 321 assert(Op && Op->getOp() == dwarf::DW_OP_LLVM_entry_value); in beginEntryValueExpression() 351 switch (Op->getOp()) { in isMemoryLocation() 367 if (SubRegisterSizeInBits && N && (N->getOp() != dwarf::DW_OP_LLVM_fragment)) in addExpression() 374 uint64_t OpNum = Op->getOp(); in addExpression()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteDfdy.cpp | 86 if ((node->getOp() != EOpDFdx) && (node->getOp() != EOpDFdy)) in visitAggregateWithRotation() 120 if (node->getOp() == EOpDFdx) in visitAggregateWithRotation() 139 if (node->getOp() == EOpDFdx) in visitAggregateWithRotation() 189 if (node->getOp() != EOpDFdy) in visitAggregateWithoutRotation()
|
/third_party/flutter/skia/src/core/ |
D | SkClipStack.cpp | 706 if (kIntersect_SkClipOp != element->getOp() && kReplace_SkClipOp != element->getOp()) in internalQuickContains() 718 if (kReplace_SkClipOp == element->getOp()) { in internalQuickContains() 731 if (kIntersect_SkClipOp != element->getOp() && kReplace_SkClipOp != element->getOp()) in internalQuickContains() 743 if (kReplace_SkClipOp == element->getOp()) { in internalQuickContains() 764 SkClipOp elementOp = element->getOp(); in asPath() 786 if (prior->canBeIntersectedInPlace(fSaveCount, element.getOp())) { in pushElement() 818 } else if (kReplace_SkClipOp == element.getOp()) { in pushElement() 979 if (back->getOp() == kReplace_SkClipOp) { in isRRect() 985 if (back->getOp() == kIntersect_SkClipOp) { in isRRect() 1000 if ((prior->getOp() != kIntersect_SkClipOp && in isRRect() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | RewriteR32fImages.cpp | 118 if (!BuiltInGroup::IsBuiltIn(node->getOp())) in RewriteBuiltinFunctionCall() 143 ASSERT(asBinary->getOp() == EOpIndexDirect || asBinary->getOp() == EOpIndexIndirect); in RewriteBuiltinFunctionCall() 165 switch (asBinary->getOp()) in RewriteBuiltinFunctionCall() 182 replacementExpression = new TIntermBinary(asBinary->getOp(), replacementExpression, index); in RewriteBuiltinFunctionCall()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | RemovePow_test.cpp | 73 if (node->getOp() == EOpPow) in visitBinary() 86 if (exp != nullptr && exp->getOp() == EOpExp2) in IsPowWorkaround() 94 if (log->getOp() == EOpLog2) in IsPowWorkaround()
|