Home
last modified time | relevance | path

Searched refs:ExpressionStatement (Results 1 – 25 of 34) sorted by relevance

12

/external/skqp/src/sksl/ir/
DSkSLExpressionStatement.h19 struct ExpressionStatement : public Statement { struct
20 ExpressionStatement(std::unique_ptr<Expression> expression) in ExpressionStatement() argument
25 return std::unique_ptr<Statement>(new ExpressionStatement(fExpression->clone())); in clone() argument
/external/skia/src/sksl/ir/
DSkSLExpressionStatement.h19 class ExpressionStatement final : public Statement {
23 ExpressionStatement(std::unique_ptr<Expression> expression) in ExpressionStatement() function
41 return std::make_unique<ExpressionStatement>(this->expression()->clone()); in clone()
DSkSLExpressionStatement.cpp15 std::unique_ptr<Statement> ExpressionStatement::Make(const Context& context, in Make()
24 return std::make_unique<ExpressionStatement>(std::move(expr)); in Make()
DSkSLIfStatement.cpp70 return ExpressionStatement::Make(context, std::move(test)); in Make()
DSkSLForStatement.cpp41 stmt->is<SkSL::ExpressionStatement>(); in is_simple_initializer()
/external/deqp/framework/randomshaders/
DrsgStatement.cpp58 { getWeight<ExpressionStatement>, create<ExpressionStatement> }, in chooseStatement()
116 ExpressionStatement::ExpressionStatement (GeneratorState& state) in ExpressionStatement() function in rsg::ExpressionStatement
123 ExpressionStatement::~ExpressionStatement (void) in ~ExpressionStatement()
128 float ExpressionStatement::getWeight (const GeneratorState& state) in getWeight()
134 void ExpressionStatement::execute (ExecutionContext& execCtx) const in execute()
219 void ExpressionStatement::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
DrsgStatement.hpp55 class ExpressionStatement : public Statement class
58 ExpressionStatement (GeneratorState& state);
59 virtual ~ExpressionStatement (void);
/external/skia/src/sksl/dsl/
DDSLStatement.cpp33 fStatement = std::make_unique<SkSL::ExpressionStatement>(std::move(skslExpr)); in DSLStatement()
38 : fStatement(std::make_unique<SkSL::ExpressionStatement>(std::move(expr))) {} in DSLStatement()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h337 class ExpressionStatement final : public Statement {
339 ExpressionStatement() : Statement(NodeKind::ExpressionStatement) {} in ExpressionStatement() function
DNodes.td235 def ExpressionStatement : External<Statement> {}
/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/
DAtomicFUTransformerJS.kt176 if (stmt is ExpressionStatement) { in <lambda>()
508 val expr = (node.firstChild as ExpressionStatement).expression in <lambda>()
511 this.arguments = listOf((thisNode.firstChild as ExpressionStatement).expression) in <lambda>()
/external/skia/src/sksl/
DSkSLInliner.cpp471 const ExpressionStatement& e = statement.as<ExpressionStatement>(); in inlineStatement()
472 return ExpressionStatement::Make(*fContext, expr(e.expression())); in inlineStatement()
511 auto assignment = ExpressionStatement::Make( in inlineStatement()
846 ExpressionStatement& expr = (*stmt)->as<ExpressionStatement>(); in visitStatement()
DSkSLIRGenerator.cpp168 SkASSERT(result->is<ExpressionStatement>()); in convertStatement()
169 Expression& expr = *result->as<ExpressionStatement>().expression(); in convertStatement()
636 return ExpressionStatement::Make(fContext, std::move(e)); in convertExpressionStatement()
709 loopBody.push_back(ExpressionStatement::Make(fContext, this->call(/*offset=*/-1, in applyInvocationIDWorkaround()
712 loopBody.push_back(ExpressionStatement::Make(fContext, this->call(/*offset=*/-1, in applyInvocationIDWorkaround()
720 auto initializer = ExpressionStatement::Make(fContext, std::move(assignment)); in applyInvocationIDWorkaround()
788 return ExpressionStatement::Make(fContext, std::move(result)); in getNormalizeSkPositionCode()
DSkSLDehydrator.cpp472 const ExpressionStatement& e = s->as<ExpressionStatement>(); in write()
DSkSLRehydrator.cpp377 return ExpressionStatement::Make(fContext, std::move(expr)); in statement()
DSkSLCompiler.cpp674 stmt = ExpressionStatement::Make(fContext, std::move(varDecl.value())); in removeDeadLocalVariables()
/external/llvm-project/clang/lib/Tooling/Syntax/
DSynthesis.cpp134 case syntax::NodeKind::ExpressionStatement: in allocateTree()
135 return new (A.getAllocator()) syntax::ExpressionStatement; in allocateTree()
DNodes.cpp325 syntax::Expression *syntax::ExpressionStatement::getExpression() { in getExpression()
/external/skqp/src/sksl/
DSkSLIRGenerator.cpp193 Expression& expr = *((ExpressionStatement&) *result).fExpression; in convertStatement()
522 return std::unique_ptr<Statement>(new ExpressionStatement(std::move(e))); in convertExpressionStatement()
608 loopBody.push_back(std::unique_ptr<Statement>(new ExpressionStatement( in applyInvocationIDWorkaround()
612 loopBody.push_back(std::unique_ptr<Statement>(new ExpressionStatement( in applyInvocationIDWorkaround()
621 std::unique_ptr<Statement> initializer(new ExpressionStatement(std::move(assignment))); in applyInvocationIDWorkaround()
663 return std::unique_ptr<Statement>(new ExpressionStatement(std::move(result))); in getNormalizeSkPositionCode()
DSkSLCompiler.cpp1041 new ExpressionStatement(std::move(i.fTest)))); in simplifyStatement()
1104 ExpressionStatement& e = (ExpressionStatement&) *stmt; in simplifyStatement()
DSkSLInterpreter.cpp109 this->evaluate(*((const ExpressionStatement&) stmt).fExpression); in runStatement()
DSkSLMetalCodeGenerator.cpp999 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeStatement()
1458 return this->requirements(*((const ExpressionStatement&) s).fExpression); in requirements()
DSkSLCFGGenerator.cpp481 this->addExpression(cfg, &((ExpressionStatement&) **s).fExpression, true); in addStatement()
DSkSLJIT.cpp1227 this->compileExpression(builder, *((ExpressionStatement&) stmt).fExpression); in compileStatement()
1648 *((const ExpressionStatement&) stmt).fExpression, in compileVectorStatement()
/external/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.cpp591 this->writeExpression(*s.as<ExpressionStatement>().expression(), Precedence::kTopLevel); in writeStatement()

12