Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/dsl/
DDSLExpression.cpp37 : fExpression(std::move(other.fExpression)) {} in DSLExpression()
40 : fExpression(std::move(expression)) { in DSLExpression()
45 : fExpression(SkSL::Literal::MakeFloat(ThreadContext::Context(), in DSLExpression()
58 : fExpression(SkSL::Literal::MakeInt(ThreadContext::Context(), in DSLExpression()
63 : fExpression(SkSL::Literal::MakeInt(ThreadContext::Context(), in DSLExpression()
68 : fExpression(SkSL::Literal::MakeInt(ThreadContext::Context(), in DSLExpression()
73 : fExpression(SkSL::Literal::MakeBool(ThreadContext::Context(), in DSLExpression()
78 fExpression = std::make_unique<SkSL::VariableReference>(pos.line(), DSLWriter::Var(var), in DSLExpression()
88 fExpression = std::move(expr.fExpression); in DSLExpression()
90 fExpression = SkSL::Poison::Make(pos.line(), ThreadContext::Context()); in DSLExpression()
[all …]
DDSLVar.cpp91 std::swap(fInitialValue.fExpression, other.fInitialValue.fExpression); in swap()
/third_party/flutter/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
/third_party/skia/src/sksl/ir/
DSkSLReturnStatement.h25 , fExpression(std::move(expression)) {} in ReturnStatement()
32 return fExpression; in expression()
36 return fExpression; in expression()
40 fExpression = std::move(expr); in setExpression()
56 std::unique_ptr<Expression> fExpression;
DSkSLExpressionStatement.h25 , fExpression(std::move(expression)) {} in ExpressionStatement()
33 return fExpression; in expression()
37 return fExpression; in expression()
49 std::unique_ptr<Expression> fExpression;
/third_party/flutter/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;
DSkSLByteCodeGenerator.cpp1268 , fExpression(expr) {} in ByteCodeExpressionLValue()
1271 fGenerator.writeVariableExpression(fExpression); in load()
1275 int count = ByteCodeGenerator::SlotCount(fExpression.fType); in store()
1285 int location = fGenerator.getLocation(fExpression, &storage); in store()
1307 const Expression& fExpression; member in SkSL::ByteCodeExpressionLValue
1431 int count = SlotCount(r.fExpression->fType); in writeReturnStatement()
1432 this->writeExpression(*r.fExpression); in writeReturnStatement()
1503 this->writeExpression(*((ExpressionStatement&) s).fExpression, true); in writeStatement()
DSkSLMetalCodeGenerator.cpp1149 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeStatement()
1277 if (r.fExpression) { in writeReturnStatement()
1279 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeReturnStatement()
1606 return this->requirements(*((const ExpressionStatement&) s).fExpression); in requirements()
1609 if (r.fExpression) { in requirements()
1610 return this->requirements(*r.fExpression); in requirements()
DSkSLCFGGenerator.cpp499 this->addExpression(cfg, &((ExpressionStatement&) **s).fExpression, true); in addStatement()
528 if (r.fExpression) { in addStatement()
529 this->addExpression(cfg, &r.fExpression, true); in addStatement()
DSkSLGLSLCodeGenerator.cpp1295 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeFunctionCall()
1477 if (r.fExpression) { in writeFunctionCall()
1479 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()
DSkSLCompiler.cpp1127 if (!e.fExpression->hasSideEffects()) { in simplifyStatement()
1129 if (!b.tryRemoveExpressionBefore(iter, e.fExpression.get())) { in simplifyStatement()
DSkSLSPIRVCodeGenerator.cpp2826 this->writeExpression(*((ExpressionStatement&) s).fExpression, out); in writeStatement()
3040 if (r.fExpression) { in writeReturnStatement()
3041 this->writeInstruction(SpvOpReturnValue, this->writeExpression(*r.fExpression, out), in writeReturnStatement()
DSkSLIRGenerator.cpp213 Expression& expr = *((ExpressionStatement&) *result).fExpression; in convertStatement()
/third_party/skia/include/sksl/
DDSLExpression.h140 return fExpression != nullptr; in hasValue()
162 std::unique_ptr<SkSL::Expression> fExpression; variable
235 return fExpression != nullptr; in valid()
290 std::unique_ptr<SkSL::Expression> fExpression;