Home
last modified time | relevance | path

Searched refs:fExpression (Results 1 – 25 of 31) sorted by relevance

12

/external/skqp/src/sksl/ir/
DSkSLReturnStatement.h25 , fExpression(std::move(expression)) {} in ReturnStatement()
28 if (fExpression) { in clone()
29 return std::unique_ptr<Statement>(new ReturnStatement(fExpression->clone())); in clone()
35 if (fExpression) { in description()
36 return "return " + fExpression->description() + ";"; in description()
42 std::unique_ptr<Expression> fExpression; member
DSkSLExpressionStatement.h22 , fExpression(std::move(expression)) {} in ExpressionStatement()
25 return std::unique_ptr<Statement>(new ExpressionStatement(fExpression->clone())); in clone()
29 return fExpression->description() + ";"; in description()
32 std::unique_ptr<Expression> fExpression; member
/external/skia/src/sksl/ir/
DSkSLReturnStatement.h25 , fExpression(std::move(expression)) {} in ReturnStatement()
28 if (fExpression) { in clone()
29 return std::unique_ptr<Statement>(new ReturnStatement(fExpression->clone())); in clone()
35 if (fExpression) { in description()
36 return "return " + fExpression->description() + ";"; in description()
42 std::unique_ptr<Expression> fExpression; member
DSkSLExpressionStatement.h22 , fExpression(std::move(expression)) {} in ExpressionStatement()
25 return std::unique_ptr<Statement>(new ExpressionStatement(fExpression->clone())); in clone()
29 return fExpression->description() + ";"; in description()
32 std::unique_ptr<Expression> fExpression; member
/external/skia/src/sksl/ast/
DSkSLASTIndexSuffix.h23 , fExpression(nullptr) {} in ASTIndexSuffix()
27 , fExpression(std::move(expression)) {} in ASTIndexSuffix()
30 if (fExpression) { in description()
31 return "[" + fExpression->description() + "]"; in description()
38 std::unique_ptr<ASTExpression> fExpression; member
DSkSLASTReturnStatement.h22 , fExpression(std::move(expression)) {} in ASTReturnStatement()
26 if (fExpression) { in description()
27 result += " " + fExpression->description(); in description()
32 const std::unique_ptr<ASTExpression> fExpression; member
DSkSLASTExpressionStatement.h21 , fExpression(std::move(expression)) {} in ASTExpressionStatement()
24 return fExpression->description() + ";"; in description()
27 const std::unique_ptr<ASTExpression> fExpression; member
/external/skqp/src/sksl/ast/
DSkSLASTIndexSuffix.h23 , fExpression(nullptr) {} in ASTIndexSuffix()
27 , fExpression(std::move(expression)) {} in ASTIndexSuffix()
30 if (fExpression) { in description()
31 return "[" + fExpression->description() + "]"; in description()
38 std::unique_ptr<ASTExpression> fExpression; member
DSkSLASTReturnStatement.h22 , fExpression(std::move(expression)) {} in ASTReturnStatement()
26 if (fExpression) { in description()
27 result += " " + fExpression->description(); in description()
32 const std::unique_ptr<ASTExpression> fExpression; member
DSkSLASTExpressionStatement.h21 , fExpression(std::move(expression)) {} in ASTExpressionStatement()
24 return fExpression->description() + ";"; in description()
27 const std::unique_ptr<ASTExpression> fExpression; member
/external/skia/src/sksl/
DSkSLCFGGenerator.h33 , fExpression(expression) in Node()
38 return fExpression; in expression()
43 *fExpression = std::move(expr); in setExpression()
61 return (*fExpression)->description(); in description()
78 std::unique_ptr<Expression>* fExpression;
DSkSLMetalCodeGenerator.cpp1143 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeStatement()
1271 if (r.fExpression) { in writeReturnStatement()
1273 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeReturnStatement()
1600 return this->requirements(*((const ExpressionStatement&) s).fExpression); in requirements()
1603 if (r.fExpression) { in requirements()
1604 return this->requirements(*r.fExpression); in requirements()
DSkSLCFGGenerator.cpp482 this->addExpression(cfg, &((ExpressionStatement&) **s).fExpression, true); in addStatement()
511 if (r.fExpression) { in addStatement()
512 this->addExpression(cfg, &r.fExpression, true); in addStatement()
DSkSLGLSLCodeGenerator.cpp1291 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeFunctionCall()
1473 if (r.fExpression) { in writeFunctionCall()
1475 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeFunctionCall()
DSkSLJIT.cpp1203 if (r.fExpression) { in compileReturn()
1204 LLVMBuildRet(builder, this->compileExpression(builder, *r.fExpression)); in compileReturn()
1227 this->compileExpression(builder, *((ExpressionStatement&) stmt).fExpression); in compileStatement()
1648 *((const ExpressionStatement&) stmt).fExpression, in compileVectorStatement()
DSkSLIRGenerator.cpp199 Expression& expr = *((ExpressionStatement&) *result).fExpression; in convertStatement()
523 std::unique_ptr<Expression> e = this->convertExpression(*s.fExpression); in convertExpressionStatement()
537 if (r.fExpression) { in convertReturn()
538 std::unique_ptr<Expression> result = this->convertExpression(*r.fExpression); in convertReturn()
2176 const ASTExpression* expr = ((ASTIndexSuffix&) *expression.fSuffix).fExpression.get(); in convertSuffixExpression()
DSkSLInterpreter.cpp109 this->evaluate(*((const ExpressionStatement&) stmt).fExpression); in runStatement()
/external/skqp/src/sksl/
DSkSLCFGGenerator.h33 , fExpression(expression) in Node()
38 return fExpression; in expression()
43 *fExpression = std::move(expr); in setExpression()
61 return (*fExpression)->description(); in description()
78 std::unique_ptr<Expression>* fExpression;
DSkSLMetalCodeGenerator.cpp999 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeStatement()
1127 if (r.fExpression) { in writeReturnStatement()
1129 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeReturnStatement()
1458 return this->requirements(*((const ExpressionStatement&) s).fExpression); in requirements()
1461 if (r.fExpression) { in requirements()
1462 return this->requirements(*r.fExpression); in requirements()
DSkSLCFGGenerator.cpp481 this->addExpression(cfg, &((ExpressionStatement&) **s).fExpression, true); in addStatement()
510 if (r.fExpression) { in addStatement()
511 this->addExpression(cfg, &r.fExpression, true); in addStatement()
DSkSLGLSLCodeGenerator.cpp1264 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeFunctionCall()
1446 if (r.fExpression) { in writeFunctionCall()
1448 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeFunctionCall()
DSkSLJIT.cpp1203 if (r.fExpression) { in compileReturn()
1204 LLVMBuildRet(builder, this->compileExpression(builder, *r.fExpression)); in compileReturn()
1227 this->compileExpression(builder, *((ExpressionStatement&) stmt).fExpression); in compileStatement()
1648 *((const ExpressionStatement&) stmt).fExpression, in compileVectorStatement()
DSkSLIRGenerator.cpp193 Expression& expr = *((ExpressionStatement&) *result).fExpression; in convertStatement()
517 std::unique_ptr<Expression> e = this->convertExpression(*s.fExpression); in convertExpressionStatement()
531 if (r.fExpression) { in convertReturn()
532 std::unique_ptr<Expression> result = this->convertExpression(*r.fExpression); in convertReturn()
2112 const ASTExpression* expr = ((ASTIndexSuffix&) *expression.fSuffix).fExpression.get(); in convertSuffixExpression()
DSkSLInterpreter.cpp109 this->evaluate(*((const ExpressionStatement&) stmt).fExpression); in runStatement()
DSkSLCompiler.cpp1106 if (!e.fExpression->hasSideEffects()) { in simplifyStatement()
1108 if (!b.tryRemoveExpressionBefore(iter, e.fExpression.get())) { in simplifyStatement()

12