Home
last modified time | relevance | path

Searched refs:BlockStatement (Results 1 - 25 of 64) sorted by relevance

123

/third_party/skia/third_party/externals/tint/src/ast/
H A Dblock_statement.cc19 TINT_INSTANTIATE_TYPEINFO(tint::ast::BlockStatement); variable
24 BlockStatement::BlockStatement(ProgramID pid, in BlockStatement() function in tint::ast::BlockStatement
34 BlockStatement::BlockStatement(BlockStatement&&) = default;
36 BlockStatement::~BlockStatement() = default;
38 const BlockStatement* BlockStatement
[all...]
H A Dblock_statement.h26 class BlockStatement : public Castable<BlockStatement, Statement> { class
32 BlockStatement(ProgramID program_id,
36 BlockStatement(BlockStatement&&);
37 ~BlockStatement() override;
51 const BlockStatement* Clone(CloneContext* ctx) const override;
H A Dcase_statement_test.cc34 auto* body = create<BlockStatement>(StatementList{discard}); in TEST_F()
49 auto* body = create<BlockStatement>(StatementList{discard}); in TEST_F()
62 auto* body = create<BlockStatement>(StatementList{ in TEST_F()
72 auto* body = create<BlockStatement>(StatementList{ in TEST_F()
83 auto* c = create<CaseStatement>(b, create<BlockStatement>(StatementList{})); in TEST_F()
89 create<BlockStatement>(StatementList{})); in TEST_F()
107 b.create<BlockStatement>(StatementList{})); in TEST_F()
118 b2.create<BlockStatement>(StatementList{})); in TEST_F()
130 b1.create<BlockStatement>(StatementList{})); in TEST_F()
H A Dblock_statement_test.cc30 auto* b = create<BlockStatement>(StatementList{d}); in TEST_F()
37 auto* b = create<BlockStatement>(Source{Source::Location{20, 2}}, in TEST_F()
45 auto* b = create<BlockStatement>(ast::StatementList{}); in TEST_F()
46 EXPECT_TRUE(b->Is<BlockStatement>()); in TEST_F()
53 b.create<BlockStatement>(ast::StatementList{nullptr}); in TEST_F()
63 b1.create<BlockStatement>( in TEST_F()
H A Dloop_statement.h33 const BlockStatement* body,
34 const BlockStatement* continuing);
46 const BlockStatement* const body;
49 const BlockStatement* const continuing;
H A Dif_statement.h37 const BlockStatement* body,
53 const BlockStatement* const body;
H A Dcase_statement.h40 const BlockStatement* body);
58 const BlockStatement* const body;
H A Delse_statement.h37 const BlockStatement* body);
52 const BlockStatement* const body;
H A Dfor_loop_statement.h40 const BlockStatement* body);
61 const BlockStatement* const body;
H A Dloop_statement.cc26 const BlockStatement* b, in LoopStatement()
27 const BlockStatement* cont) in LoopStatement()
H A Dfunction.h52 const BlockStatement* body,
82 const BlockStatement* const body;
H A Delse_statement.cc27 const BlockStatement* b) in ElseStatement()
H A Dstatement.cc44 if (Is<BlockStatement>()) { in Name()
/third_party/skia/third_party/externals/tint/src/sem/
H A Dblock_statement.cc21 TINT_INSTANTIATE_TYPEINFO(tint::sem::BlockStatement); variable
28 BlockStatement::BlockStatement(const ast::BlockStatement* declaration, in BlockStatement() function in tint::sem::BlockStatement
33 BlockStatement::~BlockStatement() = default;
35 const ast::BlockStatement* BlockStatement::Declaration() const { in Declaration()
36 return Base::Declaration()->As<ast::BlockStatement>(); in Declaration()
39 void BlockStatement
[all...]
H A Dblock_statement.h26 class BlockStatement;
38 class BlockStatement : public Castable<BlockStatement, CompoundStatement> { class
44 BlockStatement(const ast::BlockStatement* declaration,
49 ~BlockStatement() override;
53 const ast::BlockStatement* Declaration() const;
68 : public Castable<FunctionBlockStatement, BlockStatement> {
79 class LoopBlockStatement : public Castable<LoopBlockStatement, BlockStatement> {
85 LoopBlockStatement(const ast::BlockStatement* declaratio
[all...]
H A Dswitch_statement.h67 void SetBlock(const BlockStatement* body) { body_ = body; } in SetBlock()
70 const BlockStatement* Body() const { return body_; } in Body()
73 const BlockStatement* body_ = nullptr;
H A Dloop_statement.h47 : public Castable<LoopContinuingBlockStatement, BlockStatement> {
53 LoopContinuingBlockStatement(const ast::BlockStatement* declaration,
H A Dstatement.cc36 const BlockStatement* Statement::Block() const { in Block()
37 return FindFirstParent<BlockStatement>(); in Block()
H A Dstatement.h28 class BlockStatement;
98 const BlockStatement* Block() const;
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgStatement.cpp41 return dynamic_cast<const BlockStatement*>(state.getStatementStackEntry(stackDepth-1)) != DE_NULL; in isCurrentTopStatementBlock()
57 { getWeight<BlockStatement>, create<BlockStatement> }, in chooseStatement()
139 BlockStatement::BlockStatement (GeneratorState& state) in BlockStatement() function in rsg::BlockStatement
144 void BlockStatement::init (GeneratorState& state) in init()
153 BlockStatement::~BlockStatement (void) in ~BlockStatement()
160 void BlockStatement::addChild (Statement* statement) in addChild()
173 Statement* BlockStatement
[all...]
H A DrsgStatement.hpp88 class BlockStatement : public Statement class
91 BlockStatement (GeneratorState& state);
92 virtual ~BlockStatement (void);
94 BlockStatement (void) : m_numChildrenToCreate(0) {} in BlockStatement() function in rsg::BlockStatement
H A DrsgShader.hpp51 BlockStatement& getBody (void) { return m_functionBlock; } in getBody()
52 const BlockStatement& getBody (void) const { return m_functionBlock; } in getBody()
61 BlockStatement m_functionBlock;
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dcompound_statement_test.cc44 EXPECT_EQ(s->Block(), s->FindFirstParent<sem::BlockStatement>()); in TEST_F()
65 EXPECT_TRUE(s->Is<sem::BlockStatement>()); in TEST_F()
73 EXPECT_EQ(s->Block(), s->FindFirstParent<sem::BlockStatement>()); in TEST_F()
261 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::BlockStatement>()); in TEST_F()
281 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::BlockStatement>()); in TEST_F()
292 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::BlockStatement>()); in TEST_F()
346 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::BlockStatement>()); in TEST_F()
357 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::BlockStatement>()); in TEST_F()
368 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::BlockStatement>()); in TEST_F()
H A Dresolver.h61 class BlockStatement;
116 BlockInfo(const ast::BlockStatement* block, Type type, BlockInfo* parent);
133 ast::BlockStatement const* const block;
209 sem::BlockStatement* BlockStatement(const ast::BlockStatement*);
399 /// sem::BlockStatement.
536 sem::BlockStatement* current_block_ = nullptr;
/third_party/skia/third_party/externals/tint/src/
H A Dprogram_builder.h1828 type, create<ast::BlockStatement>(body),
1851 type, create<ast::BlockStatement>(body),
2027 /// Creates a ast::BlockStatement with input statements
2032 const ast::BlockStatement* Block(const Source& source, in Block()
2034 return create<ast::BlockStatement>( in Block()
2038 /// Creates a ast::BlockStatement with input statements
2042 const ast::BlockStatement* Block(STATEMENTS&&... statements) { in Block()
2043 return create<ast::BlockStatement>( in Block()
2053 const ast::BlockStatement* body) { in Else()
2061 const ast::ElseStatement* Else(const ast::BlockStatement* bod
[all...]

Completed in 24 milliseconds

123