Home
last modified time | relevance | path

Searched refs:ReturnStatement (Results 1 – 25 of 41) sorted by relevance

12

/external/skqp/src/sksl/ir/
DSkSLReturnStatement.h19 struct ReturnStatement : public Statement { struct
20 ReturnStatement(int offset) in ReturnStatement() argument
23 ReturnStatement(std::unique_ptr<Expression> expression) in ReturnStatement() argument
29 return std::unique_ptr<Statement>(new ReturnStatement(fExpression->clone())); in clone() argument
31 return std::unique_ptr<Statement>(new ReturnStatement(fOffset)); in clone()
/external/skia/src/sksl/ir/
DSkSLReturnStatement.h19 class ReturnStatement final : public Statement {
23 ReturnStatement(int offset, std::unique_ptr<Expression> expression) in ReturnStatement() function
28 return std::make_unique<ReturnStatement>(offset, std::move(expression)); in Make()
44 return std::make_unique<ReturnStatement>(fOffset, this->expression()->clone()); in clone()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h318 class ReturnStatement final : public Statement {
320 ReturnStatement() : Statement(NodeKind::ReturnStatement) {} in ReturnStatement() function
DNodes.td233 def ReturnStatement : External<Statement> {}
/external/skqp/src/sksl/
DSkSLCPPCodeGenerator.h54 void writeReturnStatement(const ReturnStatement& s) override;
DSkSLGLSLCodeGenerator.h196 virtual void writeReturnStatement(const ReturnStatement& r);
DSkSLMetalCodeGenerator.h235 void writeReturnStatement(const ReturnStatement& r);
DSkSLJIT.h194 void compileReturn(LLVMBuilderRef builder, const ReturnStatement& r);
DSkSLMetalCodeGenerator.cpp1003 this->writeReturnStatement((ReturnStatement&) s); in writeStatement()
1125 void MetalCodeGenerator::writeReturnStatement(const ReturnStatement& r) { in writeReturnStatement()
1460 const ReturnStatement& r = (const ReturnStatement&) s; in requirements()
DSkSLCFGGenerator.cpp509 ReturnStatement& r = ((ReturnStatement&) **s); in addStatement()
DSkSLSPIRVCodeGenerator.h263 void writeReturnStatement(const ReturnStatement& r, OutputStream& out);
DSkSLGLSLCodeGenerator.cpp1268 this->writeReturnStatement((ReturnStatement&) s); in writeFunctionCall()
1444 void GLSLCodeGenerator::writeReturnStatement(const ReturnStatement& r) { in writeFunctionCall()
/external/skia/src/sksl/codegen/
DSkSLCPPCodeGenerator.h54 void writeReturnStatement(const ReturnStatement& s) override;
DSkSLDSLCPPCodeGenerator.h46 void writeReturnStatement(const ReturnStatement& r) override;
DSkSLGLSLCodeGenerator.h179 virtual void writeReturnStatement(const ReturnStatement& r);
DSkSLPipelineStageCodeGenerator.cpp92 void writeReturnStatement(const ReturnStatement& r);
243 void PipelineStageCodeGenerator::writeReturnStatement(const ReturnStatement& r) { in writeReturnStatement()
601 this->writeReturnStatement(s.as<ReturnStatement>()); in writeStatement()
DSkSLMetalCodeGenerator.h256 void writeReturnStatement(const ReturnStatement& r);
DSkSLMetalCodeGenerator.cpp1643 if (stmt.is<ReturnStatement>()) { in is_block_ending_with_return()
1830 this->writeReturnStatement(s.as<ReturnStatement>()); in writeStatement()
1971 void MetalCodeGenerator::writeReturnStatement(const ReturnStatement& r) { in writeReturnStatement()
2392 const ReturnStatement& r = s->as<ReturnStatement>(); in requirements()
DSkSLSPIRVCodeGenerator.h389 void writeReturnStatement(const ReturnStatement& r, OutputStream& out);
DSkSLGLSLCodeGenerator.cpp1184 this->writeReturnStatement(s.as<ReturnStatement>()); in writeStatement()
1365 void GLSLCodeGenerator::writeReturnStatement(const ReturnStatement& r) { in writeReturnStatement()
DSkSLDSLCPPCodeGenerator.cpp496 void DSLCPPCodeGenerator::writeReturnStatement(const ReturnStatement& r) { in writeReturnStatement()
810 this->writeReturnStatement(s.as<ReturnStatement>()); in writeStatement()
/external/llvm-project/clang/lib/Tooling/Syntax/
DSynthesis.cpp130 case syntax::NodeKind::ReturnStatement: in allocateTree()
131 return new (A.getAllocator()) syntax::ReturnStatement; in allocateTree()
DNodes.cpp305 syntax::Leaf *syntax::ReturnStatement::getReturnKeyword() { in getReturnKeyword()
310 syntax::Expression *syntax::ReturnStatement::getReturnValue() { in getReturnValue()
/external/skia/src/sksl/
DSkSLInliner.cpp493 const ReturnStatement& r = statement.as<ReturnStatement>(); in inlineStatement()
885 ReturnStatement& returnStmt = (*stmt)->as<ReturnStatement>(); in visitStatement()
DSkSLDehydrator.cpp506 const ReturnStatement& r = s->as<ReturnStatement>(); in write()

12