/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLPrefixExpression.h | 26 , fOperator(op) {} in PrefixExpression() 29 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant() 33 return fOperator == Token::PLUSPLUS || fOperator == Token::MINUSMINUS || in hasSideEffects() 50 SkASSERT(fOperator == Token::Kind::MINUS); in getFVecComponent() 55 SkASSERT(fOperator == Token::Kind::MINUS); in getIVecComponent() 60 SkASSERT(fOperator == Token::Kind::MINUS); in getMatComponent() 65 return std::unique_ptr<Expression>(new PrefixExpression(fOperator, fOperand->clone())); in clone() 69 return Compiler::OperatorName(fOperator) + fOperand->description(); in description() 73 const Token::Kind fOperator; member
|
D | SkSLBinaryExpression.h | 27 , fOperator(op) in BinaryExpression() 33 fOperator, in constantPropagate() 38 return Compiler::IsAssignment(fOperator) || fLeft->hasSideEffects() || in hasSideEffects() 43 return std::unique_ptr<Expression>(new BinaryExpression(fOffset, fLeft->clone(), fOperator, in clone() 48 return "(" + fLeft->description() + " " + Compiler::OperatorName(fOperator) + " " + in description() 53 const Token::Kind fOperator; member
|
D | SkSLPostfixExpression.h | 24 , fOperator(op) {} in PostfixExpression() 31 return std::unique_ptr<Expression>(new PostfixExpression(fOperand->clone(), fOperator)); in clone() 35 return fOperand->description() + Compiler::OperatorName(fOperator); in description() 39 const Token::Kind fOperator; member
|
/third_party/skia/src/sksl/ir/ |
D | SkSLPostfixExpression.h | 27 , fOperator(op) {} in PostfixExpression() 40 return fOperator; in getOperator() 66 Operator fOperator; variable
|
D | SkSLPrefixExpression.h | 29 , fOperator(op) in PrefixExpression() 41 return fOperator; in getOperator() 70 Operator fOperator;
|
D | SkSLBinaryExpression.h | 34 , fOperator(op) in BinaryExpression() 79 return fOperator; in getOperator() 101 Operator fOperator; variable
|
/third_party/skia/modules/svg/src/ |
D | SkSVGFeComposite.cpp | 53 if (fOperator == SkSVGFeCompositeOperator::kArithmetic) { in onMakeImageFilter() 59 BlendModeForOperator(fOperator), background, foreground, cropRect); in onMakeImageFilter()
|
D | SkSVGFeMorphology.cpp | 31 switch (fOperator) { in onMakeImageFilter()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 510 if (p.fOperator == Token::MINUS) { in writeFunctionCall() 918 (b.fOperator == Token::LOGICALAND || b.fOperator == Token::LOGICALOR)) { in writeFunctionCall() 923 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeFunctionCall() 928 Compiler::IsAssignment(b.fOperator) && in writeFunctionCall() 938 this->write(Compiler::OperatorName(b.fOperator)); in writeFunctionCall() 960 if (b.fOperator == Token::LOGICALAND) { in writeFunctionCall() 967 if (b.fOperator == Token::LOGICALAND) { in writeFunctionCall() 998 this->write(Compiler::OperatorName(p.fOperator)); in writeFunctionCall() 1011 this->write(Compiler::OperatorName(p.fOperator)); in writeFunctionCall()
|
D | SkSLMetalCodeGenerator.cpp | 660 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression() 662 switch (b.fOperator) { in writeBinaryExpression() 681 if (Compiler::IsAssignment(b.fOperator) && in writeBinaryExpression() 689 if (b.fOperator == Token::STAREQ && b.fLeft->fType.kind() == Type::kMatrix_Kind && in writeBinaryExpression() 694 if (b.fOperator != Token::EQ && Compiler::IsAssignment(b.fOperator) && in writeBinaryExpression() 705 String op = Compiler::OperatorName(b.fOperator); in writeBinaryExpression() 710 this->write(String(" ") + Compiler::OperatorName(b.fOperator) + " "); in writeBinaryExpression() 738 this->write(Compiler::OperatorName(p.fOperator)); in writePrefixExpression() 751 this->write(Compiler::OperatorName(p.fOperator)); in writePostfixExpression()
|
D | SkSLPipelineStageCodeGenerator.cpp | 63 if (b.fOperator == Token::PERCENT) { in writeBinaryExpression() 65 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression()
|
D | SkSLCFGGenerator.cpp | 161 if (b->fOperator == Token::EQ) { in tryRemoveExpression() 301 switch (b->fOperator) { in addExpression() 333 this->addExpression(cfg, &b->fLeft, !Compiler::IsAssignment(b->fOperator)); in addExpression() 385 p->fOperator != Token::PLUSPLUS && in addExpression() 386 p->fOperator != Token::MINUSMINUS); in addExpression()
|
D | SkSLCompiler.cpp | 327 if (b->fOperator == Token::EQ) { in addDefinitions() 329 } else if (Compiler::IsAssignment(b->fOperator)) { in addDefinitions() 352 if (p->fOperator == Token::MINUSMINUS || p->fOperator == Token::PLUSPLUS) { in addDefinitions() 362 if (p->fOperator == Token::MINUSMINUS || p->fOperator == Token::PLUSPLUS) { in addDefinitions() 491 if (!Compiler::IsAssignment(b.fOperator)) { in dead_assignment() 575 if (bin.fOperator == Token::EQ) { in delete_left() 776 switch (bin->fOperator) { in simplifyExpression()
|
D | SkSLByteCodeGenerator.cpp | 594 if (b.fOperator == Token::Kind::EQ) { in writeBinaryExpression() 607 if (is_assignment(b.fOperator)) { in writeBinaryExpression() 610 op = remove_assignment(b.fOperator); in writeBinaryExpression() 613 op = b.fOperator; in writeBinaryExpression() 1011 switch (p.fOperator) { in writePrefixExpression() 1019 if (p.fOperator == Token::Kind::PLUSPLUS) { in writePrefixExpression() 1052 switch (p.fOperator) { in writePostfixExpression() 1064 if (p.fOperator == Token::Kind::PLUSPLUS) { in writePostfixExpression()
|
D | SkSLJIT.cpp | 561 switch (b.fOperator) { in compileBinary() 746 switch (p.fOperator) { in compilePostfix() 782 if (Token::LOGICALNOT == p.fOperator) { in compilePrefix() 786 if (Token::MINUS == p.fOperator) { in compilePrefix() 793 switch (p.fOperator) { in compilePrefix() 1470 switch (b.fOperator) { in compileVectorBinary()
|
D | SkSLCPPCodeGenerator.cpp | 69 if (b.fOperator == Token::PERCENT) { in writeBinaryExpression() 71 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression() 95 switch (b.fOperator) { in writeBinaryExpression()
|
D | SkSLSPIRVCodeGenerator.cpp | 2273 switch (b.fOperator) { in writeBinaryExpression() 2289 if (is_assignment(b.fOperator)) { in writeBinaryExpression() 2297 SpvId result = this->writeBinaryExpression(b.fLeft->fType, lhs, remove_assignment(b.fOperator), in writeBinaryExpression() 2306 SkASSERT(a.fOperator == Token::LOGICALAND); in writeLogicalAnd() 2327 SkASSERT(o.fOperator == Token::LOGICALOR); in writeLogicalOr() 2382 if (p.fOperator == Token::MINUS) { in writePrefixExpression() 2396 switch (p.fOperator) { in writePrefixExpression() 2439 switch (p.fOperator) { in writePostfixExpression()
|