Home
last modified time | relevance | path

Searched refs:Statement (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/third_party/vk-gl-cts/framework/randomshaders/
DrsgStatement.hpp37 class Statement class
40 Statement (void);
41 virtual ~Statement (void);
43 virtual Statement* createNextChild (GeneratorState& state) = DE_NULL;
55 class ExpressionStatement : public Statement
61 Statement* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } in createNextChild()
71 class DeclarationStatement : public Statement
77 Statement* createNextChild (GeneratorState& state) { DE_UNREF(state); return DE_NULL; } in createNextChild()
88 class BlockStatement : public Statement
97 Statement* createNextChild (GeneratorState& state);
[all …]
/third_party/skia/src/sksl/ir/
DSkSLIfStatement.h21 class IfStatement final : public Statement {
26 std::unique_ptr<Statement> ifTrue, std::unique_ptr<Statement> ifFalse) in IfStatement()
35 static std::unique_ptr<Statement> Convert(const Context& context, int line, bool isStatic,
37 std::unique_ptr<Statement> ifTrue,
38 std::unique_ptr<Statement> ifFalse);
41 static std::unique_ptr<Statement> Make(const Context& context, int line, bool isStatic,
43 std::unique_ptr<Statement> ifTrue,
44 std::unique_ptr<Statement> ifFalse);
58 std::unique_ptr<Statement>& ifTrue() { in ifTrue()
62 const std::unique_ptr<Statement>& ifTrue() const { in ifTrue()
[all …]
DSkSLForStatement.h30 class ForStatement final : public Statement {
35 std::unique_ptr<Statement> initializer, in ForStatement()
38 std::unique_ptr<Statement> statement, in ForStatement()
50 static std::unique_ptr<Statement> Convert(const Context& context, int line,
51 std::unique_ptr<Statement> initializer,
54 std::unique_ptr<Statement> statement,
58 static std::unique_ptr<Statement> ConvertWhile(const Context& context, int line,
60 std::unique_ptr<Statement> statement,
64 static std::unique_ptr<Statement> Make(const Context& context, int line,
65 std::unique_ptr<Statement> initializer,
[all …]
DSkSLDoStatement.h19 class DoStatement final : public Statement {
23 DoStatement(int line, std::unique_ptr<Statement> statement, std::unique_ptr<Expression> test) in DoStatement()
29 static std::unique_ptr<Statement> Convert(const Context& context,
30 std::unique_ptr<Statement> stmt,
34 static std::unique_ptr<Statement> Make(const Context& context,
35 std::unique_ptr<Statement> stmt,
38 std::unique_ptr<Statement>& statement() { in statement()
42 const std::unique_ptr<Statement>& statement() const { in statement()
54 std::unique_ptr<Statement> clone() const override;
59 std::unique_ptr<Statement> fStatement;
[all …]
DSkSLSwitchStatement.cpp24 std::unique_ptr<Statement> SwitchStatement::clone() const { in clone()
27 for (const std::unique_ptr<Statement>& stmt : this->cases()) { in clone()
56 for (const std::unique_ptr<Statement>& stmt : cases) { in find_duplicate_case_values()
84 static void move_all_but_break(std::unique_ptr<Statement>& stmt, StatementArray* target) { in move_all_but_break()
86 case Statement::Kind::kBlock: { in move_all_but_break()
92 for (std::unique_ptr<Statement>& blockStmt : block.children()) { in move_all_but_break()
101 case Statement::Kind::kBreak: in move_all_but_break()
112 std::unique_ptr<Statement> SwitchStatement::BlockForCase(StatementArray* cases, in BlockForCase()
130 Statement* stripBreakStmt = nullptr; in BlockForCase()
132 std::unique_ptr<Statement>& stmt = (*iter)->as<SwitchCase>().statement(); in BlockForCase()
[all …]
DSkSLVarDeclarations.h27 class VarDeclaration final : public Statement {
55 static std::unique_ptr<Statement> Convert(const Context& context, std::unique_ptr<Variable> var,
59 static std::unique_ptr<Statement> Make(const Context& context,
90 std::unique_ptr<Statement> clone() const override;
105 using INHERITED = Statement;
116 GlobalVarDeclaration(std::unique_ptr<Statement> decl) in GlobalVarDeclaration()
122 std::unique_ptr<Statement>& declaration() { in declaration()
126 const std::unique_ptr<Statement>& declaration() const { in declaration()
139 std::unique_ptr<Statement> fDeclaration;
DSkSLIfStatement.cpp20 std::unique_ptr<Statement> IfStatement::clone() const { in clone()
38 std::unique_ptr<Statement> IfStatement::Convert(const Context& context, int line, bool isStatic, in Convert()
40 std::unique_ptr<Statement> ifTrue, in Convert()
41 std::unique_ptr<Statement> ifFalse) { in Convert()
57 static std::unique_ptr<Statement> replace_empty_with_nop(std::unique_ptr<Statement> stmt, in replace_empty_with_nop()
63 std::unique_ptr<Statement> IfStatement::Make(const Context& context, int line, bool isStatic, in Make()
65 std::unique_ptr<Statement> ifTrue, in Make()
66 std::unique_ptr<Statement> ifFalse) { in Make()
DSkSLSwitchCase.h19 class SwitchCase final : public Statement {
24 SwitchCase(int line, std::unique_ptr<Expression> value, std::unique_ptr<Statement> statement) in SwitchCase()
37 std::unique_ptr<Statement>& statement() { in statement()
41 const std::unique_ptr<Statement>& statement() const { in statement()
45 std::unique_ptr<Statement> clone() const override { in clone()
63 std::unique_ptr<Statement> fStatement;
65 using INHERITED = Statement;
DSkSLForStatement.cpp21 static bool is_vardecl_block_initializer(const Statement* stmt) { in is_vardecl_block_initializer()
40 static bool is_simple_initializer(const Statement* stmt) { in is_simple_initializer()
45 std::unique_ptr<Statement> ForStatement::clone() const { in clone()
80 std::unique_ptr<Statement> ForStatement::Convert(const Context& context, int line, in Convert()
81 std::unique_ptr<Statement> initializer, in Convert()
84 std::unique_ptr<Statement> statement, in Convert()
147 std::unique_ptr<Statement> ForStatement::ConvertWhile(const Context& context, int line, in ConvertWhile()
149 std::unique_ptr<Statement> statement, in ConvertWhile()
159 std::unique_ptr<Statement> ForStatement::Make(const Context& context, int line, in Make()
160 std::unique_ptr<Statement> initializer, in Make()
[all …]
/third_party/skia/src/sksl/analysis/
DSkSLCanExitWithoutReturningValue.cpp27 bool visitStatement(const Statement& stmt) override { in visitStatement()
31 case Statement::Kind::kReturn: in visitStatement()
35 case Statement::Kind::kBreak: in visitStatement()
39 case Statement::Kind::kContinue: in visitStatement()
43 case Statement::Kind::kIf: { in visitStatement()
60 case Statement::Kind::kFor: { in visitStatement()
72 case Statement::Kind::kDo: { in visitStatement()
82 case Statement::Kind::kBlock: in visitStatement()
87 case Statement::Kind::kSwitch: { in visitStatement()
96 for (const std::unique_ptr<Statement>& switchStmt : s.cases()) { in visitStatement()
[all …]
DSkSLSwitchCaseContainsExit.cpp20 bool visitStatement(const Statement& stmt) override { in visitStatement()
22 case Statement::Kind::kBlock: in visitStatement()
23 case Statement::Kind::kSwitchCase: in visitStatement()
26 case Statement::Kind::kReturn: in visitStatement()
30 case Statement::Kind::kContinue: in visitStatement()
35 case Statement::Kind::kBreak: in visitStatement()
40 case Statement::Kind::kIf: { in visitStatement()
47 case Statement::Kind::kFor: in visitStatement()
48 case Statement::Kind::kDo: { in visitStatement()
60 case Statement::Kind::kSwitch: { in visitStatement()
[all …]
/third_party/skia/src/sksl/transform/
DSkSLEliminateUnreachableCode.cpp34 bool visitStatementPtr(std::unique_ptr<Statement>& stmt) override { in EliminateUnreachableCode()
48 case Statement::Kind::kReturn: in EliminateUnreachableCode()
49 case Statement::Kind::kDiscard: in EliminateUnreachableCode()
54 case Statement::Kind::kBreak: in EliminateUnreachableCode()
55 case Statement::Kind::kContinue: in EliminateUnreachableCode()
62 case Statement::Kind::kExpression: in EliminateUnreachableCode()
63 case Statement::Kind::kInlineMarker: in EliminateUnreachableCode()
64 case Statement::Kind::kNop: in EliminateUnreachableCode()
65 case Statement::Kind::kVarDeclaration: in EliminateUnreachableCode()
69 case Statement::Kind::kBlock: in EliminateUnreachableCode()
[all …]
/third_party/skia/third_party/externals/tint/src/sem/
Dstatement.h25 class Statement; variable
64 class Statement : public Castable<Statement, Node> {
70 Statement(const ast::Statement* declaration,
75 ~Statement() override;
78 const ast::Statement* Declaration() const { return declaration_; }
118 const ast::Statement* const declaration_;
127 class CompoundStatement : public Castable<Statement, Statement> {
133 CompoundStatement(const ast::Statement* declaration,
142 const CompoundStatement* Statement::FindFirstParent(Pred&& pred) const {
156 const detail::FindFirstParentReturnType<TYPES...>* Statement::FindFirstParent()
Dstatement.cc23 TINT_INSTANTIATE_TYPEINFO(tint::sem::Statement);
29 Statement::Statement(const ast::Statement* declaration, in Statement() function in tint::sem::Statement
34 Statement::~Statement() = default;
36 const BlockStatement* Statement::Block() const { in Block()
40 CompoundStatement::CompoundStatement(const ast::Statement* declaration, in CompoundStatement()
/third_party/skia/src/sksl/
DSkSLInliner.cpp78 bool visitStatement(const Statement& stmt) override { in count_returns_at_end_of_control_flow()
80 case Statement::Kind::kBlock: { in count_returns_at_end_of_control_flow()
86 case Statement::Kind::kSwitch: in count_returns_at_end_of_control_flow()
87 case Statement::Kind::kDo: in count_returns_at_end_of_control_flow()
88 case Statement::Kind::kFor: in count_returns_at_end_of_control_flow()
92 case Statement::Kind::kReturn: in count_returns_at_end_of_control_flow()
124 bool visitStatement(const Statement& stmt) override { in contains_recursive_call()
139 static std::unique_ptr<Statement>* find_parent_statement( in find_parent_statement()
140 const std::vector<std::unique_ptr<Statement>*>& stmtStack) { in find_parent_statement()
150 std::unique_ptr<Statement>* stmt = *iter; in find_parent_statement()
[all …]
DSkSLAnalysis.h29 class Statement; variable
71 bool DetectVarDeclarationWithoutScope(const Statement& stmt, ErrorReporter* errors = nullptr);
79 bool SwitchCaseContainsUnconditionalExit(Statement& stmt);
85 bool SwitchCaseContainsConditionalExit(Statement& stmt);
90 bool StatementWritesToVariable(const Statement& stmt, const Variable& var);
161 const Statement* loopInitializer,
164 const Statement* loopStatement,
170 bool CanExitWithoutReturningValue(const FunctionDeclaration& funcDecl, const Statement& body);
/third_party/skia/third_party/externals/tint/src/ast/
Dstatement.cc29 TINT_INSTANTIATE_TYPEINFO(tint::ast::Statement);
34 Statement::Statement(ProgramID pid, const Source& src) : Base(pid, src) {} in Statement() function in tint::ast::Statement
36 Statement::Statement(Statement&&) = default;
38 Statement::~Statement() = default;
40 const char* Statement::Name() const { in Name()
Dstatement.h26 class Statement : public Castable<Statement, Node> {
28 ~Statement() override;
37 Statement(ProgramID pid, const Source& src);
39 Statement(Statement&&);
43 using StatementList = std::vector<const Statement*>;
/third_party/skia/include/sksl/
DDSLStatement.h23 class Statement; variable
47 DSLStatement(std::unique_ptr<SkSL::Statement> stmt);
57 std::unique_ptr<SkSL::Statement> release() { in release()
63 std::unique_ptr<SkSL::Statement> releaseIfPossible() { in releaseIfPossible()
67 std::unique_ptr<SkSL::Statement> fStatement;
87 DSLPossibleStatement(std::unique_ptr<SkSL::Statement> stmt);
95 std::unique_ptr<SkSL::Statement> release() { in release()
100 std::unique_ptr<SkSL::Statement> fStatement;
/third_party/node/deps/v8/src/torque/
Dast.h173 struct Statement : AstNode { struct
174 Statement(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in Statement() argument
175 DEFINE_AST_NODE_INNER_BOILERPLATE(Statement)
688 struct ExpressionStatement : Statement {
691 : Statement(kKind, pos), expression(expression) {} in ExpressionStatement()
695 struct IfStatement : Statement {
698 Statement* if_true, base::Optional<Statement*> if_false) in IfStatement()
699 : Statement(kKind, pos), in IfStatement()
706 Statement* if_true;
707 base::Optional<Statement*> if_false;
[all …]
/third_party/node/deps/v8/src/parsing/
Dparser.h119 using Statement = v8::internal::Statement*;
120 using StatementList = ScopedPtrList<v8::internal::Statement>;
256 ScopedPtrList<Statement>* body, DeclarationScope* scope,
259 void ParseREPLProgram(ParseInfo* info, ScopedPtrList<Statement>* body,
279 void ParseModuleItemList(ScopedPtrList<Statement>* body);
280 Statement* ParseModuleItem();
283 Statement* ParseExportDeclaration();
284 Statement* ParseExportDefault();
308 Statement* BuildInitializationBlock(DeclarationParsingResult* parsing_result);
310 Statement* RewriteSwitchStatement(SwitchStatement* switch_statement,
[all …]
/third_party/node/deps/v8/src/ast/
Dsource-range-ast-visitor.cc20 ZonePtrList<Statement>* stmts = stmt->statements(); in VisitBlock()
38 ZonePtrList<Statement>* stmts = expr->body(); in VisitFunctionLiteral()
75 Statement* last_statement) { in MaybeRemoveContinuationRange()
96 ZonePtrList<Statement>* statements) { in MaybeRemoveLastContinuationRange()
102 Statement* FindLastNonSyntheticStatement(ZonePtrList<Statement>* statements) { in FindLastNonSyntheticStatement()
104 Statement* stmt = statements->at(i); in FindLastNonSyntheticStatement()
122 Statement* last_non_synthetic = in MaybeRemoveContinuationRangeOfAsyncReturn()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver.h68 class Statement; variable
208 sem::Statement* AssignmentStatement(const ast::AssignmentStatement*);
210 sem::Statement* BreakStatement(const ast::BreakStatement*);
211 sem::Statement* CallStatement(const ast::CallStatement*);
213 sem::Statement* ContinueStatement(const ast::ContinueStatement*);
214 sem::Statement* DiscardStatement(const ast::DiscardStatement*);
216 sem::Statement* FallthroughStatement(const ast::FallthroughStatement*);
218 sem::Statement* Parameter(const ast::Variable*);
221 sem::Statement* ReturnStatement(const ast::ReturnStatement*);
222 sem::Statement* Statement(const ast::Statement*);
[all …]
/third_party/skia/third_party/externals/tint/docs/
Dcompound_statements.md53 sem::Statement initializer
55 sem::Statement continuing
58 sem::Statement statement
81 sem::Statement statement_a
83 sem::Statement statement_b
110 sem::Statement statement_a
115 sem::Statement statement_b
/third_party/typescript/src/compiler/transformers/module/
Dsystem.ts30 …const deferredExports: (Statement[] | undefined)[] = []; // Exports to defer until an EndOfDeclara…
39 let hoistedStatements: Statement[] | undefined;
217 const statements: Statement[] = [];
294 function addExportStarIfNeeded(statements: Statement[]) {
449 const statements: Statement[] = [];
604 function visitImportDeclaration(node: ImportDeclaration): VisitResult<Statement> {
605 let statements: Statement[] | undefined;
622 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
632 … function visitImportEqualsDeclaration(node: ImportEqualsDeclaration): VisitResult<Statement> {
635 let statements: Statement[] | undefined;
[all …]

12345678910>>...14