/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A 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() in match() [all...] |
H A D | FindPreciseNodes.cpp | 99 TOperator op = binary->getOp(); in build() 163 TOperator op = binary->getOp(); in TraverseIndexNodesOnly() 375 if (!IsAssignment(node->getOp())) 386 if (IsAssignment(node->getOp())) 407 ASSERT(initNode->getOp() == EOpInitialize); 509 if (IsArithmeticOp(node->getOp())) 520 if (IsIndexOp(node->getOp())) 540 if (node->getOp() == EOpComma) 548 if (IsArithmeticOp(node->getOp())) 553 if (IsAssignment(node->getOp()) || nod [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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/ |
H A D | propagateNoContraction.cpp | 299 if (node->getOp() == glslang::EOpFunction) { in visitAggregate() 334 if (isAssignOperation(node->getOp())) { in visitUnary() 366 if (isAssignOperation(node->getOp())) { in visitBinary() 390 } else if (isDereferenceOperation(node->getOp())) { in visitBinary() 394 if (node->getOp() == glslang::EOpIndexDirectStruct) { in visitBinary() 488 assert(isAssignOperation(node->getOp())); in getPrecisenessAndRemainedAccessChain() 581 assert(isDereferenceOperation(node->getOp())); in visitBinary() 633 assert(isAssignOperation(BN->getOp())); in propagateNoContractionInOneExpression() 635 if (isArithmeticOperation(BN->getOp())) { in propagateNoContractionInOneExpression() 639 assert(isAssignOperation(UN->getOp())); in propagateNoContractionInOneExpression() [all...] |
H A D | LiveTraverser.h | 76 if (candidate && candidate->getOp() == EOpFunction && candidate->getName() == name) { in pushFunction() 88 if (candidate && candidate->getOp() == EOpSequence && in pushGlobalReference() 110 if (node->getOp() == EOpFunctionCall) in visitAggregate()
|
H A D | parseConst.cpp | 73 if (! node->isConstructor() && node->getOp() != EOpComma) { in visitAggregate() 82 constructorType = node->getOp(); in visitAggregate() 95 if (node->getOp() == EOpComma) in visitAggregate()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A 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()
|
H A 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()
|
H A D | ASTMetadataHLSL.cpp | 105 if (node->getOp() == EOpCallFunctionInAST) 115 else if (BuiltInGroup::IsBuiltIn(node->getOp()) && !BuiltInGroup::IsMath(node->getOp())) 273 if (visit == PreVisit && node->getOp() == EOpCallFunctionInAST) 348 switch (node->getOp())
|
H A D | ValidateGlobalInitializer.cpp | 102 (BuiltInGroup::IsBuiltIn(node->getOp()) && !BuiltInGroup::IsMath(node->getOp()))) in visitAggregate()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A 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() in validateIndexing() [all...] |
H A 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/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
H A 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()
|
H A D | RemoveAtomicCounterBuiltins.cpp | 46 if (node->getOp() == EOpMemoryBarrierAtomicCounter) 59 ASSERT(!(BuiltInGroup::IsBuiltIn(node->getOp()) &&
|
H A D | RecordConstantPrecision.cpp | 61 switch (parentAsBinary->getOp()) in operandAffectsParentOperationPrecision() 84 BuiltInGroup::IsMath(parentAsAggregate->getOp()); in operandAffectsParentOperationPrecision()
|
H A D | RewriteAtomicCounters.cpp | 120 switch (asBinary->getOp()) in CreateAtomicCounterRef() 219 if (BuiltInGroup::IsBuiltIn(node->getOp())) 248 const TOperator op = node->getOp(); in convertBuiltinFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A 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() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
H A 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/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | SeparateCompoundExpressions.cpp | 40 return IsIndex(binary->getOp()); in IsIndex() 48 if (!binary || binary->getOp() != op) in ViewBinaryChain() 72 ViewBinaryChain(node.getOp(), node, chain); in ViewBinaryChain() 90 const TOperator op = node.getOp(); in reassociateRight() 116 const TOperator op = node.getOp(); 364 pushBinding(node, *new TIntermUnary(node.getOp(), newExpr, node.getFunction())); 371 const TOperator op = node.getOp(); 392 const TOperator op = node.getOp();
|
H A D | RewriteUnaddressableReferences.cpp | 33 TOperator op = binary.getOp(); in IsVectorAccess() 158 TOperator op = node.getOp(); in DecomposeCompoundAssignment() 228 const TOperator op = binaryNode.getOp(); 317 const TOperator op = binaryNode.getOp();
|
/third_party/skia/src/pdf/ |
H A D | SkPDFGraphicStackState.cpp | 44 } else if (element->getOp() == SkClipOp::kIntersect) { in is_rect() 59 (element->getOp() != SkClipOp::kDifference && in is_complex_clip() 60 element->getOp() != SkClipOp::kIntersect)) { in is_complex_clip() 77 switch (element->getOp()) { in apply_clip()
|