Home
last modified time | relevance | path

Searched refs:fOperator (Results 1 – 17 of 17) sorted by relevance

/third_party/flutter/skia/src/sksl/ir/
DSkSLPrefixExpression.h26 , 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
DSkSLBinaryExpression.h27 , 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
DSkSLPostfixExpression.h24 , 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/
DSkSLPostfixExpression.h27 , fOperator(op) {} in PostfixExpression()
40 return fOperator; in getOperator()
66 Operator fOperator; variable
DSkSLPrefixExpression.h29 , fOperator(op) in PrefixExpression()
41 return fOperator; in getOperator()
70 Operator fOperator;
DSkSLBinaryExpression.h34 , fOperator(op) in BinaryExpression()
79 return fOperator; in getOperator()
101 Operator fOperator; variable
/third_party/skia/modules/svg/src/
DSkSVGFeComposite.cpp53 if (fOperator == SkSVGFeCompositeOperator::kArithmetic) { in onMakeImageFilter()
59 BlendModeForOperator(fOperator), background, foreground, cropRect); in onMakeImageFilter()
DSkSVGFeMorphology.cpp31 switch (fOperator) { in onMakeImageFilter()
/third_party/flutter/skia/src/sksl/
DSkSLGLSLCodeGenerator.cpp510 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()
DSkSLMetalCodeGenerator.cpp660 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()
DSkSLPipelineStageCodeGenerator.cpp63 if (b.fOperator == Token::PERCENT) { in writeBinaryExpression()
65 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression()
DSkSLCFGGenerator.cpp161 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()
DSkSLCompiler.cpp327 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()
DSkSLByteCodeGenerator.cpp594 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()
DSkSLJIT.cpp561 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()
DSkSLCPPCodeGenerator.cpp69 if (b.fOperator == Token::PERCENT) { in writeBinaryExpression()
71 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression()
95 switch (b.fOperator) { in writeBinaryExpression()
DSkSLSPIRVCodeGenerator.cpp2273 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()