Home
last modified time | relevance | path

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

/third_party/skia/src/sksl/ir/
DSkSLTernaryExpression.cpp19 std::unique_ptr<Expression> TernaryExpression::Convert(const Context& context, in Convert()
58 return TernaryExpression::Make(context, std::move(test), std::move(ifTrue), std::move(ifFalse)); in Convert()
61 std::unique_ptr<Expression> TernaryExpression::Make(const Context& context, in Make()
76 return std::make_unique<TernaryExpression>(test->fLine, std::move(test), std::move(ifTrue), in Make()
DSkSLTernaryExpression.h18 class TernaryExpression final : public Expression {
22 TernaryExpression(int line, std::unique_ptr<Expression> test, in TernaryExpression() function
79 return std::make_unique<TernaryExpression>(fLine, this->test()->clone(), in clone()
DSkSLBinaryExpression.cpp197 return TernaryExpression::Make( in Make()
223 const TernaryExpression& t = expr.as<TernaryExpression>(); in CheckRef()
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.h42 class TernaryExpression; variable
140 virtual void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
DSkSLMetalCodeGenerator.h45 class TernaryExpression; variable
223 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
DSkSLPipelineStageCodeGenerator.cpp91 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
503 this->writeTernaryExpression(expr.as<TernaryExpression>(), parentPrecedence); in writeExpression()
573 void PipelineStageCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeTernaryExpression()
DSkSLSPIRVCodeGenerator.h51 class TernaryExpression; variable
375 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
DSkSLMetalCodeGenerator.cpp183 this->writeTernaryExpression(expr.as<TernaryExpression>(), parentPrecedence); in writeExpression()
1665 void MetalCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeTernaryExpression()
2603 const TernaryExpression& t = e->as<TernaryExpression>(); in requirements()
DSkSLGLSLCodeGenerator.cpp218 this->writeTernaryExpression(expr.as<TernaryExpression>(), parentPrecedence); in writeExpression()
949 void GLSLCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeTernaryExpression()
DSkSLVMCodeGenerator.cpp227 Value writeTernaryExpression(const TernaryExpression& t);
1483 Value SkVMGenerator::writeTernaryExpression(const TernaryExpression& t) { in writeTernaryExpression()
1546 return this->writeTernaryExpression(e.as<TernaryExpression>()); in writeExpression()
DSkSLSPIRVCodeGenerator.cpp801 return this->writeTernaryExpression(expr.as<TernaryExpression>(), out); in writeExpression()
2764 SpvId SPIRVCodeGenerator::writeTernaryExpression(const TernaryExpression& t, OutputStream& out) { in writeTernaryExpression()
/third_party/skia/src/sksl/
DSkSLInliner.cpp433 const TernaryExpression& t = expression.as<TernaryExpression>(); in inlineExpression()
434 return TernaryExpression::Make(*fContext, expr(t.test()), in inlineExpression()
1027 TernaryExpression& ternaryExpr = (*expr)->as<TernaryExpression>(); in visitExpression()
DSkSLDehydrator.cpp416 const TernaryExpression& t = e->as<TernaryExpression>(); in write()
DSkSLRehydrator.cpp525 return TernaryExpression::Make(fContext, std::move(test), in expression()
DSkSLAnalysis.cpp699 auto& t = e.template as<TernaryExpression>(); in visitExpression()
/third_party/skia/src/sksl/dsl/
DDSLCore.cpp332 return TernaryExpression::Convert(ThreadContext::Context(), test.release(), in Select()
/third_party/skia/gn/
Dsksl_tests.gni473 "/sksl/shared/TernaryExpression.sksl",