/external/skia/src/sksl/ir/ |
D | SkSLPrefixExpression.h | 26 , fOperator(op) {} in PrefixExpression() 29 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant() 33 if (property == Property::kSideEffects && (fOperator == Token::PLUSPLUS || in hasProperty() 34 fOperator == Token::MINUSMINUS)) { in hasProperty() 53 SkASSERT(fOperator == Token::Kind::MINUS); in getFVecComponent() 58 SkASSERT(fOperator == Token::Kind::MINUS); in getIVecComponent() 63 SkASSERT(fOperator == Token::Kind::MINUS); in getMatComponent() 68 return std::unique_ptr<Expression>(new PrefixExpression(fOperator, fOperand->clone())); in clone() 73 return Compiler::OperatorName(fOperator) + fOperand->description(); in description() 78 const Token::Kind fOperator; member
|
D | SkSLBinaryExpression.h | 27 , fOperator(op) in BinaryExpression() 33 fOperator, in constantPropagate() 38 if (property == Property::kSideEffects && Compiler::IsAssignment(fOperator)) { in hasProperty() 45 return std::unique_ptr<Expression>(new BinaryExpression(fOffset, fLeft->clone(), fOperator, in clone() 51 return "(" + fLeft->description() + " " + Compiler::OperatorName(fOperator) + " " + in description() 57 const Token::Kind fOperator; member
|
D | SkSLPostfixExpression.h | 24 , fOperator(op) {} in PostfixExpression() 34 return std::unique_ptr<Expression>(new PostfixExpression(fOperand->clone(), fOperator)); in clone() 39 return fOperand->description() + Compiler::OperatorName(fOperator); in description() 44 const Token::Kind fOperator; member
|
/external/skqp/src/sksl/ir/ |
D | SkSLPrefixExpression.h | 25 , fOperator(op) {} in PrefixExpression() 28 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant() 32 return fOperator == Token::PLUSPLUS || fOperator == Token::MINUSMINUS || in hasSideEffects() 49 return std::unique_ptr<Expression>(new PrefixExpression(fOperator, fOperand->clone())); in clone() 53 return Compiler::OperatorName(fOperator) + fOperand->description(); in description() 57 const Token::Kind fOperator; member
|
D | SkSLBinaryExpression.h | 26 , fOperator(op) in BinaryExpression() 32 fOperator, in constantPropagate() 37 return Compiler::IsAssignment(fOperator) || fLeft->hasSideEffects() || in hasSideEffects() 42 return std::unique_ptr<Expression>(new BinaryExpression(fOffset, fLeft->clone(), fOperator, in clone() 47 return "(" + fLeft->description() + " " + Compiler::OperatorName(fOperator) + " " + in description() 52 const Token::Kind fOperator; member
|
D | SkSLPostfixExpression.h | 23 , fOperator(op) {} in PostfixExpression() 30 return std::unique_ptr<Expression>(new PostfixExpression(fOperand->clone(), fOperator)); in clone() 34 return fOperand->description() + Compiler::OperatorName(fOperator); in description() 38 const Token::Kind fOperator; member
|
/external/skqp/src/sksl/ast/ |
D | SkSLASTPrefixExpression.h | 23 , fOperator(op.fKind) in ASTPrefixExpression() 27 return Compiler::OperatorName(fOperator) + fOperand->description(); in description() 30 const Token::Kind fOperator; member
|
D | SkSLASTBinaryExpression.h | 25 , fOperator(op.fKind) in ASTBinaryExpression() 29 return "(" + fLeft->description() + " " + Compiler::OperatorName(fOperator) + " " + in description() 34 const Token::Kind fOperator; member
|
/external/skqp/src/sksl/ |
D | SkSLInterpreter.cpp | 339 switch (b.fOperator) { in evaluate() 403 switch (p.fOperator) { in evaluate() 429 if (Token::PLUSPLUS == p.fOperator) { in evaluate() 432 SkASSERT(Token::MINUSMINUS == p.fOperator); in evaluate() 437 if (Token::PLUSPLUS == p.fOperator) { in evaluate() 440 SkASSERT(Token::MINUSMINUS == p.fOperator); in evaluate()
|
D | SkSLGLSLCodeGenerator.cpp | 514 if (p.fOperator == Token::MINUS) { in writeFunctionCall() 895 (b.fOperator == Token::LOGICALAND || b.fOperator == Token::LOGICALOR)) { in writeFunctionCall() 900 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeFunctionCall() 905 Compiler::IsAssignment(b.fOperator) && in writeFunctionCall() 915 this->write(Compiler::OperatorName(b.fOperator)); in writeFunctionCall() 937 if (b.fOperator == Token::LOGICALAND) { in writeFunctionCall() 944 if (b.fOperator == Token::LOGICALAND) { in writeFunctionCall() 975 this->write(Compiler::OperatorName(p.fOperator)); in writeFunctionCall() 988 this->write(Compiler::OperatorName(p.fOperator)); in writeFunctionCall()
|
D | SkSLPipelineStageCodeGenerator.cpp | 62 if (b.fOperator == Token::PERCENT) { in writeBinaryExpression() 64 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression()
|
D | SkSLCFGGenerator.cpp | 159 if (b->fOperator == Token::EQ) { in tryRemoveExpression() 299 switch (b->fOperator) { in addExpression() 331 this->addExpression(cfg, &b->fLeft, !Compiler::IsAssignment(b->fOperator)); in addExpression() 374 p->fOperator != Token::PLUSPLUS && in addExpression() 375 p->fOperator != Token::MINUSMINUS); in addExpression()
|
D | SkSLCompiler.cpp | 314 if (b->fOperator == Token::EQ) { in addDefinitions() 316 } else if (Compiler::IsAssignment(b->fOperator)) { in addDefinitions() 339 if (p->fOperator == Token::MINUSMINUS || p->fOperator == Token::PLUSPLUS) { in addDefinitions() 349 if (p->fOperator == Token::MINUSMINUS || p->fOperator == Token::PLUSPLUS) { in addDefinitions() 476 if (!Compiler::IsAssignment(b.fOperator)) { in dead_assignment() 554 if (bin.fOperator == Token::EQ) { in delete_left() 755 switch (bin->fOperator) { in simplifyExpression()
|
D | SkSLMetalCodeGenerator.cpp | 529 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression() 533 if (Compiler::IsAssignment(b.fOperator) && in writeBinaryExpression() 542 if (b.fOperator != Token::EQ && Compiler::IsAssignment(b.fOperator) && in writeBinaryExpression() 553 String op = Compiler::OperatorName(b.fOperator); in writeBinaryExpression() 558 this->write(String(" ") + Compiler::OperatorName(b.fOperator) + " "); in writeBinaryExpression() 586 this->write(Compiler::OperatorName(p.fOperator)); in writePrefixExpression() 599 this->write(Compiler::OperatorName(p.fOperator)); in writePostfixExpression()
|
D | SkSLIRGenerator.cpp | 1479 if (!determine_binary_type(fContext, expression.fOperator, *rawLeftType, *rawRightType, in convertBinaryExpression() 1481 !Compiler::IsAssignment(expression.fOperator))) { in convertBinaryExpression() 1483 Compiler::OperatorName(expression.fOperator) + in convertBinaryExpression() 1488 if (Compiler::IsAssignment(expression.fOperator)) { in convertBinaryExpression() 1489 this->setRefKind(*left, expression.fOperator != Token::EQ ? in convertBinaryExpression() 1498 std::unique_ptr<Expression> result = this->constantFold(*left.get(), expression.fOperator, in convertBinaryExpression() 1503 expression.fOperator, in convertBinaryExpression() 1808 switch (expression.fOperator) { in convertPrefixExpression() 1835 String("'") + Compiler::OperatorName(expression.fOperator) + in convertPrefixExpression() 1844 String("'") + Compiler::OperatorName(expression.fOperator) + in convertPrefixExpression() [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 1949 switch (b.fOperator) { in writeBinaryExpression() 1967 if (is_assignment(b.fOperator)) { in writeBinaryExpression() 1975 if (b.fOperator == Token::COMMA) { in writeBinaryExpression() 2023 if (b.fOperator == Token::STAREQ) { in writeBinaryExpression() 2026 SkASSERT(b.fOperator == Token::STAR); in writeBinaryExpression() 2039 if (b.fOperator == Token::STAREQ) { in writeBinaryExpression() 2042 SkASSERT(b.fOperator == Token::STAR); in writeBinaryExpression() 2053 switch (b.fOperator) { in writeBinaryExpression() 2272 SkASSERT(a.fOperator == Token::LOGICALAND); in writeLogicalAnd() 2293 SkASSERT(o.fOperator == Token::LOGICALOR); in writeLogicalOr() [all …]
|
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()
|
/external/skia/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 515 if (p.fOperator == Token::MINUS) { in writeFunctionCall() 1092 (b.fOperator == Token::LOGICALAND || b.fOperator == Token::LOGICALOR)) { in writeFunctionCall() 1097 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeFunctionCall() 1102 Compiler::IsAssignment(b.fOperator) && in writeFunctionCall() 1112 this->write(Compiler::OperatorName(b.fOperator)); in writeFunctionCall() 1134 if (b.fOperator == Token::LOGICALAND) { in writeFunctionCall() 1141 if (b.fOperator == Token::LOGICALAND) { in writeFunctionCall() 1172 this->write(Compiler::OperatorName(p.fOperator)); in writeFunctionCall() 1185 this->write(Compiler::OperatorName(p.fOperator)); in writeFunctionCall()
|
D | SkSLMetalCodeGenerator.cpp | 669 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression() 671 switch (b.fOperator) { in writeBinaryExpression() 690 if (Compiler::IsAssignment(b.fOperator) && in writeBinaryExpression() 698 if (b.fOperator == Token::STAREQ && b.fLeft->fType.kind() == Type::kMatrix_Kind && in writeBinaryExpression() 703 if (b.fOperator != Token::EQ && Compiler::IsAssignment(b.fOperator) && in writeBinaryExpression() 714 String op = Compiler::OperatorName(b.fOperator); in writeBinaryExpression() 719 this->write(String(" ") + Compiler::OperatorName(b.fOperator) + " "); in writeBinaryExpression() 747 this->write(Compiler::OperatorName(p.fOperator)); in writePrefixExpression() 760 this->write(Compiler::OperatorName(p.fOperator)); in writePostfixExpression()
|
D | SkSLCFGGenerator.cpp | 166 if (b->fOperator == Token::EQ) { in tryRemoveExpression() 319 switch (b->fOperator) { in addExpression() 351 this->addExpression(cfg, &b->fLeft, !Compiler::IsAssignment(b->fOperator)); in addExpression() 403 p->fOperator != Token::PLUSPLUS && in addExpression() 404 p->fOperator != Token::MINUSMINUS); in addExpression()
|
D | SkSLPipelineStageCodeGenerator.cpp | 39 if (b.fOperator == Token::PERCENT) { in writeBinaryExpression() 41 Precedence precedence = GetBinaryPrecedence(b.fOperator); in writeBinaryExpression()
|
D | SkSLCompiler.cpp | 390 if (b->fOperator == Token::EQ) { in addDefinitions() 392 } else if (Compiler::IsAssignment(b->fOperator)) { in addDefinitions() 415 if (p->fOperator == Token::MINUSMINUS || p->fOperator == Token::PLUSPLUS) { in addDefinitions() 425 if (p->fOperator == Token::MINUSMINUS || p->fOperator == Token::PLUSPLUS) { in addDefinitions() 558 if (!Compiler::IsAssignment(b.fOperator)) { in dead_assignment() 642 if (bin.fOperator == Token::EQ) { in delete_left() 843 switch (bin->fOperator) { in simplifyExpression()
|
D | SkSLByteCodeGenerator.cpp | 491 if (b.fOperator == Token::Kind::EQ) { in writeBinaryExpression() 510 switch (b.fOperator) { in writeBinaryExpression() 520 if (is_assignment(b.fOperator)) { in writeBinaryExpression() 523 op = remove_assignment(b.fOperator); in writeBinaryExpression() 526 op = b.fOperator; in writeBinaryExpression() 1079 this->incOrDec(p.fOperator, *p.fOperand, false, result); in writePostfixExpression() 1084 switch (p.fOperator) { in writePrefixExpression() 1087 return this->incOrDec(p.fOperator, *p.fOperand, true, result); in writePrefixExpression()
|
/external/skqp/tools/bookmaker/ |
D | definition.h | 252 Operator fOperator = Operator::kUnknown; variable
|
D | definition.cpp | 61 DEFOP fOperator; member 284 fOperator = parser.fOperator; in parseOperator()
|