/third_party/skia/third_party/externals/tint/src/ast/ |
D | if_statement.cc | 19 TINT_INSTANTIATE_TYPEINFO(tint::ast::IfStatement); 24 IfStatement::IfStatement(ProgramID pid, in IfStatement() function in tint::ast::IfStatement 43 IfStatement::IfStatement(IfStatement&&) = default; 45 IfStatement::~IfStatement() = default; 47 const IfStatement* IfStatement::Clone(CloneContext* ctx) const { in Clone() 53 return ctx->dst->create<IfStatement>(src, cond, b, el); in Clone()
|
D | if_statement.h | 26 class IfStatement : public Castable<IfStatement, Statement> { 34 IfStatement(ProgramID pid, 40 IfStatement(IfStatement&&); 41 ~IfStatement() override; 47 const IfStatement* Clone(CloneContext* ctx) const override;
|
D | if_statement_test.cc | 29 auto* stmt = create<IfStatement>(Source{Source::Location{20, 2}}, cond, in TEST_F() 38 auto* stmt = create<IfStatement>(Expr(true), Block(), ElseStatementList{}); in TEST_F() 39 EXPECT_TRUE(stmt->Is<IfStatement>()); in TEST_F() 46 b.create<IfStatement>(nullptr, b.Block(), ElseStatementList{}); in TEST_F() 55 b.create<IfStatement>(b.Expr(true), nullptr, ElseStatementList{}); in TEST_F() 65 b.create<IfStatement>(b.Expr(true), body, ElseStatementList{nullptr}); in TEST_F() 75 b1.create<IfStatement>(b2.Expr(true), b1.Block(), ElseStatementList{}); in TEST_F() 85 b1.create<IfStatement>(b1.Expr(true), b2.Block(), ElseStatementList{}); in TEST_F() 95 b1.create<IfStatement>( in TEST_F()
|
D | statement.cc | 68 if (Is<IfStatement>()) { in Name()
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | if_statement.cc | 19 TINT_INSTANTIATE_TYPEINFO(tint::sem::IfStatement); 25 IfStatement::IfStatement(const ast::IfStatement* declaration, in IfStatement() function in tint::sem::IfStatement 30 IfStatement::~IfStatement() = default;
|
D | if_statement.h | 23 class IfStatement; variable 35 class IfStatement : public Castable<IfStatement, CompoundStatement> { 41 IfStatement(const ast::IfStatement* declaration, 46 ~IfStatement() override;
|
/third_party/skia/src/sksl/ir/ |
D | SkSLIfStatement.cpp | 20 std::unique_ptr<Statement> IfStatement::clone() const { in clone() 21 return std::make_unique<IfStatement>(fLine, this->isStatic(), this->test()->clone(), in clone() 26 String IfStatement::description() const { in description() 38 std::unique_ptr<Statement> IfStatement::Convert(const Context& context, int line, bool isStatic, in Convert() 53 return IfStatement::Make(context, line, isStatic, std::move(test), in Convert() 63 std::unique_ptr<Statement> IfStatement::Make(const Context& context, int line, bool isStatic, in Make() 104 return std::make_unique<IfStatement>(line, isStatic, std::move(test), in Make()
|
D | SkSLIfStatement.h | 21 class IfStatement final : public Statement { 25 IfStatement(int line, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() function
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder_if_test.cc | 31 create<ast::IfStatement>(cond, Block(), ast::ElseStatementList{}); in TEST_F() 59 auto* expr = create<ast::IfStatement>(cond, block, elses); in TEST_F() 79 create<ast::IfStatement>(Expr(true), body, ast::ElseStatementList{}); in TEST_F() 117 auto* expr = create<ast::IfStatement>( in TEST_F() 161 auto* expr = create<ast::IfStatement>( in TEST_F() 218 auto* expr = create<ast::IfStatement>( in TEST_F() 284 create<ast::IfStatement>(Expr(true), if_body, ast::ElseStatementList{}); in TEST_F() 326 auto* if_stmt = create<ast::IfStatement>( in TEST_F() 372 create<ast::IfStatement>(Expr(true), if_body, ast::ElseStatementList{}); in TEST_F() 414 auto* if_stmt = create<ast::IfStatement>( in TEST_F()
|
D | builder_loop_test.cc | 229 auto* if_stmt = create<ast::IfStatement>(Expr(true), Block(Break()), in TEST_F() 262 auto* if_stmt = create<ast::IfStatement>( in TEST_F() 303 auto* inner_if_stmt = create<ast::IfStatement>(Expr(true), Block(Break()), in TEST_F() 308 auto* outer_if_stmt = create<ast::IfStatement>(Expr(true), Block(Break()), in TEST_F() 358 auto* inner_if_stmt = create<ast::IfStatement>( in TEST_F() 364 auto* outer_if_stmt = create<ast::IfStatement>( in TEST_F()
|
/third_party/typescript/tests/baselines/reference/ |
D | APISample_linter.js | 36 case ts.SyntaxKind.IfStatement: 37 let ifStatement = (<ts.IfStatement>node); 43 ifStatement.elseStatement.kind !== ts.SyntaxKind.IfStatement) { 97 case ts.SyntaxKind.IfStatement: 104 ifStatement.elseStatement.kind !== ts.SyntaxKind.IfStatement) {
|
/third_party/typescript/tests/cases/compiler/ |
D | APISample_linter.ts | 39 case ts.SyntaxKind.IfStatement: 40 let ifStatement = (<ts.IfStatement>node); 46 ifStatement.elseStatement.kind !== ts.SyntaxKind.IfStatement) {
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | compound_statement_test.cc | 245 EXPECT_TRUE(s->Is<sem::IfStatement>()); in TEST_F() 254 EXPECT_TRUE(s->Is<sem::IfStatement>()); in TEST_F() 263 EXPECT_EQ(s->Parent()->Parent(), s->FindFirstParent<sem::IfStatement>()); in TEST_F() 273 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::IfStatement>()); in TEST_F() 285 s->FindFirstParent<sem::IfStatement>()); in TEST_F() 296 s->FindFirstParent<sem::IfStatement>()); in TEST_F()
|
D | resolver.h | 65 class IfStatement; variable 219 sem::IfStatement* IfStatement(const ast::IfStatement*); 254 bool ValidateIfStatement(const sem::IfStatement* stmt);
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLCanExitWithoutReturningValue.cpp | 44 const IfStatement& i = stmt.as<IfStatement>(); in visitStatement()
|
/third_party/typescript/src/services/codefixes/ |
D | fixUnreachableCode.ts | 34 case SyntaxKind.IfStatement: 35 if ((container as IfStatement).elseStatement) {
|
/third_party/skia/src/sksl/transform/ |
D | SkSLEliminateUnreachableCode.cpp | 95 IfStatement& ifStmt = stmt->as<IfStatement>(); in EliminateUnreachableCode()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_if_stmt_test.cc | 30 ASSERT_TRUE(e->Is<ast::IfStatement>()); in TEST_F() 45 ASSERT_TRUE(e->Is<ast::IfStatement>()); in TEST_F()
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.h | 31 class IfStatement; variable 156 virtual void writeIfStatement(const IfStatement& stmt);
|
D | SkSLMetalCodeGenerator.h | 33 class IfStatement; variable 241 void writeIfStatement(const IfStatement& stmt);
|
/third_party/skia/src/sksl/ |
D | SkSLInliner.cpp | 260 if (!parentStmt || !(parentStmt->is<IfStatement>() || parentStmt->is<ForStatement>() || in ensureScopedBlocks() 524 const IfStatement& i = statement.as<IfStatement>(); in inlineStatement() 525 return IfStatement::Make(*fContext, line, i.isStatic(), expr(i.test()), in inlineStatement() 892 IfStatement& ifStmt = (*stmt)->as<IfStatement>(); in visitStatement()
|
/third_party/skia/third_party/externals/tint/docs/ |
D | compound_statements.md | 22 sem::IfStatement {
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | loop_to_for_loop.cc | 74 auto* if_stmt = stmts[0]->As<ast::IfStatement>(); in Run()
|
/third_party/typescript/src/services/ |
D | breakpoints.ts | 135 case SyntaxKind.IfStatement: 137 return textSpanEndingAtNextToken(node, (node as IfStatement).expression); 489 case SyntaxKind.IfStatement:
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
D | generator_impl.h | 127 bool EmitIf(const ast::IfStatement* stmt);
|