Home
last modified time | relevance | path

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

12

/external/skia/src/sksl/ir/
DSkSLForStatement.cpp44 std::unique_ptr<Statement> ForStatement::clone() const { in clone()
45 return std::make_unique<ForStatement>( in clone()
54 String ForStatement::description() const { in description()
73 std::unique_ptr<Statement> ForStatement::Convert(const Context& context, int offset, in Convert()
112 scope.push_back(ForStatement::Make(context, offset, /*initializer=*/nullptr, in Convert()
118 return ForStatement::Make(context, offset, std::move(initializer), std::move(test), in Convert()
122 std::unique_ptr<Statement> ForStatement::ConvertWhile(const Context& context, int offset, in ConvertWhile()
130 return ForStatement::Convert(context, offset, /*initializer=*/nullptr, std::move(test), in ConvertWhile()
134 std::unique_ptr<Statement> ForStatement::Make(const Context& context, int offset, in Make()
148 return std::make_unique<ForStatement>(offset, std::move(initializer), std::move(test), in Make()
DSkSLForStatement.h20 class ForStatement final : public Statement {
24 ForStatement(int offset, std::unique_ptr<Statement> initializer, in ForStatement() function
/external/skqp/src/sksl/ir/
DSkSLForStatement.h20 struct ForStatement : public Statement { struct
21 ForStatement(int offset, std::unique_ptr<Statement> initializer, in ForStatement() argument
32 return std::unique_ptr<Statement>(new ForStatement(fOffset, fInitializer->clone(), in clone() argument
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h283 class ForStatement final : public Statement {
285 ForStatement() : Statement(NodeKind::ForStatement) {} in ForStatement() function
DSyntax.td58 // Statement = IfStatement | ForStatement | ...
DNodes.td229 def ForStatement : External<Statement> {}
/external/skia/src/sksl/
DSkSLAnalysis.cpp464 const ForStatement& f = stmt.as<ForStatement>(); in visitStatement()
1074 if (s.is<ForStatement>()) { in visitStatement()
1075 const ForStatement& f = s.as<ForStatement>(); in visitStatement()
1248 auto& f = s.template as<ForStatement>(); in visitStatement()
DSkSLInliner.cpp243 if (!parentStmt || !(parentStmt->is<IfStatement>() || parentStmt->is<ForStatement>() || in ensureScopedBlocks()
475 const ForStatement& f = statement.as<ForStatement>(); in inlineStatement()
479 return ForStatement::Make(*fContext, offset, std::move(initializer), expr(f.test()), in inlineStatement()
851 ForStatement& forStmt = (*stmt)->as<ForStatement>(); in visitStatement()
DSkSLAnalysis.h20 class ForStatement; variable
DSkSLDehydrator.cpp478 const ForStatement& f = s->as<ForStatement>(); in write()
/external/skia/src/sksl/codegen/
DSkSLDSLCPPCodeGenerator.h40 void writeForStatement(const ForStatement& f);
DSkSLGLSLCodeGenerator.h173 void writeForStatement(const ForStatement& f);
DSkSLPipelineStageCodeGenerator.cpp91 void writeForStatement(const ForStatement& f);
595 this->writeForStatement(s.as<ForStatement>()); in writeStatement()
639 void PipelineStageCodeGenerator::writeForStatement(const ForStatement& f) { in writeForStatement()
DSkSLMetalCodeGenerator.h248 void writeForStatement(const ForStatement& f);
DSkSLMetalCodeGenerator.cpp1839 this->writeForStatement(s.as<ForStatement>()); in writeStatement()
1897 void MetalCodeGenerator::writeForStatement(const ForStatement& f) { in writeForStatement()
2402 const ForStatement& f = s->as<ForStatement>(); in requirements()
/external/llvm-project/clang/lib/Tooling/Syntax/
DSynthesis.cpp122 case syntax::NodeKind::ForStatement: in allocateTree()
123 return new (A.getAllocator()) syntax::ForStatement; in allocateTree()
DNodes.cpp275 syntax::Leaf *syntax::ForStatement::getForKeyword() { in getForKeyword()
280 syntax::Statement *syntax::ForStatement::getBody() { in getBody()
/external/skqp/src/sksl/
DSkSLGLSLCodeGenerator.h188 void writeForStatement(const ForStatement& f);
DSkSLMetalCodeGenerator.h227 void writeForStatement(const ForStatement& f);
DSkSLInterpreter.cpp112 ForStatement& f = (ForStatement&) stmt; in runStatement()
DSkSLJIT.h190 void compileFor(LLVMBuilderRef builder, const ForStatement& f);
DSkSLMetalCodeGenerator.cpp1012 this->writeForStatement((ForStatement&) s); in writeStatement()
1068 void MetalCodeGenerator::writeForStatement(const ForStatement& f) { in writeForStatement()
1473 const ForStatement& f = (const ForStatement&) s; in requirements()
DSkSLCFGGenerator.cpp563 ForStatement& f = (ForStatement&) **s; in addStatement()
DSkSLSPIRVCodeGenerator.h255 void writeForStatement(const ForStatement& f, OutputStream& out);
/external/skia/src/sksl/dsl/
DDSLCore.cpp109 return ForStatement::Convert(DSLWriter::Context(), /*offset=*/-1, initializer.release(), in For()
186 return ForStatement::ConvertWhile(DSLWriter::Context(), /*offset=*/-1, test.release(), in While()

12