Searched refs:TernaryExpression (Results 1 – 17 of 17) sorted by relevance
/third_party/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.cpp | 19 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()
|
D | SkSLTernaryExpression.h | 18 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()
|
D | SkSLBinaryExpression.cpp | 197 return TernaryExpression::Make( in Make() 223 const TernaryExpression& t = expr.as<TernaryExpression>(); in CheckRef()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.h | 42 class TernaryExpression; variable 140 virtual void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
|
D | SkSLMetalCodeGenerator.h | 45 class TernaryExpression; variable 223 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
|
D | SkSLPipelineStageCodeGenerator.cpp | 91 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()
|
D | SkSLSPIRVCodeGenerator.h | 51 class TernaryExpression; variable 375 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
|
D | SkSLMetalCodeGenerator.cpp | 183 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()
|
D | SkSLGLSLCodeGenerator.cpp | 218 this->writeTernaryExpression(expr.as<TernaryExpression>(), parentPrecedence); in writeExpression() 949 void GLSLCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeTernaryExpression()
|
D | SkSLVMCodeGenerator.cpp | 227 Value writeTernaryExpression(const TernaryExpression& t); 1483 Value SkVMGenerator::writeTernaryExpression(const TernaryExpression& t) { in writeTernaryExpression() 1546 return this->writeTernaryExpression(e.as<TernaryExpression>()); in writeExpression()
|
D | SkSLSPIRVCodeGenerator.cpp | 801 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/ |
D | SkSLInliner.cpp | 433 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()
|
D | SkSLDehydrator.cpp | 416 const TernaryExpression& t = e->as<TernaryExpression>(); in write()
|
D | SkSLRehydrator.cpp | 525 return TernaryExpression::Make(fContext, std::move(test), in expression()
|
D | SkSLAnalysis.cpp | 699 auto& t = e.template as<TernaryExpression>(); in visitExpression()
|
/third_party/skia/src/sksl/dsl/ |
D | DSLCore.cpp | 332 return TernaryExpression::Convert(ThreadContext::Context(), test.release(), in Select()
|
/third_party/skia/gn/ |
D | sksl_tests.gni | 473 "/sksl/shared/TernaryExpression.sksl",
|